Am 30.07.10 19:30, schrieb Henning Hraban Ramm:
(MkIV, latest beta)
I'm trying to get a title page for book parts:
\def\FPart#1#2{#2}
\setupheads [align=right, tolerance=verytolerant, before=\nohyphen\startlinecorrection, after=\stoplinecorrection, number=no] \setuphead[part][command=\FPart, page=right, style={\bfc}]
\part{My First Part}
But the page is empty, also without "command", also with a suitable "textcommand", also without "style". \setuphead[part][placehead=yes]
To disable hyphenation in headers you can set 'align={right,nothyphenated}'.
Next problem: In my ToC I get "Part My First Part". (Or "Part 1 My First Part", if I enable the number.) How can I suppress that piece of text ("Part")?
\setuplist[part][label=no]
Generally, what's the best approach to get a fixed font size for some titles, e.g. the part title should have 64 pt. Should I use \setuphead[part][before={\switchtobodyfont[64pt]}] ? \definefont[PartStyle][Serif sa 64pt]
\setuphead[part][style=PartStyle] Wolfgang