On Fri, Oct 05, 2001 at 09:25:27AM +0200, [EMAIL PROTECTED] wrote:
> I would like to have a link as "HTML link" (as above) upon export to HTML, 
> but on the other hand the URL should be _printed_ when the document is 
> converted to DVI/PS/PDF/... In other words:
> 
> HTML should give  
>       <a href=http://x.y.z>My Link</a>
> 
> DVI/PS should give  
>       My Link (http://x.y.z)
> 
>       (or a similar format)
> 
> I'm sure that it can be done (in fact, I was expecting LyX to do that with 
> Insert->URL), but how?

Put the following in the preamble:

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

Reply via email to