[pdftex] Problem with underscores in URLs

William Waite waite at scotty.cs.colorado.edu
Tue Apr 9 10:44:23 CEST 2002


> > ! Undefined control sequence.
> > <argument> ...ct \global \let \OT1\textunderscore
> >                                                   \unhbox \voidb at x \kern
> > .06...
> > l.7 \htmladdnormallinkfoot{token processor}{\_}
>   
> this has all the hallmarks of fragile command in moving argument.
> however, it doesn't happen for me with your test program.
>   
> try posting a test program that corresponds to the log you posted --
> i.e., do the obvious thing and post a minimal failing document.

The test program that I posted DID correspond to the log I posted.  I'm not
sure what other one I can send!

> we _don't_ want to see your entire original document, just the
> smallest number of packages that provoke the problem, and the
> \listfiles output so we can see the version numbers.

I added \listfiles and ran the same test case again.  Under latex the file
list was:

 *File List*
 article.cls    1999/09/10 v1.4a Standard LaTeX document class
  size10.clo    1999/09/10 v1.4a Standard LaTeX file (size option)
    html.sty    1999/07/19 v1.38 hypertext commands for latex2html (nd, hws, rrm)
 ***********

When I ran pdflatex on it, no file list appeared because of the error.  I
replaced the underscore with a hyphen to avoid the error and got the
following file list:

 *File List*
 article.cls    1999/09/10 v1.4a Standard LaTeX document class
  size10.clo    1999/09/10 v1.4a Standard LaTeX file (size option)
    html.sty    1999/07/19 v1.38 hypertext commands for latex2html (nd, hws, rrm)
hyperref.sty    2000/01/22 v6.69c Hypertext links for LaTeX
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
  pd1enc.def    1999/10/05 v0.6 PDFDocEncoding (Heiko Oberdiek)
     url.sty    1999/03/02  ver 1.4  Verb mode for urls, email addresses, and file names
 hpdftex.def
  pifont.sty    1999/03/29 PSNFSS v.7.2 Pi font support : S Rahtz
    upzd.fd    1998/07/06 font definitions for U/pzd.
    upsy.fd    1998/07/06 font definitions for U/psy.
 nameref.sty    2000/01/19 v2.17 Cross-referencing by name of section
 ***********




More information about the pdftex mailing list