Pupeno wrote:
Hello,
Is there some way to generate a better HTML file out of a LyX file. Currently
the export generates very old HTML, I need XHTML. Furthermore I'd like
LyX-code sections to be <p><tt></tt></p>, not <dl><dt>, etc.
Is that possible ? I did some searches and I couldn't find anything. I've
check the options of latex2html and the best I did was break the capability
to export HTML for a while.
Thank you.
The tex4ht package uses htlatex or xhlatex to produce html output.
A proper environment seems to produce good results, see attached.
http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn3.html
XHTML and Unicode
The xhlatex command is a variant of the htlatex command requesting
XHTML output. It consists just of a call to htlatex with the entry
xhtml in the first list of options and -cvalidate in the third list.
For instance, xhlatex filename or htlatex filename "xhtml".
To request a Unicode representation of symbols, the first list of options
should include the uni-html4 entry, and the second list should include
the -cunihtf entry preceded by space. For instance, xhlatex filename
"xhtml,uni-html4" " -cunihtf".
Unicode representations of symbols in UTF-8 encoding may be requested
with the entry -utf8 added to the second list. For instance, xhlatex
filename "xhtml,uni-html4" " -cunihtf -utf8".
XHTML with MathML
Regards,
Stephen
