* bug with hyphenatedurl
@ 2008-05-21 15:58 Steffen Wolfrum
2008-05-21 17:17 ` Taco Hoekwater
0 siblings, 1 reply; 3+ messages in thread
From: Steffen Wolfrum @ 2008-05-21 15:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
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?
Steffen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug with hyphenatedurl
2008-05-21 15:58 bug with hyphenatedurl Steffen Wolfrum
@ 2008-05-21 17:17 ` Taco Hoekwater
2008-05-21 19:48 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2008-05-21 17:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug with hyphenatedurl
2008-05-21 17:17 ` Taco Hoekwater
@ 2008-05-21 19:48 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2008-05-21 19:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
Taco Hoekwater wrote:
> 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{-}}
\appendtoks
% ones personal cleanup definitions
\to \everyhyphenatedurl
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-21 19:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-21 15:58 bug with hyphenatedurl Steffen Wolfrum
2008-05-21 17:17 ` Taco Hoekwater
2008-05-21 19:48 ` Hans Hagen
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).