>>>>> "Yann" == Yann MORERE <[EMAIL PROTECTED]> writes:
Yann> Florian-Daniel Otel wrote:
>> Hello everybody,
>>
>> I have the following problem: I'm using Lyx 1.1.2 and latex2html to
>> export to html. My problems:
Yann> I thought lyx was made to use tth for exporting latex to html?
Yann> is that true?
It uses tth, hevea or latex2html, depending on what it finds.
>> 1) When writing the TeX output LyX redefines the \url command to
>> make the URL printed verbatim:
>> .. \IfFileExists{url.sty}{\usepackage{url}}
>> {\newcommand{\url}{\texttt}} ...
>>
>> 2) It uses the \url command
>>
>> As a result latex2html makes the URLs to appear as normal text
>> instead of appearing like they should be: As URLs.
I do not see a good solution that would fit all converters (and LaTeX :).
Yann> There some hazards to avoid with tth :
Yann> lyx under its lyx code enviromnment convert "\" to
Yann> \textbackslach{} and tth (v 2.60) doesn't recognize the macro so
Yann> you must replace all \textbackslach{} with
Yann> {\texttt{\symbol{92}}}
You should report this as a bug in tth.
>> My questions are thus: 1) How to disable the redefinition of the
>> \url command 2) How to configure Lyx to use \htmlurl instead of
>> \url
Check 'HTML type' in the Insert URL popup.
JMarc