On 4/7/2016 5:42 AM, Zhichu Chen wrote:
Hi,
I found the empty line is due to the definition of
\strc_rendering_place_head_empty in strc-ren.mkiv:
====================
\unexpanded\def\strc_rendering_place_head_empty
{\hbox \headreferenceattributes {\getheadsyncs}}
====================
The definition in strc-sec.mkiv works fine (put the following lines just
before \starttext)
====================
\unexpanded\def\strc_rendering_place_head_empty
{\setheadmarking
\getheadsyncs}
====================
Isn't that a bug?
no, (one can argue that it should be exactly one line heigh but that
would break existing code)
this trickery is to make sure that hyperlink and list entries still work ok
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________