Re: [NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Hans Hagen
On 6/3/2013 6:57 PM, Jan Tosovsky wrote: Dear All, in MkIV when any title is centered, its numeration is placed on a separate line above the title itself. I'd expect inline formatting which could be overridden as described here http://wiki.contextgarden.net/Titles My code:

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread luigi scarso
On Mon, Jun 3, 2013 at 7:08 PM, honyk j.tosov...@email.cz wrote: Dear All, in MkIV when any title is centered, its numeration is placed on a separate line above the title itself. I'd expect inline formatting which could be overridden as described here http://wiki.contextgarden.net/Titles

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread Marco Patzer
On 2013–06–03 honyk wrote: How can I keep numeration and title together? You can create a custom head alternative. The following code is copied from the source, I only replace the \par with \kern\headnumberdistance. Have a look at strc-ren.mkiv for other layouts. \setuphead [section]

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
Marco, thanks a lot, it gives me exactly what I wanted! But to be honest, I expected a single option for this :-) Jan On 2013–06–03 honyk wrote: How can I keep numeration and title together? You can create a custom head alternative. The following code is copied from the source, I only

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread luigi scarso
On Mon, Jun 3, 2013 at 8:07 PM, honyk j.tosov...@email.cz wrote: Marco, thanks a lot, it gives me exactly what I wanted! But to be honest, I expected a single option for this :-) \setuplabeltext[en][chapter=Chapter~] % while for chapter title this line break is handy (in my use case)

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
Dear Luigi, On Mon, Jun 3, 2013 at 7:08 PM, honyk j.tosov...@email.cz wrote: Dear All, in MkIV when any title is centered, its numeration is placed on a separate line above the title itself. I'd expect inline formatting which could be overridden as described here

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread Wolfgang Schuster
Am 03.06.2013 um 20:28 schrieb luigi scarso luigi.sca...@gmail.com: numbercommand=\groupedcommand{\cap}{\blank[0.5cm]}, But again, are you sure about the \cap command ? It also sets the CHAPTER as small caps . Formatting numbers as smallcaps/fake caps doesn’t make much sense :)

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread luigi scarso
On Mon, Jun 3, 2013 at 8:51 PM, honyk j.tosov...@email.cz wrote: Dear Luigi, The problematic part is that section title. The chapter title formatting is Ok (but thanks for showing the way how to deal with these cases for future uses). Applying deepnumbercommand to section didn't help to

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
Luigi, The problematic part is that section title. The chapter title formatting is Ok (but thanks for showing the way how to deal with these cases for future uses). Applying deepnumbercommand to section didn't help to me... I've used align=middle instead of alternative=middle in