[NTG-context] Hanging indents

Tom Tom at tuxedo-press.com
Tue Apr 6 00:42:34 CEST 2010


Thanks, Wolfgang. That did it. Because I wasn't using a section, I didn't
pay attention to the indentnext=yes.
The numbercommand is an artifact leftover from code used for numbered
chapters that I neglected to delete. 

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey




-----Original Message-----
From: ntg-context-bounces at ntg.nl [mailto:ntg-context-bounces at ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Monday, April 05, 2010 6:30 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Hanging indents

Am 06.04.10 00:19, schrieb Tom:
> Aditya,
>
> It took me awhile to sort through all the code to find what was creating
the
> problem. It appears that the code for the first page of a chapter is the
> culprit but I don't know why it's causing the problem.
>
> \definepagebreak[mychapterpagebreak][yes,header,right]  %eliminates
headers
> on blank pages
>    
You change the style of the number but suppress it in the output,
i guess there is some reason for this and i don't understand it.
> \def\ChapterTitle#1#2{
>     \centerline{\switchtobodyfont[ChapterStart,18pt]{\ss\bf #2}}
>     \godown[.5in]}
>
> \setuphead[chapter]
>    [command= \ChapterTitle,textstyle=bold,header=empty,footer=empty,
>    page=mychapterpagebreak,
>    numbercommand={\switchtobodyfont[big]{\ss\sl}}]
>    
\setuphead[chapter][indentnext=yes] but i think the setup is used
here http://wiki.contextgarden.net/Shaped_paragraphs just for fun.

Wolfgang

____________________________________________________________________________
_______
If your question is of interest to others as well, please add an entry to
the Wiki!

maillist : ntg-context at ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
____________________________________________________________________________
_______




More information about the ntg-context mailing list