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. Also, while on the subject of sectionblocks, there should be some way of defining \startsectionblockenvironment[bodypart] \setuplist[chapter][label=yes] \stopsectionblockenvironment Presently, this does not work, and simply setting \setuplist[chapter][label=yes] will, of course, put the label ("Chapter") everywhere in the table of contents including frontmatter and backmatter, that is if one also redefines \setuplabeltext[chapter=Chapter ] % with trailing space as this is, curiously, blank by default. Alan