[l2h] Problems for making svg images on latex2html-2018.3

Shigeharu TAKENO shige at iee.niit.ac.jp
Wed Oct 23 04:19:29 CEST 2019


shige 10/23 2019
----------------

I found some problems for making svg images on latex2html-2018.3.

1) Compiling of images.tex makes some errors, especially for 
  display math environment.
2) Some doubly definitions lines exist in images.tex.

Un-necessary '}' is already fixed in latex2html-2019.2.

I think the attached patch below may be fix them, but it remains
some other problems:

3) By pdflatex or lualatex, positions of some math symbols (\int,
  or \sqrt) are not correct in pdf/dvi file (but by Japanese 
  latex command, platex, it does not occur). 
4) Images of displaymath environment and equation environment may
  be smaller than $ $ equation.

I don't know how to fix them.

----- From here -----
--- latex2html-2018.3/latex2html.pin.ORG	2019-10-23 10:46:15.247839000 +0900
+++ latex2html-2018.3/latex2html.pin	2019-10-23 10:47:34.443483000 +0900
@@ -7135,7 +7135,7 @@
     \lthtmlCropMarkDepth=\dp\lthtmlPageBox
     \lthtmltypeout{^^J:#1:lthtmlCropMarkHeight:=\the\lthtmlCropMarkHeight}%
     \lthtmltypeout{^^J:#1:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the \dimexpr 1ex}%
-    \begin{preview}\copy\lthtmlPageBox\end{preview}}}%
+    \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBox#1#2{%
     \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih at math %
@@ -7149,10 +7149,7 @@
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
     \long\def\lthtmlinlinemathA#1#2\lthtmlindisplaymathZ{\lthtmlTightVBox{#1}{#2}}
     \def\lthtmlinlineA#1#2\lthtmlinlineZ{\lthtmlTightVBox{#1}{#2}}
-    \long\def\lthtmldisplayA#1#2\lthtmldisplayZ{\lthtmlTightVBox{#1}{#2}}
-    \long\def\lthtmlinlinemathA#1#2\lthtmlindisplaymathZ{\lthtmlTightVBox{#1}{#2}}
-    \def\lthtmlinlineA#1#2\lthtmlinlineZ{\lthtmlTightVBox{#1}{#2}}
-    \long\def\lthtmldisplayA#1#2\lthtmldisplayZ{\lthtmlTightVBox{#1}{#2}}
+    \long\def\lthtmldisplayA#1#2\lthtmldisplayZ{\lthtmlTightFBox{#1}{#2}}
     \long\def\lthtmldisplayB#1#2\lthtmldisplayZ{\\edef\preveqno{(\theequation)}%
         \lthtmlTightVBox{#1}{\let\@eqnnum\relax#2}}
     \long\def\lthtmlfigureA#1#2\lthtmlfigureZ{\let\@savefreelist\@freelist
----- To here -----

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
+========================================================+


More information about the latex2html mailing list