[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#287309: tetex-bin: example using html \special is a bit off



On 27.12.04 Sanjoy Mahajan (sanjoy@mrao.cam.ac.uk) wrote:

Hi,

> Your example:
> 
<snip>
> 
> has a slight problem because # is a special character for tex/latex.
> The output of your 'strings' command shows the problem:
> 
>    html:<a href="##paradise">
> 
I've noticed that, however I didn't know how to fix it.

>   If you want to use a fragment indicator in the URL (the `#' hash mark),
>   make sure to change its catcode to `letter' first:
> 
>   {\catcode`\#=11
>   \special{html:<a href="http://www.foo.org/bar#foobar"}}
> 
Thanks for the hint and it works now!
Frank has already forwarded the bug to upstream. Unfortunately I
can't see his E-mail in the tex-k archive. Hope it came through.

Regards,
  Hilmar
-- 
sigmentation fault



Reply to: