[NTG-context] Chapter name in new line

2011-06-04 Thread Marco
How can I get the chapter name in a new line, like: Chapter 1 Foo Bar The following yields to “Chapter1Foo Bar”. \setuplabeltext [en] [chapter=Chapter~] \def\MyChapter#1#2{#1\blank#2} \setuphead [chapter] [command=\MyChapter] \starttext \chapter{Foo Bar} \stoptext Marco

Re: [NTG-context] Chapter name in new line

2011-06-04 Thread Wolfgang Schuster
Am 04.06.2011 um 16:24 schrieb Marco: How can I get the chapter name in a new line, like: Chapter 1 Foo Bar The following yields to “Chapter1Foo Bar”. \setuplabeltext [en] [chapter=Chapter~] \def\MyChapter#1#2{#1\blank#2} \define[2]\MyChapter

Re: [NTG-context] Chapter name in new line

2011-06-04 Thread luigi scarso
On Sat, Jun 4, 2011 at 4:24 PM, Marco net...@lavabit.com wrote: How can I get the chapter name in a new line, like: Chapter 1 Foo Bar The following yields to “Chapter1Foo Bar”. \setuplabeltext [en] [chapter=Chapter~] \def\MyChapter#1#2{#1\blank#2} \setuphead [chapter]

Re: [NTG-context] Chapter name in new line

2011-06-04 Thread Marco
If you don't want to use framedtext (cfr wolfgang) \setuplabeltext [en] [chapter=Chapter~] \def\MyChapter#1#2{\vbox{#1\blank#2}} \setuphead [chapter] [command=\MyChapter] \starttext \chapter{Foo Bar} \stoptext Thanks to both of you. Added to the wiki. Marco