[l2h] Re: latex2html return of table bug

Daniel Clemente n142857 at gmail.com
Tue Sep 13 20:41:19 CEST 2005


>The bug you fixed a while back where LyX documents with tables were
>badly rendered by latex2html into webpages (truncating the table after
>the 1st row) seems to have come back - at least on the SuSE 9.3 distro.

   It may not be fixed yet; I don't know when a new version of
latex2html will come out.

   For the moment, you can apply the patch manually (it's just adding
one line):
   http://www.danielclemente.com/linux/l2h.html




--- /usr/bin/latex2html 2004-08-27 15:30:15.000000000 +0200
+++ latex2html  2005-03-06 03:01:56.000000000 +0100
@@ -5276,6 +5276,12 @@ sub substitute_meta_cmds {
            elsif ($this_cmd) { push(@pieces, $this_cmd) }
          }
          push(@pieces, $after);
+
+          # added by DCL (patch from Ross Moore).
+         # See
http://www.tug.org/pipermail/latex2html/2004-February/002640.html
+         # 
+         # after the first segment we should no longer be in the preamble.
+         $within_preamble = 0;
        }
        print " $replacements new-command replacements\n"
            if (($VERBOSITY>1) && $replacements);
  



   I hope that solves the problem.

   Daniel



More information about the latex2html mailing list