Alan BRASLAU wrote:
On Monday 14 June 2010 08:52:16 Taco Hoekwater wrote:
Vyatcheslav Yatskovsky wrote:
...or preventing startbodymatter from making new page. \setupsectionblock[bodypart][page=no]
or
\setupsectionblock[frontpart][page=no]
(I don't remember whether this is executed at the end or the begin of the block).
This is much more elegant than \subject{Whatever} \writelist[section]{}{Whatever} repeating "Whatever" twice.
I will repeat here the suggestion, seconded by others, of parsing \section[number=no]{Whatever} to be used notably within \startbodypart...\stopbodypart Note that an unnumbered \section vs. \subject do not fill exactly the same need.
Actually, I almost never use \writetolist myself, but then I usually have special sectioning commands (in larger documents): \definehead[Usection][section] \setuphead[Usection][number=no] \Usection{...} This could be wrapped in a macro if you want key=value parsing. Best wishes, Taco