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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Feb 2 00:19:26 CET 2017


Author: michal_h21
Date: 2017-02-02 01:19:26 +0200 (Thu, 02 Feb 2017)
New Revision: 240

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-env.tex
Log:
use dvipng for bitmap conversion by default

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2017-02-01 20:08:46 UTC (rev 239)
+++ trunk/lit/ChangeLog	2017-02-01 23:19:26 UTC (rev 240)
@@ -1,7 +1,8 @@
 2017-02-01  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-env.tex (tex4ht.env-unix, tex4ht.env-win32):
-	Use dvisvgm for SVG production by default. 
+	Use dvisvgm for SVG production and dvipng for bitmap production by 
+	default.
 
 2017-01-31  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-env.tex
===================================================================
--- trunk/lit/tex4ht-env.tex	2017-02-01 20:08:46 UTC (rev 239)
+++ trunk/lit/tex4ht-env.tex	2017-02-01 23:19:26 UTC (rev 240)
@@ -690,14 +690,14 @@
 <netpbm>
 @<unix netpbm@>
 </netpbm>
-@<dvipng@>
- <convert>
+<convert>
 @<unix png gs@>
 @<unix svg@>
 G.
 @<unix dvips convert@>
 @<variants of convert@>
- </convert>    
+</convert>    
+@<dvipng@>
 @<request scripts@> %
 >>>
 
@@ -721,14 +721,14 @@
 <netpbm>
 @<dos netpbm@>
 </netpbm>
-@<dvipng@>
 @<win gs@>
-  <convert>
+<convert>
 @<dos png gs@>
 @<win32 svg@>
 G.
 @<dos dvips convert@>
-  </convert>
+</convert>
+@<dvipng@>
 @<request scripts@> %
 >>>
 
@@ -930,20 +930,21 @@
 \subsection{Script: dvipng}
 %%%%%%%%%%%%%
 
-\<dvipng\><<<
-<dvipng>
+ \<dvipng\><<<
+ <dvipng>
 G.png
 %echo "dbg: got to dvi to png via (dvipng)"
-Gdvipng -T tight -x 1400 -D 72 -bg Transparent -pp %%2:%%2 %%1 -o %%3
+Gdvipng -T tight -D 144 -bg Transparent -pp %%2:%%2 %%1 -o %%3
 G.gif
-Gdvipng -T tight -x 1400 -D 72 -bg Transparent -gif -pp %%2:%%2 %%1 -o %%3
+Gdvipng -T tight -D 144 -bg Transparent -gif -pp %%2:%%2 %%1 -o %%3
+@<unix svg@>
 G.
-Gdvipng -T tight -x 1400 -D 72 -bg Transparent -pp %%2:%%2 %%1 -o %%3
+Gdvipng -T tight -D 144 -bg Transparent -pp %%2:%%2 %%1 -o %%3
 % avoiding convert for mactex.
 % Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps
 % Gconvert -crop 0x0 -density 110x110 -transparent '#FFFFFF' zz%%4.ps %%3
 %Grm zz%%4.ps
-</dvipng>
+  </dvipng>
 >>>
 
 



More information about the tex4ht-commits mailing list