From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5009 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: hanging punctuation Date: Tue, 10 Jul 2001 17:00:09 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010710170009.01361a60@server-1> References: <3.0.6.32.20010710085707.0134cec0@server-1> <3B4AA6EC.12818.133B0E@localhost> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035395630 30502 80.91.224.250 (23 Oct 2002 17:53:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:53:50 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: "Lutz Haseloff" In-Reply-To: <3B4ADF9B.13991.F0A940@localhost> Xref: main.gmane.org gmane.comp.tex.context:5009 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5009 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------