Re: [NTG-context] \setupinterlinespace questions

2011-01-16 Thread Florian Wobbe
>> thanks for pointing me into the right direction. This did not work at first 
>> ether but it was my fault. I had \setupinterlinespace[big] before 
>> \setupbodyfont. This will reset the interlinespace. However, 
>> \setupinterlinespace[line=1.7em] before \setupbodyfont works.
>> 
>> Still, \setupinterlinespace[big] does not change anything in the publication 
>> list.
> 
> You have to make a distinction between a absolute and a relative value for 
> the interlinespace.
> 
> With \setupinterlinespace[line=12pt] you set a fixed value of “12pt” for the 
> distance between lines while \setupinterlinespace[big] use these value and 
> multiplies it by the factor “1.5”. When you place a register (e.g. your 
> bibliography) context goes back to the fixed value for the interlinespace and 
> the factor is ignored.

Thanks for the explanation, I didn't know that the scale factor is ignored in 
the bibliography intentionally.

> When you want the bigger linedistance for your whole document change the 
> absolute value to 4.2ex (the default value from context is 2.8 multiplied by 
> 1.5 from big).

All right, I will do that.

Florian

___
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] \setupinterlinespace questions

2011-01-16 Thread Wolfgang Schuster

Am 16.01.2011 um 11:17 schrieb Florian Wobbe:

> thanks for pointing me into the right direction. This did not work at first 
> ether but it was my fault. I had \setupinterlinespace[big] before 
> \setupbodyfont. This will reset the interlinespace. However, 
> \setupinterlinespace[line=1.7em] before \setupbodyfont works.
> 
> Still, \setupinterlinespace[big] does not change anything in the publication 
> list.

You have to make a distinction between a absolute and a relative value for the 
interlinespace.

With \setupinterlinespace[line=12pt] you set a fixed value of “12pt” for the 
distance between lines while \setupinterlinespace[big] use these value and 
multiplies it by the factor “1.5”. When you place a register (e.g. your 
bibliography) context goes back to the fixed value for the interlinespace and 
the factor is ignored. When you want the bigger linedistance for your whole 
document change the absolute value to 4.2ex (the default value from context is 
2.8 multiplied by 1.5 from big).

>> Can you make a example.
> 
> Please see attached files. Apart from the wrong interline spacing in the 
> references section, there is also a missing citation (ELECTRONIC: hh2010).


No idea, wait for the bib experts on the list.

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] \setupinterlinespace questions

2011-01-16 Thread Florian Wobbe
>> Hmm, does not seem to work here. I have following setup:
>> 
>> \environment env_draft % <-- setting \setupinterlinespace[big] here
>> \startproduct
>> %\setupinterlinespace[big] % works except for references when uncommented
> 
> \startproduct 
> 
> \environment env_draft
> 
> \setupinterlinespace % can be moved to the environment file
> 
>> \input chapters
>> \usepublications[publications]
>> \placepublications
>> \stopproduct
>> 
>> \placepublications seems to reset linespacing as well.

Wolfgang,

thanks for pointing me into the right direction. This did not work at first 
ether but it was my fault. I had \setupinterlinespace[big] before 
\setupbodyfont. This will reset the interlinespace. However, 
\setupinterlinespace[line=1.7em] before \setupbodyfont works.

Still, \setupinterlinespace[big] does not change anything in the publication 
list.

> Can you make a example.

Please see attached files. Apart from the wrong interline spacing in the 
references section, there is also a missing citation (ELECTRONIC: hh2010).

Best,
Florian


env_linespacing.tex
Description: Binary data


linespacing.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] \setupinterlinespace questions

2011-01-11 Thread Wolfgang Schuster

Am 10.01.2011 um 22:57 schrieb Florian Wobbe:

> b) Is there a possibility to use relative sizes like 
> \setupinterlinespace[2*big] (which does not work)?
 
 You can write \setupinterlinespace[3].
>>> 
>>> Thanks!
>>> 
>>> Why can't I put \setupinterlinespace[3] or \setupinterlinespace[big] in the 
>>> preamble? They only take effect inside \start... \stop...
>> 
>> \setupinterlinespace is reset with \starttext, when you don’t like
>> setup-commands after \starttext use \startproduct.
> 
> Hmm, does not seem to work here. I have following setup:
> 
> \environment env_draft % <-- setting \setupinterlinespace[big] here
> \startproduct
> %\setupinterlinespace[big] % works except for references when uncommented

\startproduct 

\environment env_draft

\setupinterlinespace % can be moved to the environment file

> \input chapters
> \usepublications[publications]
> \placepublications
> \stopproduct
> 
> \placepublications seems to reset linespacing as well.

Can you make a example.

BTW: \startproduct takes the filename as argument, please add it.

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] \setupinterlinespace questions

