I have created an other hyph.xml file with the following content: <hyphenations language="de" regime="utf"> <hyphenation>Voll-stän-dig-keit</hyphenation></hyphenations> this file is included by: \processXMLfilegrouped {hyph.xml} In my file which I use for processing I use now: \useXMLfilter [utf,hyp] The compillation stops with the following message: xml : loading module hyp (C:\texmf\tex\context\base\xtag-hyp.tex loading : Context XML Macros (hyphenation) ) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) systems : begin file env at line 127 (./hyph.xml ! Not a letter. \@ec@adiaeresis ->\char 228 \utfunihashglyph ...r \utfdiv {#1}}{#1}\endcsname \fi <inserted text> Voll-stä n-dig-keit \hyphenation ...malhyphenation {\the \scratchtoks }\endgroup l.2 <hyphenation>Voll-stän-dig-keit</hyphenation> </hyphenations> ? What do I do wrong? Many thanks Wolfgang Hans Hagen schrieb:
Taco Hoekwater wrote:
Wolfgang Zillig wrote:
Hello Taco,
when I try to compile your example file:
Then I get no output! The logfile is at the end of the message!
That was intentional. \showhyphens only writes a message to the terminal, no typesetting was doen.
It complains about that the coding utf is unknown!
That was a mistake. I used \useencoding, where I should have used \enableregime. Revised version:
\language[de] \enableregime[utf] \hyphenation{Voll-stän-dig-keit} \starttext \showhyphens{Vollständigkeit} \stoptext
Either way, your output from my test file looks fine.
if you want to define hyphenation exceptions in XML code:
\useXMLfilter[hyp]
(see xtag-hyp for more info)
Hans _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context