Re: [NTG-context] Interlinespace in headertexts

2010-03-28 Thread Willi Egger

Thanks Luigi, problema risolto!

Willi
On 27 Mar 2010, at 04:38, luigi scarso wrote:


\setupinterlinespace%


___
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
___


Re: [NTG-context] Interlinespace in headertexts

2010-03-28 Thread Willi Egger
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
__ 
_


___
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
___


Re: [NTG-context] Interlinespace in headertexts

2010-03-27 Thread 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.

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
___


Re: [NTG-context] Interlinespace in headertexts

2010-03-27 Thread luigi scarso
On Sat, Mar 27, 2010 at 3:17 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com 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.

\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
___
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
___


Re: [NTG-context] Interlinespace in headertexts

2010-03-27 Thread Wolfgang Schuster

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

___
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
___


Re: [NTG-context] Interlinespace in headertexts

2010-03-27 Thread luigi scarso
On Sat, Mar 27, 2010 at 4:15 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 ???
TeX in \ConTeXt ?
-- 
luigi
___
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
___


[NTG-context] Interlinespace in headertexts

2010-03-26 Thread 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?

Using LuaTeX, Version beta-0.50.0-2009122422, ConTeXt  ver:  
2010.03.02 12:34 MKIV


Minimal example attached.

Willli

test-vbox.pdf
Description: Adobe PDF document


test-vbox.tex
Description: Binary data
___
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
___


Re: [NTG-context] Interlinespace in headertexts

2010-03-26 Thread luigi scarso
On Fri, Mar 26, 2010 at 11:33 PM, Willi Egger w.eg...@boede.nl wrote:
 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;
try
\def\Header{\setupinterlinespace%
\vbox{%
Willi\par
Maasstraat 2\par
5836 BB Sambeek}}

-- 
luigi
___
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
___