[tex4ht-commits] [SCM] tex4ht updated: r603 - trunk/lit

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Sep 12 10:59:11 CEST 2019


Author: michal_h21
Date: 2019-09-12 11:59:11 +0300 (Thu, 12 Sep 2019)
New Revision: 603

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
   trunk/lit/tex4ht-ooffice.tex
Log:
Use -dusecropbox option for GhostScript in the PDF conversion

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-09-12 08:56:02 UTC (rev 602)
+++ trunk/lit/ChangeLog	2019-09-12 08:59:11 UTC (rev 603)
@@ -4,6 +4,9 @@
 	tex4ht-ooffice.tex (ooffice.4ht),
 	tex4ht-4ht.tex (graphics.4ht): fixed support for image dimensions, tex4ht
 	will try to explicitly set them when possible.
+	* tex4ht-html4.tex (html4.4ht),
+	tex4ht-ooffice.tex (ooffice.4ht): use the -dusecropbox option for
+	GhostScript in the PDF conversion.
 
 2019-09-10 Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2019-09-12 08:56:02 UTC (rev 602)
+++ trunk/lit/tex4ht-html4.tex	2019-09-12 08:59:11 UTC (rev 603)
@@ -13697,7 +13697,7 @@
 % 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 -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{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" "}
 \fi
 \Configure{graphics*}

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2019-09-12 08:56:02 UTC (rev 602)
+++ trunk/lit/tex4ht-ooffice.tex	2019-09-12 08:59:11 UTC (rev 603)
@@ -1032,7 +1032,7 @@
    \Picture[IMG]{{\imgBase\PictExt} |<graphics dimensions|>}}
 
 \NewConfigure{PdfConvert}{2}
-\Configure{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dBATCH -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{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dusecropbox -dBATCH -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{graphics*}
    {pdf}



More information about the tex4ht-commits mailing list