----- Original Message ----- From: "Lee Yeoh" <[EMAIL PROTECTED]>
To: <lyx-users@lists.lyx.org>
Sent: Wednesday, March 08, 2006 12:45 AM
Subject: converting to html


Hi,

I've just dowloaded Lyx 1.3.7, and am using it on a mac OS X 10.4.5. I'm finding it very cool, a little bit of a learning curve to start with, but pretty good in the end.

I'm specifically having problems converting to html (I want some documents on my palm v.4.1, which seems to have no DVI viewer or decent PDF viewer available, unfortunately).

I can export fine, but the html file appears to reference several .png files for some of the mathematical symbols that aren't created. I thought it might have had something to do with not having libpng, so i got that too, but that made no difference.

I googled exhaustively, and checked the wiki, but to no avail. If anyone can help me out it would be much appreciated.

Thanks,
Lee.

--
Lee Yeoh
<[EMAIL PROTECTED]>



I would go to a temp directory under the /texmf tree and
place the .tex file which you want to convert there.
Run "htlatex foo.tex" from the command line.
This should generate an html file plus a bunch of png
files (maybe in sub-directory of the temp directory).

Now load the file in a web browser. Does it display
properly? If not, check to see if the png file actually
exists but the path to it is incorrect in the html source.

If it works on your machine, then it should work later.
on the Palm. If it doesn't display on the Palm later then
the html file and image files (which are in another sub-dir
having the same name) both haven't been transported
to the Palm. In the Html file under View, you can see
the source which can be edited in a text editor. I've
had to edit the source because the directory on the
machine one have moved the html file and sub-dir to,
doesn't have the same directory structure as the machine
that the html file was created on (also check image filename).
htlatex or some other html converter comes bundled with
Latex and LyX invokes htlatex to convert html files. The
conversions always have to be proofread. And there is a
htlatex webpage that explains how to tweak the conversion
with different switches from the command line. If you have
some png images which display then edit the source code
to make any images which don't display appear by using
the format; model the typing structure that does work.
I haven't had the experience where some png files were
not generated. Do all the images appear if you View the
document in pdf format before exporting to html?

Regards,
Stephen

Reply via email to