>>Date: Fri, 21 Jul 2000 15:49:08 -0600
>>From: Josh Rigler <[EMAIL PROTECTED]>
>>CC: [EMAIL PROTECTED]
>>Subject: Re: exporting to html with lyx
>>
>>"Lars Gullik Bjønnes" wrote:
>>>
>>> Josh Rigler <[EMAIL PROTECTED]> writes:
[discussion about the translation of \url{foo} by latex2HTML]
If you want a clean translations of URLS by latex2HTML, you should
use the specific html.sty commands like \htmladdnormallink{foo}{bar}
which allows to give a different name to the anchor and to the url.
As the URL inset offers the two fields, it is easy to write a small
perl script to filter the lyx file in view of the html translation.
Perhaps the type HTML button (which does not make any difference
in tha layout as far I checked) could be used to autmatically
insert the required \usepackage{html} u=in the preamble
and to replace the \url command by \htmladdnormalllink ?
A last improvement would be to insert a second button to
use \htmladdnormallinkfoot which puts the URL as a footnote referred to
by the anchor, which is a good layout when there are few URLs
in a page.
It may seem boring to insert such latex2html specific syntax in LyX,
so a postfiltering solution may be better, but something is needed anyway.
--
Jean-Pierre