Hi, When setting up a headertext in a \vbox there is no interlinespacing. Placing the same text in a \vbox in the text area there is the default interlinespacing. Is there a simple explanation for this behaviour? Using LuaTeX, Version beta-0.50.0-2009122422, ConTeXt ver: 2010.03.02 12:34 MKIV Minimal example attached. Willli
Hi,
When setting up a headertext in a \vbox there is no interlinespacing. Placing the same text in a \vbox in the text area there is the default interlinespacing. Is there a simple explanation for this behaviour? No I haven't, but when I find similar problems I reset interlienspace;
On Fri, Mar 26, 2010 at 11:33 PM, Willi Egger
Am 26.03.10 23:33, schrieb Willi Egger:
Hi,
When setting up a headertext in a \vbox there is no interlinespacing. Placing the same text in a \vbox in the text area there is the default interlinespacing. Is there a simple explanation for this behaviour? When ConTeXt puts a page together (add headers, footers etc. to the text) it disables interlinespace between all the elements to avoid unwanted vertical space between header, text, footer ...
Because header are added when the page is constructed the disabled interlinespace is active and you get the what you experienced. Normal text is typeset before the page is build and you get therefore the correct interlinespace. Wolfgang
On Sat, Mar 27, 2010 at 3:17 PM, Wolfgang Schuster
Am 26.03.10 23:33, schrieb Willi Egger:
Hi,
When setting up a headertext in a \vbox there is no interlinespacing. Placing the same text in a \vbox in the text area there is the default interlinespacing. Is there a simple explanation for this behaviour?
When ConTeXt puts a page together (add headers, footers etc. to the text) it disables interlinespace between all the elements to avoid unwanted vertical space between header, text, footer ...
Because header are added when the page is constructed the disabled interlinespace is active and you get the what you experienced.
Normal text is typeset before the page is build and you get therefore the correct interlinespace.
\starttext 1·hello\par world 2·hello\par\nointerlineskip world \par %% reset 3·hello\par world %% like 1 \blank 4·hello\par\nointerlineskip\vskip-1.2\lineheight ···world\par\nointerlineskip\vskip-1.2\lineheight ····tonight \vskip 3\lineheight \vbox{\offinterlineskip \input knuth } \stoptext -- luigi
Am 27.03.10 16:01, schrieb luigi scarso:
\starttext 1·hello\par world
2·hello\par\nointerlineskip world \par %% reset 3·hello\par world %% like 1
\blank
4·hello\par\nointerlineskip\vskip-1.2\lineheight ···world\par\nointerlineskip\vskip-1.2\lineheight ····tonight
\vskip 3\lineheight
\vbox{\offinterlineskip \input knuth }
\stoptext
??? Wolfgang
Thanks Wolfgang, this explains indeed the behaviour and as mentioned by Luigi one needs to use \setupinterlinespace to reinvoke the interlinespaceing... Willi On 27 Mar 2010, at 15:17, Wolfgang Schuster wrote:
Am 26.03.10 23:33, schrieb Willi Egger:
Hi,
When setting up a headertext in a \vbox there is no interlinespacing. Placing the same text in a \vbox in the text area there is the default interlinespacing. Is there a simple explanation for this behaviour? When ConTeXt puts a page together (add headers, footers etc. to the text) it disables interlinespace between all the elements to avoid unwanted vertical space between header, text, footer ...
Because header are added when the page is constructed the disabled interlinespace is active and you get the what you experienced.
Normal text is typeset before the page is build and you get therefore the correct interlinespace.
Wolfgang
______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________
participants (3)
-
luigi scarso
-
Willi Egger
-
Wolfgang Schuster