Am 23.11.2012 um 23:24 schrieb Thomas A. Schmitz <[email protected]>:

> 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 : [email protected] / 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