[l2h] "#" in anchor

Vadim Yu. Radionov Vadim Yu. Radionov" <vadim@mccme.ru
Sat, 26 Aug 2000 16:11:47 MSD


Hi!

I found the only way

  \newcommand{\extref}[2]{\HTMLcode[HREF="#\relax#1"]{A}{#2}}

to get 

  <A HREF="#some_text">another text</A>

from 

  \extref{some_text}{another text> 

while more TeX-like 

  \newcommand{\extref}[2]{\HTMLcode[HREF="###1"]{A}{#2}}

gives

  <A HREF="###1">another text</A>.

By the way, can i use optional argument with latex2html to substitute mandatory
if present (like \sections do for running heads)?  This requires some
lower level command like \@dblarg...

Sincerely,
Vadim Radionov