Bug#287309: tetex-bin: example using html \special is a bit off
Hilmar Preusse <hille42@web.de> wrote:
> 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!
I didn't read your conversation about catcodes - should there be a
remark in the patch I provided?
> 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.
I didn't receive anything, neither a reject nor a "waiting for moderator
approval" or anything.
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: