Re: [NTG-context] Two interline space setup troubles

2010-02-14 Thread Philipp Gesang
Hi Vyatceslav,
On 2010-02-13 21:11:34, Vyatcheslav Yatskovsky wrote:
 Hello,
 
 I have some troubles with interline space setup.
 
 1) I want whole document to have medium interline space. When I put
 
 \setupinterlinespace[medium]
 
 in the preample (before \starttext), it has no effect at all. I want
 keep all style definitions in a separate environment module, so how
 to make this setting 'global'?

this is strange, as you can specify line spacing globally using explicit
parameters, e.g.

\setupinterlinespace[line=19pt] 
   
\starttext
\input knuth
\stoptext

this works for me.  The relative dimensions big|small|medium don't have
any noticable effect, though.


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


pgpSL7fpi6uR1.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] Two interline space setup troubles

2010-02-14 Thread Wolfgang Schuster

Am 13.02.10 20:11, schrieb Vyatcheslav Yatskovsky:

Hello,

I have some troubles with interline space setup.

1) I want whole document to have medium interline space. When I put

\setupinterlinespace[medium]

in the preample (before \starttext), it has no effect at all. I want 
keep all style definitions in a separate environment module, so how to 
make this setting 'global'?

You can't use relative interlinespacing in MkIV anymore because
\starttext resets your setting. What you can do is to set a absolute
value with \setupinterlinespace[line=18pt].

2) The inbetween key does not work in the following command:

\definestartstop[example][style={\tfx}, before={\blank[small]}, 
after={\blank[small]}, inbetween={\setupinterlinespace[big]}]


I can write

before={\blank[small]\setupinterlinespace[big]}, 
after={\setupinterlinespace[medium]\blank[small]}


but in this way I hard-code document  interlinespace (i.e., medium) in 
this definition, and this is not elegant solution at all.

\definestartstop
  [example]
  [before={\blank[small]},
   after={\blank[small]},
   style=\tfx,
   commands={\setupinterlinespace[big]}]

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] Two interline space setup troubles

2010-02-13 Thread Vyatcheslav Yatskovsky

Hello,

I have some troubles with interline space setup.

1) I want whole document to have medium interline space. When I put

\setupinterlinespace[medium]

in the preample (before \starttext), it has no effect at all. I want 
keep all style definitions in a separate environment module, so how to 
make this setting 'global'?


2) The inbetween key does not work in the following command:

\definestartstop[example][style={\tfx}, before={\blank[small]}, 
after={\blank[small]}, inbetween={\setupinterlinespace[big]}]


I can write

before={\blank[small]\setupinterlinespace[big]}, 
after={\setupinterlinespace[medium]\blank[small]}


but in this way I hard-code document  interlinespace (i.e., medium) in 
this definition, and this is not elegant solution at all.


Regards,
Vyatcheslav
___
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
___