On Wed, Aug 6, 2008 at 4:15 PM, Alan Stone
On Wed, Aug 6, 2008 at 3:26 PM, Wolfgang Schuster
wrote: Depends on the situation, for left aligned numbers it didn't matter because you can't see where the space comes from (1) but for right aligned numbers you need a postive value for distance (2).
(1) Left aligned number:
\starttext \bTABLE[frame=off] \bTR\bTD[width=1cm] 1 \eTD\bTD header \eTD\eTR \eTABLE \bTABLE[frame=off,distance=5mm] \bTR\bTD[width=5mm] 1 \eTD\bTD header \eTD\eTR \eTABLE \stoptext
(2) Right aligned number:
\starttext \bTABLE[frame=off] \bTR\bTD[width=1cm,align=flushright] 1 \eTD\bTD header \eTD\eTR \eTABLE \bTABLE[frame=off,distance=5mm] \bTR\bTD[width=5mm,align=flushright] 1 \eTD\bTD header \eTD\eTR \eTABLE \stoptext
I'm impressed...
So you really have an MBA in Klingon! :O)
Hans wrote:
- maxwidth ?
just try it on long entries .. it prevents too long lines
this is a very long entry this is a very ...
Ok I see. Now, in \placecontent or \setuplist, which parameter allows to influence where long lines are cut off in two (or more) ?
Like...
(number) This long long chapter title (pagenumber)
vs.
(number) This long long chapter title (pagenumber)
Using the brute force tactic I tried setting width and textwith which didn't work. It could be textcommand. If so what does \command#1 mean ( see main manual pg 150 ) ?
The effect for maxwidth (3cm in my example) is this:
\starttext \limitatetext {This long long chapter title} {3cm} {\unknown} \stoptext
I just tried with
style={\switchtobodyfont[small]\setuplinewidth[(x)pt]\setupinterlinespace[line=2.4ex]}
and several values for (x) in
\startinteractionmenu[myMenu] \placecontent[ criterium=all, alternative=b, % style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]},
style={\switchtobodyfont[small]\setuplinewidth[150pt]\setupinterlinespace[line=2.4ex]}, interaction=all, before={\blank[small]\startnarrower[left,right]}, after={\stopnarrower\blank[medium]}] \stopinteractionmenu
but that generates a compile error. Grrr...
Was the empty line also in your source, if your answer is yes remove it. Wolfgang