Re: [NTG-context] disable expansion for one single component
On 11/23/2012 11:44 PM, Hans Hagen wrote: You need to load a font with the expension feature enabled. After that you can enable/disable it using setupalign. Hmm, thanks Hans. How can I test whether this actually works? My problem, as briefly as possible: in one component, I get an overfull hbox. Turning on hz for the entire product makes it disappear. Turning on hz just for this one paragraph doesn't. But I must admit that I don't reallt understand the implications of hz etc. All best Thomas ___ 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] disable expansion for one single component
Am 23.11.2012 um 23:24 schrieb Thomas A. Schmitz thomas.schm...@uni-bonn.de: On 10/02/2012 03:31 PM, Wolfgang Schuster wrote: Hi all, for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then \setupalign[hanging,hz] in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter? Put \setupalign[nohz] before and \setupalign[hz] after your chapter. Wolfgang Hi all, Wolfgang, coming back to a pretty old question because it doesn't appear to work. For the book I'm currently typesetting, I had to disable expansion for the entire document because it messed up spacing with Greek letters and certain accents. Now the question is the other way round: can I enable expansion only for certain passages? I'm in the final revision, and expansion would help me take care of a few overfull hboxes. But while setting \setupalign[hanging,hz] for the entire document does take care of those, doing something like \start \setupalign[hanging,hz] blablabla \stop doesn't have any effect. Is this possible at all, or am I barking up the wrong tree? The paragraph has to end before the group is closed. \definefontfeature[default][default][expansion=quality,protrusion=quality] \starttext \showframe \input tufte \blank \start \setupalign[hanging,hz] \input tufte \stop \blank \start \setupalign[hanging,hz] \input tufte\par \stop \stoptext 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] disable expansion for one single component
On 10/02/2012 03:31 PM, Wolfgang Schuster wrote: Hi all, for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then \setupalign[hanging,hz] in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter? Put \setupalign[nohz] before and \setupalign[hz] after your chapter. Wolfgang Hi all, Wolfgang, coming back to a pretty old question because it doesn't appear to work. For the book I'm currently typesetting, I had to disable expansion for the entire document because it messed up spacing with Greek letters and certain accents. Now the question is the other way round: can I enable expansion only for certain passages? I'm in the final revision, and expansion would help me take care of a few overfull hboxes. But while setting \setupalign[hanging,hz] for the entire document does take care of those, doing something like \start \setupalign[hanging,hz] blablabla \stop doesn't have any effect. Is this possible at all, or am I barking up the wrong tree? Thanks Thomas ___ 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] disable expansion for one single component
On 11/23/2012 11:24 PM, Thomas A. Schmitz wrote: On 10/02/2012 03:31 PM, Wolfgang Schuster wrote: Hi all, for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then \setupalign[hanging,hz] in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter? Put \setupalign[nohz] before and \setupalign[hz] after your chapter. Wolfgang Hi all, Wolfgang, coming back to a pretty old question because it doesn't appear to work. For the book I'm currently typesetting, I had to disable expansion for the entire document because it messed up spacing with Greek letters and certain accents. Now the question is the other way round: can I enable expansion only for certain passages? I'm in the final revision, and expansion would help me take care of a few overfull hboxes. But while setting \setupalign[hanging,hz] for the entire document does take care of those, doing something like \start \setupalign[hanging,hz] blablabla \stop doesn't have any effect. Is this possible at all, or am I barking up the wrong tree? You need to load a font with the expension feature enabled. After that you can enable/disable it using setupalign. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] disable expansion for one single component
Hi all, for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then \setupalign[hanging,hz] in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter? Thanks, and all best Thomas ___ 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] disable expansion for one single component
Am 02.10.2012 um 15:24 schrieb Thomas A. Schmitz thomas.schm...@uni-bonn.de: Hi all, for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then \setupalign[hanging,hz] in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter? Put \setupalign[nohz] before and \setupalign[hz] after your chapter. 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] disable expansion for one single component
On 10/02/2012 03:31 PM, Wolfgang Schuster wrote: Put \setupalign[nohz] before and \setupalign[hz] after your chapter. Ah, that's it! Thanks Wolfgang, precise and quick, as always! Thomas ___ 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 ___