At 09:04 AM 6/28/00 +0200, Jean-Pierre.Chretien wrote:
> >>The "Linux Router Questions and Answers" document is available as
> >>individual files or tarball at:
> >>
> >>http://www.mindspring.com/~pnoyes/
>
>Everythink seems OK in your document, the problem is that \htmlurl[bar]{foo}
>doesn't do anything for html2latex, which need an explicit command from
>the html.sty package to produce the URL.
>There are two such commands in latex2html97.1:
>\htmladdnormallink{anchor}{URL}
>prints anchor in latex, produces <A HREF="<URL>">anchor</A> in html
>\htmladdnormallinkfoot{<URL>}{anchor}
>produces the URL as a footnote in addition in the LaTeX document.
>
>Semms that substitution of \htmlurl[#1]{#2} by \htmladdnormallink{#1}{#2}
>should do what you need.

Thanks to your help, I'm a little closer to solving this problem. I can get 
latex2html to recognize

/usr/share/latex2html/styles/lyx.perl

by changing the following lines in LRP-QA.tex

\IfFileExists{url.sty}{\usepackage{url}}
                       {\newcommand{\url}{\texttt}}

to read

\usepackage{url}

I can then run

latex LRP-QA.tex
latex LRP-QA.tex
latex2html LRP-QA.tex

This creates the hyper-links, but it doesn't use htmlurl properly. The name 
field isn't turned into the hyper-link. Example:

HtmlUrl:http://www.linuxrouter.org||Linux Router Project

should produce a hyper-link of

Linux Router Project

instead it produces

Linux Router Project http://www.linuxrouter.org

--
Mike Noyes                    | LRP Materhorn
[EMAIL PROTECTED]         | 1722-eth_PPP_QoS

Reply via email to