From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2775 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: cm-fonts and german umlauts Date: Wed, 20 Sep 2000 18:40:01 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <39C8E861.2792208D@gmx.de> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035393549 11725 80.91.224.250 (23 Oct 2002 17:19:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:19:09 +0000 (UTC) Cc: ntg-context@ntg.nl, Hans Hagen Original-To: alkauffm@rz.uni-potsdam.de Xref: main.gmane.org gmane.comp.tex.context:2775 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2775 Hallo Albrecht, hallo Hans, hi all, > I am typesetting german texts using ConTeXt with the option > \useencoding[win] and cmr-fonts (\setupbodyfont [cmr]). There is a problem > with the hypenation after a german umlaut ä,ö or ü, because of the > 7-bit-encoding of the cmr-font. > In LaTeX the package ae.sty provides cm-fonts as 8-bit-encoded. Has > ConTeXt an analogous solution? Well the ae trick isnot really done by LaTeX, but by creating a virtual font AE (T1 encoded). AE styles does two things: a) Using the virtual font [ae.sty] b) (extended version) using EC for characters which are not in CM (this results in bitmaps in the PS/PDF files if you haven't bought the EC Type 1 fonts) [aecompl.sty] I think this hasn't be done yet, but (a) seems "rather" trival. Being not an expert on fonts in ConTeXt this should work: \definefontsynonym [ComputerModern] [aer10] [encoding=ec] The problem here is: This doesn't honour the fontsize! (b) seems might be a little bit more complicated since you need to support 13 extra characters. (Hans: looking at enco-ec.tex I miss: \def\guillemotleft{\@ae@compl{19}} \def\guillemotright{\@ae@compl{20}} \def\guilsinglleft{\@ae@compl{14}} \def\guilsinglright{\@ae@compl{15}} \def\DJ{\@ae@compl{208}} \def\dj{\@ae@compl{158}} \def\DH{\@ae@compl{208}} \def\dh{\@ae@compl{240}} \def\@perthousandzero{\@ae@compl{24}} % used in: \%\@perthousandzero ) (Availables fonts, T1 encoded: aeb10.vf aecsc10.vf aesl10.vf aessbx10.vf aeti7.vf aebx10.vf aeitt10.vf aesl12.vf aessdc10.vf aeti8.vf aebx12.vf aer10.vf aesl8.vf aessi10.vf aeti9.vf aebx5.vf aer12.vf aesl9.vf aessi12.vf aett10.vf aebx6.vf aer17.vf aesltt10.vf aessi17.vf aett12.vf aebx7.vf aer5.vf aess10.vf aessi8.vf aett8.vf aebx8.vf aer6.vf aess12.vf aessi9.vf aett9.vf aebx9.vf aer7.vf aess17.vf aetcsc10.vf aebxsl10.vf aer8.vf aess8.vf aeti10.vf aebxti10.vf aer9.vf aess9.vf aeti12.vf)