ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Zillig <wolfgang.zillig@student.kuleuven.be>
Subject: Re: xml, context and hyphenation
Date: Mon, 07 Nov 2005 16:38:11 +0100	[thread overview]
Message-ID: <436F74E3.9000503@student.kuleuven.be> (raw)
In-Reply-To: <436F719A.8050903@elvenkind.com>

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
>

  reply	other threads:[~2005-11-07 15:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-26 14:08 Wolfgang Zillig
2005-10-31 22:59 ` Hans Hagen
2005-11-07 13:38   ` Wolfgang Zillig
2005-11-07 15:24     ` Taco Hoekwater
2005-11-07 15:38       ` Wolfgang Zillig [this message]
2005-11-07 16:03         ` Taco Hoekwater
2005-11-07 18:14           ` Wolfgang Zillig
2005-11-07 18:32             ` Taco Hoekwater
2005-11-08 23:21               ` Hans Hagen
2005-11-09  8:32                 ` Wolfgang Zillig
2005-11-09 10:35                   ` Hans Hagen
2005-11-09 10:41                     ` Taco Hoekwater

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=436F74E3.9000503@student.kuleuven.be \
    --to=wolfgang.zillig@student.kuleuven.be \
    --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).