On Thu, Oct 24, 2002 at 11:00:51AM -0300, Osvaldo Fornaro wrote:
> Hi list,

> it is suppose that the url and htmlurl tags works in latex2html?
> I am using now ( in red ) \htmaddnormallink to do a mail list but is some
> annoying.

Till now, (lyx1.2.1, CVS 1.3 might have fixed this) the url boxes of lyx 
can not be converted to html/links by latex2html. There has been several 
discussions about this. If you do not want to use ERT 
\htmladdnormallink, 

  perl -pe 's/\\begin_inset LatexCommand 
  \\url\[(.*)\]\{(.*)\}/\\begin_inset ERT\nstatus Collapsed\n\n\\layout 
  Standard\n\n\n\\backslash\nhtmladdnormallink\{$1\}\{$2\}\n/gs' 
  file.lyx

can convert lyx/url to lyx/htmladdnormallink to temporarily solve this 
problem. You do need to add

  \usepackage{html}
  \usepackage{url}
  \latex{\renewcommand{\htmladdnormallink}[2]{#1 (\url{#2})}}

to the preamble.

-- 
Bo Peng

Reply via email to