> > 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})}}

... wonderful, it works like a charm! 

Thanks a lot -- !!

- Joerg
 
 
------------------------------------------------------------
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://www.mysunrise.ch/users/joerg.hau/
"All standard disclaimers apply".

Reply via email to