Hi all!

Yesterday I (sort of) succeeded in running LaTeX2HTML (98.1p5) on my Win95
system. I made the following experiences:

- There are lots of errors in the main script wrt. the handling of the
  path delimiter $dd. Examples:
  1. =~ /^$dd/ is bound to fail when $dd is '\'.
     Solution: =~ /^\Q$dd\E/

  2. =~ /[^$dd]*/ fails, too. \Q...\E does not work here, but a trick:
     Solution: =~ /[^$dd$dd]*/

  3. (no solution here, I did a hardcoded change to make it work)
     Although initially $dd is set to '\', it gets set to '/'
     somewhere. I couldn't find the place. This results in mixed paths:
     e.g. C:\latex2html\test/doc1/images.dvi

- The TMPDIR stuff is awfully complicated. Paths in the calls to dvips and
  pstoimg miss directory separators. A thorough cleanup is necessary here.

- This is a hard one: dvips does not generate fonts if they are missing.
  On the other hand, when calling dvips on the LaTeXed source file, then
  fonts are generated and later recognized by dvips when run from
  LaTeX2HTML. Strange, no idea how to fix this.

- In pstoimg: Ghostscript does not recognize paths in the command
  GS> (C:\latex2html\test\image001.ps) run
  By the way: does it recognize C:/latex2html/test/image001.ps ?
  Solution: "cd" into the directory before running gs and change the
  command to
  GS> (image001.ps) run

- Pipes seem to work only partially on Win95, i.e. in a multiple pipe
  A < input | B | C | D > output e.g. the processes C and D seem to get
  bypassed! I noticed that sometimes C *does* get processed, but not D.
  Solution: Use pstoimg_nopipes

I am still working on the new pstoimg and configuration procedure. These
changes will get implemented there of course.

Ross & others: When will 98.2 be released? I'd like to start to merge this
98.2 with my work then. Or should I start to merge immediately? Note that
this merge will take some time to produce a stable release then, so
creating bugfixes like 98.1p6 etc. will not be possible in the repository.
But I believe that it definitely will bring improvements wrt. portability.
And it gives me the chance to work on the cleanup of TMPDIR etc.

How to proceed?

Cheers,

Marek

Reply via email to