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
___________________________________________________________________________________

Reply via email to