2011-01-10 Thread Florian Wobbe
> Hi Florian,
> 
> can I interest you in some columnsets?
> 
> ··8<·
> 
> \definecolumnset[three][n=3]
> \starttext
> \startcolumnset[three]
> \setupinterlinespace[small]
> \input knuth
> \column
> \setupinterlinespace[medium]
> \input knuth
> \column
> \setupinterlinespace[big]
> \input knuth
> \stopcolumnset
> \stoptext
> 
> ··8<·
> 
> This should get you even columns.

Great, thank you!

Florian

___
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] \setupinterlinespace questions

2011-01-10 Thread Philipp Gesang
On 2011-01-10 <20:41:23>, Florian Wobbe wrote:
> Hi,
> 
> a) this minimal example does not work as expected. The first column is not 
> justified correctly on top. This does not change, even when swapping small, 
> big, medium (e.g. make 1st col medium and 2nd small). The offset stays the 
> same regardless of the linespacing.
> 
> \starttext
> \startcolumns[n=3]
> \setupinterlinespace[small]
> \input knuth
> \column
> \setupinterlinespace[medium]
> \input knuth
> \column
> \setupinterlinespace[big]
> \input knuth
> \stopcolumns
> \stoptext



Hi Florian,

can I interest you in some columnsets?

··8<·

\definecolumnset[three][n=3]
\starttext
\startcolumnset[three]
\setupinterlinespace[small]
\input knuth
\column
\setupinterlinespace[medium]
\input knuth
\column
\setupinterlinespace[big]
\input knuth
\stopcolumnset
\stoptext

··8<·

This should get you even columns.

(Btw, there’s also “\setuplocalinterlinespace” which behaves the
same as “\setupinterlinespace” except for some magic it does to
selected dimensions, see spac-ver.mkiv.)

Regards, Philipp




> 
> b) Is there a possibility to use relative sizes like 
> \setupinterlinespace[2*big] (which does not work)?
> 
> Best,
> Florian
> 
> ___
> 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
> ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpN7VwY539uR.pgp
Description: PGP signature
___
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] \setupinterlinespace questions

2011-01-10 Thread Florian Wobbe
 b) Is there a possibility to use relative sizes like 
 \setupinterlinespace[2*big] (which does not work)?
>>> 
>>> You can write \setupinterlinespace[3].
>> 
>> Thanks!
>> 
>> Why can't I put \setupinterlinespace[3] or \setupinterlinespace[big] in the 
>> preamble? They only take effect inside \start... \stop...
> 
> \setupinterlinespace is reset with \starttext, when you don’t like
> setup-commands after \starttext use \startproduct.

Hmm, does not seem to work here. I have following setup:

\environment env_draft % <-- setting \setupinterlinespace[big] here
\startproduct
%\setupinterlinespace[big] % works except for references when uncommented
\input chapters
\usepublications[publications]
\placepublications
\stopproduct

\placepublications seems to reset linespacing as well.

Setting \setupinterlinespace[line=1.7em] works throughout the document.

Florian

___
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] \setupinterlinespace questions

2011-01-10 Thread Wolfgang Schuster

Am 10.01.2011 um 22:36 schrieb Florian Wobbe:

>>> b) Is there a possibility to use relative sizes like 
>>> \setupinterlinespace[2*big] (which does not work)?
>> 
>> You can write \setupinterlinespace[3].
> 
> Thanks!
> 
> Why can't I put \setupinterlinespace[3] or \setupinterlinespace[big] in the 
> preamble? They only take effect inside \start... \stop...

\setupinterlinespace is reset with \starttext, when you don’t like
setup-commands after \starttext use \startproduct.

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] \setupinterlinespace questions

2011-01-10 Thread Florian Wobbe
>> b) Is there a possibility to use relative sizes like 
>> \setupinterlinespace[2*big] (which does not work)?
> 
> You can write \setupinterlinespace[3].

Thanks!

Why can't I put \setupinterlinespace[3] or \setupinterlinespace[big] in the 
preamble? They only take effect inside \start... \stop...

Florian

___
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] \setupinterlinespace questions

2011-01-10 Thread Wolfgang Schuster

Am 10.01.2011 um 20:41 schrieb Florian Wobbe:

> b) Is there a possibility to use relative sizes like 
> \setupinterlinespace[2*big] (which does not work)?

You can write \setupinterlinespace[3].

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
___


[NTG-context] \setupinterlinespace questions

2011-01-10 Thread Florian Wobbe
Hi,

a) this minimal example does not work as expected. The first column is not 
justified correctly on top. This does not change, even when swapping small, 
big, medium (e.g. make 1st col medium and 2nd small). The offset stays the same 
regardless of the linespacing.

\starttext
\startcolumns[n=3]
\setupinterlinespace[small]
\input knuth
\column
\setupinterlinespace[medium]
\input knuth
\column
\setupinterlinespace[big]
\input knuth
\stopcolumns
\stoptext

b) Is there a possibility to use relative sizes like 
\setupinterlinespace[2*big] (which does not work)?

Best,
Florian

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