Hello, when I add \hyphenation{Voll-stön-dig-keit} into my tex file I get the following error: (C:\texmf\tex\context\base\xtag-utf.tex loading : Context XML Macros (UTF-8) ) ! Not a letter. \@default@adiaeresis ->\char 228 \utfunihashglyph ...r \utfdiv {#1}}{#1}\endcsname \fi <inserted text> Voll-stä n-dig-keit \hyphenation ...malhyphenation {\the \scratchtoks }\endgroup l.118 \hyphenation{Voll-stän-dig-keit} ? Any ideas? Wolfgang Taco Hoekwater schrieb:
Wolfgang Zillig wrote:
Hello,
sory for the late reply but I checked it again and I created an example document please look at: http://www.student.kuleuven.ac.be/~s0167070/env.pdf : now one word "Vollständigkeit" ist not hyphenated but "übernehmen" is hyphenated. As I process from a XML file I can not do something like \hyphenation{Voll-stän-dig-keit}. What can I do?
You can put the \hyphenation command in your cont-sys.tex or cont-loc.tex. Or you can embed a
<?context-directive job environment myenv?>
and put the \hyphenation command in myenv.tex. You have to switch to utf-8 encoding as well, I think.
FYI, ConTeXt simply seems to miss the first hyphen, I get the result of \hyphenation{Vollstän-dig-keit} from \showhyphens (you may want to increase the tolerance when working with xml input files).
Cheers, Taco
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context