[pdftex] Underscore in URL using hyperref (very old issue?)
Peter Ryder
ryder at physik.uni-bremen.de
Mon Apr 15 18:50:12 CEST 2002
I reproduced your errors with this version..
This is pdfTeX, Version 3.14159-1.00b-pretest-20020211 (Web2c 7.3.7)
(format=pdflatex 2002.3.22) 15 APR 2002 17:39
**&pdflatex tst.tex
etc.
and found out by trial and error that the solution is just to type in the
underscore from the keyboard, as if in a \verb environment:
Here (?) is a hyperlink:
\href{http://www.dcu.ie/pres_office/strategy/plan.html}{Leading Change}
I suppose this is documented somewhere.......
Peter Ryder.
Barry McMullin wrote:
> Hi -
>
> I'm encountering exactly (?) the problem described here:
>
> http://www.tug.org/pipermail/pdftex/1998-December/000039.html
>
> This regards problems using the underscore characters in URLs,
> processed with hyperref, when using pdflatex.
>
> However, that archive seems to be completely isolated (no months
> immediately before or after are present?); and I can't find any
> other information. The advice given in the message above is that
> the version of latex in use must be "fairly ancient"; but I'm
> getting the problem on a RH 6.2 linux box, with the most up to
> date tetex rpms available. (I have also encountered it on a RH
> 7.2 box - but the specific diagnostics below are on 6.2.)
>
> The pdflatex version info is:
>
> pdflatex --version
> pdfTeX (Web2C 7.3.1) 3.14159-0.13d
> kpathsea version 3.3.1
> Copyright (C) 1999 Han The Thanh, Petr Sojka, and Jiri Zlatuska.
> Kpathsea is copyright (C) 1999 Free Software Foundation, Inc.
>
> I'm suspicious of pdflatex because no problem is apparent when
> processing with latex.
>
> I attach sample .tex and .log files.
>
> Somewhat perversely, the behaviour changes if an underscore character
> occurs earlier in the file (before the use of \href). In that
> case, there is no warning from pdflatex; but the generated PDF
> link does not work (it has embedded tex code in place of the
> original underscore).
>
> Am I missing something obvious here?
>
> Thanks,
>
> - Barry.
>
> --
>
> ------------------------------------------------------------------------
>
More information about the pdftex
mailing list