From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4174 Path: main.gmane.org!not-for-mail From: "Uwe Koloska" Newsgroups: gmane.comp.tex.context Subject: Re: Hyphenation of german words and em-dashes in german texts. Date: Wed, 21 Feb 2001 02:54:51 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <01022102545101.25740@bilbo> References: <5.0.2.1.2.20010220194929.01a5e108@pop.btx.dtag.de> 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 1035394863 23528 80.91.224.250 (23 Oct 2002 17:41:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:41:03 +0000 (UTC) Original-To: ntg-context@ntg.nl In-Reply-To: <5.0.2.1.2.20010220194929.01a5e108@pop.btx.dtag.de> Xref: main.gmane.org gmane.comp.tex.context:4174 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4174 Hello, You wrote on Dienstag, 20. Februar 2001 20:16: >Hi! > >I've got two questions: >1. I've written a file that contains the hyphenations of some words I > often use and which TeX seems not to know how to hyphen. > All works wonderful until one of the words contains an Umlaut as in > \hyphenation{Prä-sen-ta-tion} > It doesn't work with \hyphenation{Pr\"a-sen-ta-tion} either. > Is there a way around this problem? Yes (I think)! You have to use a font that contains real umlauts. The normal TeX ones (cmr family) has no umlauts and therefore context constructs the umlauts from different glyphs (the mentioned \dohandleaccent). TeX is not able to hyphenate words with constructed umlauts -- this was the main reason for introducing the T1 Font encoding. So you have two alternatives \setupbodyfont[aer] % leaves the construction to postscript / pdf \setupbodyfont[pos] % uses postscript fonts (that have umlauts) Possibly you have to switch to an encoding that knows of umlauts, so that you can type them directly. For Win and Unix use \useencoding[win] % enables (nearly) latin-1 for input >2. In the TeXBook I've read that an em-dash is to be used in a sentence >like "Every land I've ever visited has its own god --- or its own set of >gods --- and they all have different names" From the moment I've read this >thing about em-dashes in the TeXBook, I began to really discover them in >english texts but never in german ones. Is this a special rule that is >valid only for english texts or is it also a rule for german texts. And >have I then, up to now, read only badly typsetted german texts? :) No, it's not used in german and most modern english texts doesn't use it, too. So in german you use "--" as "Gedankenstrich" Uwe -- mailto:koloska@rcs.urz.tu-dresden.de http://rcswww.urz.tu-dresden.de/~koloska/ -- -- right now the web page is in german only but this will change as time goes by ;-)