[NTG-context] \vskip-\baselineskip after section header in mkIV

Taco Hoekwater taco at elvenkind.com
Mon May 24 08:11:11 CEST 2010


Hans Hagen wrote:
> On 22-5-2010 9:53, Vianney le Clément wrote:
>> Hello,
>>
>> \vskip-\baselineskip behaves strangely when put after a section
>> header. Here is a minimal example.
>>
>> \setuphead[subject][after=]
>> \starttext
>> \subject{Header}
>> \vskip-\baselineskip
>> Text
>> \stoptext
>>
>> One would expect to have "Header" overprinted by "Text". This is the
>> case in mkII, but not in mkIV where we get "Header" followed by "Text"
>> on the same line. Is this a bug or a feature?
>> Also interesting is when you add \setuphead[subject][style=] in the
>> preample, then the behavior is like mkII.
>>
>> BTW, if you wonder why I'm using this, I want to put some additional
>> info on the right side of the title when there is room left. Otherwise
>> it should be put just below.
> 
> weird indeed ...

This appears to be a bug in the luatex pdf backend.

Best wishes,
Taco



More information about the ntg-context mailing list