Jane McKean wrote:
> 
> Hi there:
> 
<SNIP>
> My question: Has anybody created a volume of documentation (300-500
> pages) in LyX and converted it to HTML? Do you have any recommendations,
> suggestions, things to avoid?
> 
<SNIP> 

I have used latex2html in the past:
http://www.latex2html.org/
http://www.maths.mq.edu.au/~ross/#LaTeX2HTML
I would export from lyx to latex,
I had to apply the following patch, something about the IfFileExists was not
liked when I used it.
====begin patch
@@ -6,4 +6,3 @@
 \usepackage[T1]{fontenc}
-\IfFileExists{url.sty}{\usepackage{url}}
-                      {\newcommand{\url}{\texttt}}
+\usepackage{url}
 
====end patch
#you have to do some latex to get the cross-references built
latex filename.tex
#then convert to html. I liked the following command line:
latex2html -local_icons -split 5 -link 2 filename.tex

My conversions where five documents on the order of 30 to 40 pages each but
it seemed simple once I had setup a Makefile to take care of the
patching(which you may not need), calling latex, and calling latex2html (it
took me a little while to find the combination of latex2html options I
liked).  It should be possible to pass command line options so you can even
have the lyx to LaTeX conversion done by the Makefile so you don't have to
do any GUI stuff ... I just never did that myself.

......

Another tool I have seen used is texi2html for the CVS manual
https://www.cvshome.org/docs/manual/cvs-1.11.19/cvs.html
https://texi2html.cvshome.org/
however the manual is in tex info format I think...not really sure what the
diff is between that and TeX.

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter

Reply via email to