Steffen Wolfrum wrote:
> Hi,
>
> please have a look at the following minimal example (ran with mkii):
>
> ->
>
> \usetypescript[postscript][\defaultencoding]
> \setupencoding[default=texnansi]
> \enableregime[utf]
>
> Test text\footnote{{Z4300, Stand: 1.{|DuennRaum|}Januar\;2002,
> einsehbar unter \hyphenatedurl{http://www.thw.de/thw‑inland/
> grundlagen/rechtsgrundlagen/abr\_rili.htm}}}
>
> \stoptext
>
> <-
>
> Just shortly before handing the PDF to the printer I saw that the part
> "thw‑inland" surprisingly became "thw\dochar␣{45}inland" (at least
> on my machine)!
>
> Is there a fix?
Using U+002D instead of U+2011 in the url will remove the symptom
(of course). There is a problem with active characters inside
\hyphenatedurl but frankly I find that hardly surprising.
Hans or Wolfgang will without doubt come up with a nice solution,
but as usual, here is a bizarre (yet working) hack from me:
\enableregime[utf]
\everyhyphenatedurl{\def\softhyphen{-}}
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________