Re: [NTG-context] Setuptolerance vs setupalign
denis.ma...@ub.unibe.ch schrieb am 02.03.2021 um 11:50: Ok, so this combination will disable tolerant and stretch again? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging] Or will it be preserved? The tolerance settings remain. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setuptolerance vs setupalign
Ok, so this combination will disable tolerant and stretch again? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging] Or will it be preserved? Denis > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Dienstag, 2. März 2021 11:49 > An: mailing list for ConTeXt users ; Maier, Denis > Christian (UB) > Betreff: Re: [NTG-context] Setuptolerance vs setupalign > > On 3/2/2021 11:40 AM, denis.ma...@ub.unibe.ch wrote: > > Hi, > > > > I've just noticed that it's possible to do > > > > \setupalign [tolerant,stretch] > > > > and > > > > \setuptolerance [tolerant,stretch] > > > > Are these equivalent? > > > > Will this here have the desired effect? > > > > \setuptolerance[tolerant,stretch] > > > > \setupalign[hz,hanging] > > > > Or will \setupalign overwrite the tolerance settings? > both overwrite ... same underlying code ... at some point it made sense to > support the tolerance keys in align (which is often an option in environments > and commands) > > Hans > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setuptolerance vs setupalign
On 3/2/2021 11:40 AM, denis.ma...@ub.unibe.ch wrote: Hi, I’ve just noticed that it’s possible to do \setupalign [tolerant,stretch] and \setuptolerance [tolerant,stretch] Are these equivalent? Will this here have the desired effect? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging] Or will \setupalign overwrite the tolerance settings? both overwrite ... same underlying code ... at some point it made sense to support the tolerance keys in align (which is often an option in environments and commands) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Setuptolerance vs setupalign
Hi, I've just noticed that it's possible to do \setupalign [tolerant,stretch] and \setuptolerance [tolerant,stretch] Are these equivalent? Will this here have the desired effect? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging] Or will \setupalign overwrite the tolerance settings? Best, Denis ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptolerance and vertical spacing
> 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 ___
Re: [NTG-context] \setuptolerance and vertical spacing
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 ___
Re: [NTG-context] \setuptolerance and vertical spacing
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/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
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 ___
[NTG-context] \setuptolerance and vertical spacing
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 ___
[NTG-context] \setuptolerance
Hello all, could somebody explain me the usage of the \setuptolerance command and its particular parameters? I've found several forms of this command, but no explanation of them at all... The main ConTeXt manual (cont-eni.pdf, pages 87-88) only mentions that it is used [horizontal,verystrict] and [vertical,strict] by default... Should I issue two \setuptolerance commands to setup up horizontal and vertical tolerance? On contextgarden.net I've found one example using the following form: \setuptolerance [{horizontal, verytolerant},{vertical, verystrict}] ...tried this, but it produces "Overfull \hbox" at almost every third line... :-( Currently I use the setup: \setuptolerance[verytolerant,stretch] which gives quite good results, but I don't know what it exactly does (I googled it somewhere)... Thanks for help. Richard ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context