* disable expansion for one single component
@ 2012-10-02 13:24 Thomas A. Schmitz
2012-10-02 13:31 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Thomas A. Schmitz @ 2012-10-02 13:24 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: disable expansion for one single component
2012-10-02 13:24 disable expansion for one single component Thomas A. Schmitz
@ 2012-10-02 13:31 ` Wolfgang Schuster
2012-10-02 13:42 ` Thomas A. Schmitz
2012-11-23 22:24 ` Thomas A. Schmitz
0 siblings, 2 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2012-10-02 13:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 02.10.2012 um 15:24 schrieb Thomas A. Schmitz <thomas.schmitz@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: disable expansion for one single component
2012-10-02 13:31 ` Wolfgang Schuster
@ 2012-10-02 13:42 ` Thomas A. Schmitz
2012-11-23 22:24 ` Thomas A. Schmitz
1 sibling, 0 replies; 7+ messages in thread
From: Thomas A. Schmitz @ 2012-10-02 13:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: disable expansion for one single component
2012-10-02 13:31 ` Wolfgang Schuster
2012-10-02 13:42 ` Thomas A. Schmitz
@ 2012-11-23 22:24 ` Thomas A. Schmitz
2012-11-23 22:44 ` Hans Hagen
2012-11-24 16:53 ` Wolfgang Schuster
1 sibling, 2 replies; 7+ messages in thread
From: Thomas A. Schmitz @ 2012-11-23 22:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: disable expansion for one single component
2012-11-23 22:24 ` Thomas A. Schmitz
@ 2012-11-23 22:44 ` Hans Hagen
2012-11-24 11:45 ` Thomas A. Schmitz
2012-11-24 16:53 ` Wolfgang Schuster
1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2012-11-23 22:44 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: disable expansion for one single component
2012-11-23 22:44 ` Hans Hagen
@ 2012-11-24 11:45 ` Thomas A. Schmitz
0 siblings, 0 replies; 7+ messages in thread
From: Thomas A. Schmitz @ 2012-11-24 11:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: disable expansion for one single component
2012-11-23 22:24 ` Thomas A. Schmitz
2012-11-23 22:44 ` Hans Hagen
@ 2012-11-24 16:53 ` Wolfgang Schuster
1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2012-11-24 16:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 23.11.2012 um 23:24 schrieb Thomas A. Schmitz <thomas.schmitz@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-11-24 16:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-02 13:24 disable expansion for one single component Thomas A. Schmitz
2012-10-02 13:31 ` Wolfgang Schuster
2012-10-02 13:42 ` Thomas A. Schmitz
2012-11-23 22:24 ` Thomas A. Schmitz
2012-11-23 22:44 ` Hans Hagen
2012-11-24 11:45 ` Thomas A. Schmitz
2012-11-24 16:53 ` Wolfgang Schuster
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).