Am 10 Jul 2001, um 17:00 hat Hans Hagen geschrieben:

> >with the help of mfonts.pdf i tried following but:
> >\usetypescript [serif,sans,mono] [hanging] [pure]
> >or
> >\setupfontsynonym [hanging=pure]
> >and \setupalign [hanging]
> >doesn`t work.
> 
> This has to do with the fact that the def's should come before loading a
> font, which means that in the cmr default case, the setupp comes too late. 
> 
> When looking into it, i also noticed a few typo's. A "handling' is
> something general, while "hanging" refers to hanging punctuation. For the
> moment hanging is the only handling, but once it's stable, hz may become
> another one.  
> 
> The next line connects the hang vectors to symbolic font names. In
> type-exa.tex you should remove the - in the hanging defs, so that bold etc
> also work well. 
> 
> \usetypescript[serif,sans][hanging][pure]
> 
> This is needed anyway 
> 
> \setupalign [hanging]
> 
> This redefines fonts, and also demo's typefaces, watch the 'handling' 
> 
> \definetypeface [modern] [rm] [serif] [computer-modern] [default]
> [handling=pure]
> \definetypeface [modern] [ss] [sans]  [computer-modern] [default]
> [handling=pure]
> 
> Now this should work well: 
> 
> \showframe
> 
> \starttext
> 
> \modern\rm\input tufte
> 
> \modern\ss\input tufte
> 
> \stoptext
> 
> Maybe i need to change pure into pure-hang or so, in order to avoind
> confusions. 
> 
> Hans

My File now is:

\setupoutput[pdftex]
\usetypescript [serif,sans] [hanging] [pure]
\setupalign [hanging]
\definetypeface [modern] [rm] [serif] [computer-modern] [default] [handling=pure]
\starttext
\showgrid
\modern\rm\input tufte
\stoptext

but no hanging punctuation appears.

Greetings

Lutz

Reply via email to