From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5028 Path: main.gmane.org!not-for-mail From: "Lutz Haseloff" Newsgroups: gmane.comp.tex.context Subject: Re: hanging punctuation Date: Wed, 11 Jul 2001 07:02:31 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3B4BFA06.21910.1B61EC@localhost> References: <3B4ADF9B.13991.F0A940@localhost> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1035395648 30685 80.91.224.250 (23 Oct 2002 17:54:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:54:08 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:5028 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5028 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