ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setuptolerance and vertical spacing
@ 2008-08-19 10:09 Olivier Guéry
  2008-08-19 10:18 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Olivier Guéry @ 2008-08-19 10:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \setuptolerance and vertical spacing
  2008-08-19 10:09 \setuptolerance and vertical spacing Olivier Guéry
@ 2008-08-19 10:18 ` Wolfgang Schuster
  2008-08-19 10:52   ` Olivier Guéry
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2008-08-19 10:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Aug 19, 2008 at 12:09 PM, Olivier Guéry <nemolivier@gmail.com> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \setuptolerance and vertical spacing
  2008-08-19 10:18 ` Wolfgang Schuster
@ 2008-08-19 10:52   ` Olivier Guéry
  2008-08-19 11:37     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Olivier Guéry @ 2008-08-19 10:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2008/8/19 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
> On Tue, Aug 19, 2008 at 12:09 PM, Olivier Guéry <nemolivier@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \setuptolerance and vertical spacing
  2008-08-19 10:52   ` Olivier Guéry
@ 2008-08-19 11:37     ` Wolfgang Schuster
  2008-08-19 21:44       ` Olivier Guéry
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2008-08-19 11:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Aug 19, 2008 at 12:52 PM, Olivier Guéry <nemolivier@gmail.com> wrote:
> 2008/8/19 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>> On Tue, Aug 19, 2008 at 12:09 PM, Olivier Guéry <nemolivier@gmail.com> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \setuptolerance and vertical spacing
  2008-08-19 11:37     ` Wolfgang Schuster
@ 2008-08-19 21:44       ` Olivier Guéry
  2008-08-22 14:43         ` Olivier Guéry
  0 siblings, 1 reply; 6+ messages in thread
From: Olivier Guéry @ 2008-08-19 21:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2008/8/19 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
> On Tue, Aug 19, 2008 at 12:52 PM, Olivier Guéry <nemolivier@gmail.com> wrote:
>> 2008/8/19 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>>> On Tue, Aug 19, 2008 at 12:09 PM, Olivier Guéry <nemolivier@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \setuptolerance and vertical spacing
  2008-08-19 21:44       ` Olivier Guéry
@ 2008-08-22 14:43         ` Olivier Guéry
  0 siblings, 0 replies; 6+ messages in thread
From: Olivier Guéry @ 2008-08-22 14:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-22 14:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-19 10:09 \setuptolerance and vertical spacing Olivier Guéry
2008-08-19 10:18 ` Wolfgang Schuster
2008-08-19 10:52   ` Olivier Guéry
2008-08-19 11:37     ` Wolfgang Schuster
2008-08-19 21:44       ` Olivier Guéry
2008-08-22 14:43         ` Olivier Guéry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).