[tex-k] A bug? Maybe just a terrible inconvenience to work around...

Robin Fairbairns Robin.Fairbairns@cl.cam.ac.uk
Tue, 17 Sep 2002 00:17:28 +0100


> And if you don't want to look it up, just replace the ~ with %7E and you
> should be in good shape.

apart from the part of the line after the %

> On the other hand, if browers accept the tilde (and they do), it would
> be nice if TeX would too . . .

which is why latex packages exist ... for the tricky things in life.

if the op doesn't want to use hyperref, then there's always
re-catcoding of the ~ character for the purposes of defining an
argument for this primitive:

{%
  \catcode`\~=12\relax
  \gdef\temp{ text for this game
     url-containing-~-character
     rest of text
  }
}
\expandafter\pdfannotlink\temp

or some such game.  maybe not even the \expandafter is necessary.