At 10:57 AM 7/10/01 +0200, Lutz Haseloff wrote:
>Am 10 Jul 2001, um 8:57 hat Hans Hagen geschrieben:
>
>> At 06:55 AM 7/10/01 +0200, Lutz Haseloff wrote:
>> >Hi all,
>> >
>> >is there anybody who can provide me a minimal
>> >file with working hanging punctuation?
>> >I didn`t got it with the TeX Fonts Manual.
>>  
>> it is explained in mfonts.pdf 
>> 
>> you need a recent version of pdftex 
>> 
>> Hans
>
>I use tha latest pdfetex by Fabrice (14h-unofficial-20010629)
>and the newest ConTeXt beta(2001.7.7).
>
>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

-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to