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
<protectionstate 0>
system          : cont-new loaded
(C:\texmf\tex\context\base\cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
color           : palette rollover is available
)
system          : cont-old loaded
(C:\texmf\tex\context\base\cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(C:\texmf\tex\context\base\cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
(C:\texmf\tex\context\user\cont-sys.rme
(C:\texmf\tex\context\base\./type-exa.tex)
(C:\texmf\tex\context\base\./type-syn.tex)
(C:\texmf\tex\context\base\./type-enc.tex)
(C:\texmf\tex\context\base\./type-dis.tex)
(C:\texmf\tex\context\base\./type-siz.tex)
(C:\texmf\tex\context\base\./type-map.tex)
(C:\texmf\tex\context\base\./type-spe.tex)
(C:\texmf\tex\context\base\./type-akb.tex))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:2 uk->ec:ec->2->2:2
de->texnansi:tex
nansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2
fr->ec:ec->6->2:2
 es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2 pt->ec:ec->9->2:2
it->texnansi
:texnansi->10->2:2 it->ec:ec->11->2:2 nl->texnansi:texnansi->12->2:2
nl->ec:ec-
>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 <[EMAIL PROTECTED]>:

> Wolfgang Zillig wrote:
> > 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.
> > [EMAIL PROTECTED]@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
> 



_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to