[texhax] Problem with \href and german umlauts
Reinhard Kotucha
reinhard.kotucha at web.de
Thu Mar 6 08:44:14 CET 2008
Lars Brücher writes:
> I think, the hyperref-package denies the use of german "Umlaute" such
> as ä in URLs, but how can I refer to that page? The generated
> hyperlink-address is this:
It's not the hyperref package which causes trouble. Your link works
fine for me.
> http://de.wikipedia.org/wiki/Taubenschw\protect\unhbox\voidb@x\bgroup
> \U at D1ex{\setbox\z@\hbox{\char127}\dimen at -.45ex\advance\dimen@\ht
> \z@}\accent127 \fontdimen5\font\U at Da\egroup nzchen
Look at the code above carefully. You are using a 7 bit font which
doesn't contain an "ä". Instead, it uses \accent in order to put the
dots over the "a". You cannot search for words containing accented
characters in Acroread either unless you have have real accented
characters.
> Is there any possibility to realize that?
I suppose that you are using Computer Modern, TeX's default font.
Then it's sufficient to put \usepackage{lmodern} into the preamble.
The Latin Modern fonts contain about 1200 real characters, supporting
nearly all latin languages without combining characters by macros.
See also:
http://www.gust.org.pl/projects/e-foundry/latin-modern
http://www.gust.org.pl/projects/e-foundry/tex-gyre
Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
More information about the texhax
mailing list