T.R | Title | User | Personal Name | Date | Lines |
---|
713.1 | Try these | CLOSET::SEGAL | | Mon Jul 27 1987 17:02 | 14 |
| You need to modify design parameters for numbered examples (\numex...).
Settings used by TEX$S_HANDBOOK.DESIGN seem very close to your
design requirements (numbers and text at the text margin rather
than hanging left, into the gutter). Try these for starters:
%
\numexmargin=0pc % don't put examples in gutter
\numexboxwd=\blockindent % allow this much space for numbers
\def\numexblockindent{1} % start nums and/or code part here
\def\numexplainindent{1} % start text here
Lee
|
713.2 | Still doesn't work.... | PSYCHE::GRANT | I've saved $951.00 since I quit smoking. | Wed Jul 29 1987 09:30 | 2 |
| Thanks for the reply Lee. I tried it and it didn't work. I'm still stumped.
I'll keep trying, but I sure could use some help on this one.
|
713.3 | More info please | VAXUUM::SEGAL | | Wed Jul 29 1987 10:15 | 2 |
| What doctype are you using as a basis for your design?
How are you adding the code I provided?
|
713.4 | More info.... | PSYCHE::GRANT | I've saved $951.00 since I quit smoking. | Wed Jul 29 1987 12:27 | 55 |
| The doctype (I inherited) is based on the old VMSREF doctype. It uses
TAG$SOFTWARE for tag definitions and TEX$STANDARD_FONTS. Here's what the
codexample and numex code looks like now. I've been trying all sorts of
combinations with no luck.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Set font and parameter values for code examples
%
\let\codexamplefont=\ninepointmono % for code example text
\precodexamplevskip=20pt
\postcodexamplevskip=24pt
\codexampleindent=\gutterwidth
\let\codexampleintextfont=\ninepointmono
\asisinterlinepenalty=5000 % tolerance for page breaking
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Numbered examples
%
\def\numberedexamplehead#1#2{%
\ifreferencecontext
\hungexheadone{#1}%
\else
\subheadone{0}{#1}%
\paravskiptrue % set this vskip
\fi
}
%
% \numberedexintro redefined to undo the effects of \hunexheadone (which
% exists to make sure that space is output correctly before the first
% numbered example.
\gdef\numberedexintro#1{%
\ifreferencecontext
\kern-\baselineskip\block{#1}%undo hungexheadone
\else\paragraph{1}\fi
}
\prenumexamplevskip=14pt
\postnumexamplevskip=20pt
%\numexmargin=\gutterwidth
\numexmargin=4.0pc % don't put examples in gutter
\numexboxwd=\blockindent % allow this much space for numbers
\def\numexblockindent{2} % start nums and/or code part here
\def\numexplainindent{2} % start text here
%
As you can see, I've been playing around with what you gave me. I have yet to
see any change in my output.
If you'd like, send me mail, I can make the .DESIGN file and a test .SDML
file available.
Thanks again....
Wayne
|
713.5 | \WIDE really means WIDE.... | PSYCHE::GRANT | I've saved $984.00 since I quit smoking. | Thu Aug 20 1987 13:23 | 7 |
| Thanks for the help Lee, Patti....
To let others know what happened, it turned out the the \WIDE attribute had
been used in the .SDML file. This overrode all the changes I was trying to
handle in the .DESIGN file. All is OK now.
Wayne
|