[NTG-context] goto(box) and setuplist questions

Alan Stone software.list.1es9s at gmail.com
Tue Aug 5 13:07:17 CEST 2008


Thanks for these finishing touches Wolfgang.

I'm troubled by the following though...

- whatever the dimension (number and/or unit) I set for
\setupnarrower[left=1pt,right=1pt]
the left and right margin remain the same

- when setting for example
\setuplist[chapter][align=middle,distance=1em]
( or whatever else for distance ) it has no effect
upon the distance between the chapter number
and the chapter title

ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english

Alan

On Tue, Aug 5, 2008 at 10:29 AM, Wolfgang Schuster <
schuster.wolfgang at googlemail.com> wrote:

>
> Slightly modfied:
>
> \setuppapersize[S6][S6]
>
> \setupbodyfont[14.4pt]
>
> \setuplayout
>  [width=360pt,
>   headerheight=7pt,
>   footerheight=7pt,
>   margin=0pt,
>   backspace=25pt,
>   topheight=7pt,
>   bottomheight=7pt,
>   rightedgedistance=20pt,
>   rightedge=180pt]
>
> \setuplist[chapter,section][aligntitle=yes,criterium=all]
> \setuplist[chapter][align=middle]
>
> \setuphead[chapter][number=yes]
> \setuphead[section][number=no]
>
> \setupbackgrounds[text][rightedge][frame=on]
>
> \setupinteraction[
>    state=start,
>    menu=on,
>    page=yes]
>
> \setupnarrower[left=1pt,right=1pt]
>
> \defineinteractionmenu[myMenu][right]
>
> \startinteractionmenu[myMenu]
>  \placecontent[
>     criterium=all,
>     alternative=b,
>      style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]},
>     interaction=all,
>     before={\blank[small]\startnarrower},
>     after={\stopnarrower\blank[medium]},
>     ]
> \stopinteractionmenu
>
> \setupinteractionmenu[myMenu][state=start]
>
> \setupinteractionmenu[right][distance=overlay]
>
> \starttext
>    \chapter{This Long Chapter Title}
>    \section{This Long Section Title A}
>    \input knuth
>    \section{This Long Section Title B}
>    \input zapf
> \stoptext
>
> Wolfgang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20080805/066a3cf3/attachment.html 


More information about the ntg-context mailing list