From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5524 Path: main.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: some font issues Date: Wed, 05 Sep 2001 22:52:43 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.0.20010905225241.00a80518@public.uni-hamburg.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396112 2408 80.91.224.250 (23 Oct 2002 18:01:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:01:52 +0000 (UTC) Original-To: ConTeXt mailing list Xref: main.gmane.org gmane.comp.tex.context:5524 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5524 I finally succeeded in my attempts to achieve several things at the same time: a) direct input of umlauts in my input file b) use of ae fonts c) hanging punctuation d) ams symbols I am not sure that I have done it as it is intended, and I would like to point out the difficulties I had on my way, perhaps this may help in the further development of the font interface (or to reveal my lack of understanding concerning fonts). So here is my file which finally works: \enableregime[windows] \usetypescript[serif,sans,mono][hanging][pure] \setupalign [hanging] \definetypeface [modern] [rm] [serif] [computer-modern] [default] [handling=pure,encoding=ec] \definetypeface [modern] [mm] [math] [computer-modern] [computer-modern] [handling=pure,encoding=ec] \setupbodyfont[ams,modern] \starttext δόφΔάΦί$\Delta$ % to see if umlauts work \startcolumns[n=2] % does it hang? \dorecurse{3}{\input tufte} \stopcolumns \stoptext 1) If I omit 'encoding=ec': no problems at all. The second \definetypeface is not necessary in this case. But I don't want to hyphenate each words with umlauts manually, so... 2) With encoding=ec, I got ae. But I had to add the second \definetypeface because math symbols got spoiled, e.g. \Delta gave me an apostroph, \overbar resulted into striked out letters etc. It took me quite some time to spot the crucial point: replacing [default] by [computer-modern]. 3) \setupbodyfont[modern,ams] (reversed order) leads to spoiled umlauts and math symbols. The math symbols can be restored by the second \definetypeface. But the umlauts stay strange (a short horizontal line is placed approximately .5ex below the top of the letter). I hope these descriptions are comprehendable. I'm using the latest beta (downloaded today). Two reasons for my posting: 1) Isn't there a simpler way to get there? 2) If there isn't, and since fonts (and math) are currently evolving: shouldn't there be one? In particular, at least for the standard supported fonts, a single command to activate hanging punctuation, regardless of font and encoding, so it could be used together with \setupbodyfont[aer]? For a normal user like me, relatively new to context, it was not easy to find the solution above. (But it is a nice feeling if it finally works.) -- Eckhart