Jean-Pierre Chretien wrote:
Date: Wed, 30 Aug 2006 06:32:50 -0700
From: TechTonics <[EMAIL PROTECTED]>
To: Jean-Pierre Chretien <[EMAIL PROTECTED]>
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

Jean-Pierre Chretien wrote:
[...]
On native Windows, View -> Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.

?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:....myfile.ps. maybe there are other flaws.

Formatting is lost but it will include/display one of many .png images.

IOW, View->Html, is close to completely broken on the Windows platform.

If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. I use htlatex coming with proTeXt, may be it has improved since the packaging (nov. 2005) ?


Well, under Miktex2.4 or Miktex2.5(just released) htlatex
works correctly from the command line. I think the htlatex
package was updated in 2006. The files are larger and also
correctly named myfile.html when done from the command line.
This is the same experience that Miki Dovrat reported. The
footnote for splash.lyx is created in another html file is the
only problem I notice from file creation from the command line.

Using View->Html with LyX, the output file is misnamed, htm,
the .lg file is much smaller and the .htm is also small in
comparison and unformatted.

Usually, running a tool from the command line and seeing
if it works properly is how to tell if it is the the tool
or LyX. For instance one tests Aspell with Aspell -c badwords.txt
and if it works from the command line but not from LyX, it is
LyX, or Lyx's configuration where the problem resides. Nor does
Cygwin produce the right output from LyX and Cygwin is fully
as capable as Linux in other areas, as far as I know.

Regards,
Stephen

Reply via email to