Re: [NTG-context] \setuptolerance and vertical spacing

2008-08-22 Thread Olivier Guéry
 Thank's
 \setuplayout[grid=yes]
 and
 \setuptolerance[horizontal, stretch]
 do the trick, but once again, I don't understand the logic beside a
 part of context :(

 Cheers,
 O.

I've found an other « trick ».
After the « \starttext »
\brokenpenalty \zerocount
allow last sentence of the page to be hyphenate.

Olivier.



-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
http://nemolivier.blogspot.com
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \setuptolerance and vertical spacing

2008-08-19 Thread Olivier Guéry
Hello,

I'm still trying to play with pdf for my Sony e-reader.
So, I need to setup \setuptolerance
It work's great for the horizontal tolerance but I can't understand
anything about the vertical one :-p

It seems that I can't do anything to force page cutting after
hyphenate at the end of the last line.

I tried fine setting with \widowpenalty, \brokenpenalty, \clubpenalty
'et al' from the « style » documentation at pragma but no effects.

In the documentation I read that I can't use \setuptolerance for both
vertical and horizontal. Is it still true ? (I tried, of course ! No
effects).

Best,
Olivier.


-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
http://nemolivier.blogspot.com
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuptolerance and vertical spacing

2008-08-19 Thread Wolfgang Schuster
On Tue, Aug 19, 2008 at 12:09 PM, Olivier Guéry [EMAIL PROTECTED] wrote:
 Hello,

 I'm still trying to play with pdf for my Sony e-reader.
 So, I need to setup \setuptolerance
 It work's great for the horizontal tolerance but I can't understand
 anything about the vertical one :-p

 It seems that I can't do anything to force page cutting after
 hyphenate at the end of the last line.

 I tried fine setting with \widowpenalty, \brokenpenalty, \clubpenalty
 'et al' from the « style » documentation at pragma but no effects.

 In the documentation I read that I can't use \setuptolerance for both
 vertical and horizontal. Is it still true ? (I tried, of course ! No
 effects).

\setuptolerance[vertical,...]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuptolerance and vertical spacing

2008-08-19 Thread Olivier Guéry
2008/8/19 Wolfgang Schuster [EMAIL PROTECTED]:
 On Tue, Aug 19, 2008 at 12:09 PM, Olivier Guéry [EMAIL PROTECTED] wrote:
 Hello,

 I'm still trying to play with pdf for my Sony e-reader.
 So, I need to setup \setuptolerance
 It work's great for the horizontal tolerance but I can't understand
 anything about the vertical one :-p

 It seems that I can't do anything to force page cutting after
 hyphenate at the end of the last line.

 I tried fine setting with \widowpenalty, \brokenpenalty, \clubpenalty
 'et al' from the « style » documentation at pragma but no effects.

 In the documentation I read that I can't use \setuptolerance for both
 vertical and horizontal. Is it still true ? (I tried, of course ! No
 effects).

 \setuptolerance[vertical,...]

I see this on texshow-web. But I read : « Don't try to combine these
two. » and « in vertical orientation the keywords define a factor
bottomtolerance
which is only used (?) in columns. »
And it's true… if I setup both, only the horizontal one — or the last
one if i setup two lines — seems to be setup (or y don't know the
syntax).

Maybe there's a link with the future vertical-spacing algorithm I read
about here ?

Cheers,
Olivier.

-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
http://nemolivier.blogspot.com
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuptolerance and vertical spacing

2008-08-19 Thread Wolfgang Schuster
On Tue, Aug 19, 2008 at 12:52 PM, Olivier Guéry [EMAIL PROTECTED] wrote:
 2008/8/19 Wolfgang Schuster [EMAIL PROTECTED]:
 On Tue, Aug 19, 2008 at 12:09 PM, Olivier Guéry [EMAIL PROTECTED] wrote:
 Hello,

 I'm still trying to play with pdf for my Sony e-reader.
 So, I need to setup \setuptolerance
 It work's great for the horizontal tolerance but I can't understand
 anything about the vertical one :-p

 It seems that I can't do anything to force page cutting after
 hyphenate at the end of the last line.

 I tried fine setting with \widowpenalty, \brokenpenalty, \clubpenalty
 'et al' from the « style » documentation at pragma but no effects.

 In the documentation I read that I can't use \setuptolerance for both
 vertical and horizontal. Is it still true ? (I tried, of course ! No
 effects).

 \setuptolerance[vertical,...]

 I see this on texshow-web. But I read : « Don't try to combine these
 two. » and « in vertical orientation the keywords define a factor
 bottomtolerance which is only used (?) in columns. »

 And it's true… if I setup both, only the horizontal one — or the last
 one if i setup two lines — seems to be setup (or y don't know the
 syntax).

When you use vertical and horizontal in one setting onely the vertical
setting is used.

 Maybe there's a link with the future vertical-spacing algorithm I read
 about here ?

There is something in core-spa.mkiv.

I think the following thread helps you:
http://archive.contextgarden.net/message/20080208.155131.ab97f37d.en.html

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuptolerance and vertical spacing

2008-08-19 Thread Olivier Guéry
2008/8/19 Wolfgang Schuster [EMAIL PROTECTED]:
 On Tue, Aug 19, 2008 at 12:52 PM, Olivier Guéry [EMAIL PROTECTED] wrote:
 2008/8/19 Wolfgang Schuster [EMAIL PROTECTED]:
 On Tue, Aug 19, 2008 at 12:09 PM, Olivier Guéry [EMAIL PROTECTED] wrote:
 Hello,

 I'm still trying to play with pdf for my Sony e-reader.
 So, I need to setup \setuptolerance
 It work's great for the horizontal tolerance but I can't understand
 anything about the vertical one :-p

 It seems that I can't do anything to force page cutting after
 hyphenate at the end of the last line.

 I tried fine setting with \widowpenalty, \brokenpenalty, \clubpenalty
 'et al' from the « style » documentation at pragma but no effects.

 In the documentation I read that I can't use \setuptolerance for both
 vertical and horizontal. Is it still true ? (I tried, of course ! No
 effects).

 \setuptolerance[vertical,...]

 I see this on texshow-web. But I read : « Don't try to combine these
 two. » and « in vertical orientation the keywords define a factor
 bottomtolerance which is only used (?) in columns. »

 And it's true… if I setup both, only the horizontal one — or the last
 one if i setup two lines — seems to be setup (or y don't know the
 syntax).

 When you use vertical and horizontal in one setting onely the vertical
 setting is used.

 Maybe there's a link with the future vertical-spacing algorithm I read
 about here ?

 There is something in core-spa.mkiv.

 I think the following thread helps you:
 http://archive.contextgarden.net/message/20080208.155131.ab97f37d.en.html

Thank's
\setuplayout[grid=yes]
and
\setuptolerance[horizontal, stretch]
do the trick, but once again, I don't understand the logic beside a
part of context :(

Cheers,
O.



-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
http://nemolivier.blogspot.com
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___