texlive[58181] Master/texmf-dist/tex/generic/tex4ht: graphics,

commits+karl at tug.org commits+karl at tug.org
Sun Mar 7 00:59:47 CET 2021


Revision: 58181
          http://tug.org/svn/texlive?view=revision&revision=58181
Author:   karl
Date:     2021-03-07 00:59:47 +0100 (Sun, 07 Mar 2021)
Log Message:
-----------
graphics, caption, everypar fixes, tex4ht r893-895

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=893

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht	2021-03-06 22:25:11 UTC (rev 58180)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht	2021-03-06 23:59:47 UTC (rev 58181)
@@ -1,4 +1,4 @@
-% caption.4ht (2021-02-14-13:56), generated from tex4ht-4ht.tex
+% caption.4ht (2021-03-06-13:30), generated from tex4ht-4ht.tex
 % Copyright 2007-2009 Eitan M. Gurari
 % Copyright 2009-2021 TeX Users Group
 %
@@ -54,6 +54,11 @@
   \caption at make@below%
 }
 
+ \renewcommand*\caption@@@addcontentsline[4]{%
+   \addcontentsline{#1}{#2}{\protect\numberline{#3}{\detokenize{#4}}}%
+ }
+
+
 \Hinput{caption}
 \endinput
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2021-03-06 22:25:11 UTC (rev 58180)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2021-03-06 23:59:47 UTC (rev 58181)
@@ -1,4 +1,4 @@
-% html4.4ht (2021-03-04-15:22), generated from tex4ht-html4.tex
+% html4.4ht (2021-03-06-13:31), generated from tex4ht-html4.tex
 % Copyright 2009-2020 TeX Users Group
 % Copyright 1997-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-03-04-15:22}
+\immediate\write-1{version 2021-03-06-13:31}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -11403,6 +11403,9 @@
 \Configure{ImageMagick}{convert}
 \Configure{Ghostscript}{rungs}
 
+\ifx\gr:density\empty
+\gdef\gr:density{300}
+\fi
 
 \NewConfigure{EpsConvert}{1}
 \NewConfigure{PdfConvert}{2}
@@ -11416,8 +11419,8 @@
 % it is better to use the following command. pdf2svg must be installed separately.
 \Configure{EpsConvert}{"epstopdf "\Gin at base.eps"  && pdf2svg "\Gin at base.pdf" "\Gin at base.svg""}
 \else
-\Configure{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dBATCH -dusecropbox -sDEVICE=pngalpha -r300 \ifx\Gin at page\@empty\else -dFirstPage="\Gin at page"  -dLastPage="\Gin at page"\fi\space -sOutputFile="\Gin at base-\Gin at page.\a:PdfConvert" "\Gin at base.pdf" "}
-\Configure{EpsConvert}{"\a:Ghostscript\space -dSAFER    -dBATCH    -dNOPAUSE    -dEPSCrop    -r120  -sDEVICE=pngalpha -sOutputFile="\Gin at base.png" "\Gin at base.eps" "}
+\Configure{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dBATCH -dusecropbox -sDEVICE=pngalpha -r\gr:density\space \ifx\Gin at page\@empty\else -dFirstPage="\Gin at page"  -dLastPage="\Gin at page"\fi\space -sOutputFile="\Gin at base-\Gin at page.\a:PdfConvert" "\Gin at base.pdf" "}
+\Configure{EpsConvert}{"\a:Ghostscript\space -dSAFER    -dBATCH    -dNOPAUSE    -dEPSCrop    -r\gr:density\space -sDEVICE=pngalpha -sOutputFile="\Gin at base.png" "\Gin at base.eps" "}
 \fi
 \Configure{graphics*}
    {pdf}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty	2021-03-06 22:25:11 UTC (rev 58180)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty	2021-03-06 23:59:47 UTC (rev 58181)
@@ -1,7 +1,7 @@
 \ifnum\the\catcode`\%=14\else\expandafter\edef\csname
   \string:RestoreCatcodes\endcsname{\catcode`\%\the
   \catcode`\%}\catcode`\%14\fi
-% tex4ht.sty (2021-01-02-13:53), generated from tex4ht-sty.tex
+% tex4ht.sty (2021-03-06-13:30), generated from tex4ht-sty.tex
 % Copyright 2009-2021 TeX Users Group
 % Copyright 1996-2009 Eitan M. Gurari
 %
@@ -20,7 +20,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-01-02-13:53}
+\immediate\write-1{version 2021-03-06-13:30}
 
 
 \ifx  \Preamble\UnDef  \else
@@ -848,6 +848,10 @@
 \ifx \:temp\:tempa
    \let\ht:everypar\everypar
 \else
+   % LaTeX kernel will patch \everypar in future releases,
+   % so this test will always fail. We should define \ht:everypar
+   % anyway, paragraph handling would fail otherwise
+   \let\ht:everypar\everypar
    \:warning{nonprimitive \string\everypar}
 \fi
 \edef\NoHtmlEnv{%



More information about the tex-live-commits mailing list.