Thank you!
Am 2010-07-30 um 22:37 schrieb Wolfgang Schuster:
I'm trying to get a title page for book parts:
But the page is empty, also without "command", also with a suitable
"textcommand", also without "style".
\setuphead[part][placehead=yes]
Good
To disable hyphenation in headers you can set
'align={right,nothyphenated}'.
Even better ;-)
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]
also good
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]
That doesn't work. I get:
structure : part @ level 1 : 1 -> Märchen
! Missing number, treated as zero.
<to be read again>
\edef
\lowleveldefinefont ... \scaledfontsize \fi \edef
\somefontspec {at
\number ...
\dododefinefont ...inefont {#2}\rawfontidentifier
\csname
\rawfontidentifier...
\dosetfontattribute ...me #1...@ea \endcsname \fi
\empty
\doplacestructureheadtext ...ucturehead }\c!style
\structureheadparameter \c...
\dohandlestructurehead ...\placestructureheadtext
\fi
\dostructureheadspacin...
l.9 \part{Märchen}
Did you mean "Serif at 64pt"? That works.
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@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
___________________________________________________________________________________