On Mon, Oct 07, 2002 at 02:17:41PM +0100, Graham Borland wrote: > I'm using Lyx to edit a structured document which must be presented in > HTML. I've found that I get the best results by using latex2html as > the final conversion tool.
What version of LyX? > A couple of questions: > > 1) On starting Lyx, I get this error message: > > LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc] > > Here's my lyxrc file: > > \html_command "latex2html -no_subdir -no_navigation -verbosity 0 -info > 0 -split 0 -show_section_numbers '$$FName'" I'd rather expect a line saying \converter latex html "latex2html $$i" "" or such. > 2) The output mostly looks OK, with the exception of code > snippets. I'm using the LyX-Code style in my document, but this > doesn't appear in the HTML as fixed-width text. The intermediate Latex > file seems to directly reference this Lyx-Code style rather than > something which latex2html could understand like {tt} (I hope you know > what I mean even if the syntax is wrong). How can I fix this? E.g. by adjusting the LyX-Code definition in layout/lyxmacros.inc or by teaching latex2html wht to do whit "lyxcode". I don't know which one is easier, though. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)