Henning Hraban Ramm schrieb am 11.01.2020 um 18:53:
Hi again, I’m trying to get uppercase titles with \WORD, but they aren’t broken into lines; while \WORD works in normal text. What’s the matter?
ConTeXt uses a horizontal box to place the section title which doesn't matter when you use one of the predefined layouts because they add a vertical box for the text to allow long texts.
When you use the command key to create your own layout you have to add a vertical box, otherwise all text is placed in a single line.
While you can use a custom layout to create an uppercase title the easier way is to use the style key.
\setuphead [chapter] [number=no, %style={\setcharactercasing[WORD]}] style=WORD] \starttext \chapter{\samplefile{weisman}} \WORD{\samplefile{weisman}} \stoptext Wolfgang ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________