Hello Taco,
when I try to compile your example file:
\language[de]
\useencoding[utf]
\hyphenation{Voll-stän-dig-keit}
\starttext
\showhyphens{Vollständigkeit}
\stoptext
Then I get no output! The logfile is at the end of the message! It
complains about that the coding utf is unknown!
You are right, selecting the right encoding is not always easy. I'm
quite sure that my xml input is utf but I'm not always sure what scite
is doing whatever I select. Perhaps I should change the text editor.
Here the log file:
This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded
format=cont-en 2005.10.23) 7 NOV 2005 18:44
entering extended mode
**vols-utf-1.tex
(vols-utf-1.tex
ConTeXt ver: 2005.08.31 fmt: 2005.10.23 int: english mes: english
language : language en is active
13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2 sk->il2:il2->16->2:2 sk->ec:ec ->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2 loaded specials : tex,postscript,rokicki loaded system : vols-utf-1.top loaded (./vols-utf-1.top specials : loading definition file tpd (C:\texmf\tex\context\base\spec-tpd.tex specials : loading definition file fdf (C:\texmf\tex\context\base\spec-fdf.tex) specials : fdf loaded ) specials : fdf,tpd loaded ) encoding : unknown coding utf8 (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) (./vols-utf-1.tuo) systems : begin file vols-utf-1 at line 4
Underfull \hbox (badness 10000) in paragraph at lines 5--5
[] \*10ptrmtf* Voll-stän-dig-keit
\hbox(8.86499+1.94443)x16383.99998, glue set 9784.75977 []
systems : end file vols-utf-1 at line 6
)
Here is how much of TeX's memory you used:
1312 strings out of 61144
19912 string characters out of 647756
514394 words of memory out of 1076582
37078 multiletter control sequences out of 60000
78048 words of font info for 38 fonts, out of 1000000 for 2000
183 hyphenation exceptions out of 4999
31i,2n,28p,405b,479s stack positions out of
5000i,500n,10000p,200000b,32768s
PDF statistics:
0 PDF objects out of 300000
0 named destinations out of 300000
1 words of extra memory for PDF output out of 65536
No pages of output.
Zitat von Taco Hoekwater
Hello,
when I add \hyphenation{Voll-stön-dig-keit} into my tex file I get
Wolfgang Zillig wrote: 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?
Perhaps your input is latin1, only pretending to be utf-8. In a latin-1 text editor, it should look like this:
\hyphenation{Voll-stän-dig-keit}
But this sort of stuff is tricky to get right in e-mail, and I am just guessing. What I tried is attached, and that worked for me.
Cheers, Taco