On 8/6/21 7:12 PM, Joey McCollum via ntg-context wrote:
Hi,
I'd like to define my own class of heading derived from the "part" heading; in the MWE below, it's called "MyPart".
Hi Joey, these are options for \setuphead[part] (MyPart in your case):
I'd like this heading to have the following features:
* Its title should appear in the ToC, but its number should never be printed in the ToC or in the text.
number=no.
* It should always start on an odd page.
This is the default for \setuphead[part] (only noticeable in doublesided documents).
* Its text should be in a larger size than the text of the body, set in all caps, and set with extra letterspacing.
style is the right option there.
* Most importantly, the title of the heading should appear on its own page without a header or footer. The text of the body should begin on the next odd page.
placehead=yes is required for \setuphead[part]. And also for MyPart. header=empty and footer=emtpy. For the page break before the body text, you need after=\page.
I was hoping to accomplish all of this within the \setuphead command, and it seems like this should be possible, but in the following example, I'm not getting the text of the header at all.
See above. I hope it helps, Pablo -- http://www.ousia.tk