From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: hyphenation of words with accented characters
Date: Thu, 29 Aug 2002 23:28:32 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20020829232155.02003050@server-1> (raw)
In-Reply-To: <3D6DD3D6.4010801@voiceinterconnect.de>
At 09:57 AM 8/29/2002 +0200, Uwe Koloska wrote:
>Marko Schütz schrieb:
>>\hyphenation{Äqui-va-lenz-re-la-tion}
>>as well as
>>\hyphenation{"Aqui-va-lenz-re-la-tion}
>>with both I get
>>! Improper \hyphenation will be flushed.
>>\handlecompoundcharacter
>>#1->\def \xhandlecompoundcharacter
>>{\dohandlecompou...
>>l.3 \hyphenation{"
>> Aqui-va-lenz-re-la-tion}
>
>\hyphenation can only handle single characters and not compound ones. So
>you have to switch to an input encoding that doesn't touch umlauts or
>other non-ASCII chars. If it works TeX has to handle this characters as
>follows:
> 1. let 'Ä' untouched
> 2. use the latin1 to TeX (or type1 or ...) output encoding to
> print the char to output.
>
>Unfortunately I tried this myself and didn't had any success. It seems
>that all input encodings in context change non-ASCII chars to compound
>characters.
let's be of help then:
given that you have 8 bit characters (i.e. ec or texnansi encoded fonts)
\hyphenation {f\oacute-r\egrave ign}
\hyphenatedword{f\oacute-r\egrave ign}
btw 1, when loading patterns, context goes through a lot of trouble to make
sure that 8 bit patterns are handled ok; in some languages, multiple
patterns are loaded (like il2 and ec in czech) which means that they even
switch properly with different coding regimes
btw 2, if you think that fonts is a mess, take a look at pattern files: all
kind of methods, naming, etc
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
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
prev parent reply other threads:[~2002-08-29 21:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-28 11:42 Marko Schütz
2002-08-28 16:40 ` Henning Hraban Ramm
2002-08-28 18:33 ` Marko Schütz
2002-08-29 7:57 ` Uwe Koloska
2002-08-29 21:28 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20020829232155.02003050@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).