Andreas Harder wrote:
Hello,

I found another funny effect. Please look at the following example:

\setuplayout[header=\lineheight,headerdistance=\lineheight]
\setupinterlinespace[line=18pt]
\setupdelimitedtext[blockquote][style={\tfx\setupinterlinespace[line=2.8ex]}]
\setupheader[style=\tfxx] % strut=yes

\setupheadertexts[chapter][section] % try this
% \setupheadertexts[\setups{head}]  % or this

\startsetups[head]
  \framed
    [width=broad,strut=yes,height=\lineheight,framecolor=red]
    {\getmarking[chapter]\hfill\getmarking[section]}
\stopsetups

\starttext  \showstruts  \showframe[text]
\chapter{ÄÖÜy}  \section{ÄÖÜy}
\dorecurse{3}{%
  \dorecurse{3}{\input tufte \par}
  \startblockquote
    \dorecurse{3}{\input tufte \par}
  \stopblockquote}
\stoptext

Can you see the header jumping? What can one do to avoid this behavior?

kind of tricky ... i uploaded a beta where you can say:

\setupdelimitedtext[blockquote][style={\tfx\switchtointerlinespace[line=2.8ex]}]

(analogue to \switchtobodyfont it is kind of local)


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | 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
___________________________________________________________________________________

Reply via email to