From: Ares <[EMAIL PROTECTED]>
Hello everyone,

I wrote a nice user manual for my application in LyX and I wanted to
translate it to html to inlcude it direclty in the user interface (I
know pdf with hyperref can do wonderful things but I want to play with
html now).

After some trouble (always the same problem of compatibility of
hyperref package) I manage to have a good html by:
1. exporting foo.lyx to foo.tex (plain)
2. latex foo
3. bibtex foo
3. latex foo
4. latex foo
3. htlatex foo "html"

except that figures look very bad (not all) as I suspect they are
converted from png to eps to jpg and resized as well somewhere. but
this is not my concern now.

try
\usepackage{graphicx}
in the preamble, and
\DeclareGraphicsExtensions{.png,.eps,.ps}
in your document. This shall avoid useless file conversions.


I try to do:

htlatex foo "html,2,frames"

as suggested in the tex4ht doc
(file:///C:/Programmi/MiKTeX%202.5/doc/tex4ht/tex4ht/mn.html) to
"break up the output into separate web pages, in accordance to the two
top sectioning levels of the document" and to "place the content and
table of contents in separate frames".

what I get is a single file, in one single frame.

The funny thing is that I managed to achive the desired result some
time ago on the same machine. by the way I'm on WinXP, LyX 1.4.3,
freshly updated MiKTeX 2.5

To solve this problem, try renaming the htlatex.exe file (which is
equivalent to deleting it while saving it for later) and moving the
htlatex.bat file to the htlatex.exe folder (you have to locate these
two files - exe and bat - on your machine). thanks to Eitan M. Gurari.

--

Diego
http://www.webalice.it/ares001/

|   __o    | It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission

Reply via email to