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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Dec 27 21:23:16 CET 2018


Author: michal_h21
Date: 2018-12-27 22:23:16 +0200 (Thu, 27 Dec 2018)
New Revision: 469

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
Added basic support for the svg package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2018-12-27 20:01:42 UTC (rev 468)
+++ trunk/lit/ChangeLog	2018-12-27 20:23:16 UTC (rev 469)
@@ -3,6 +3,7 @@
 	* tex4ht-svg.tex (svg-option.4ht, html4-svg.4ht): renamed svg.4ht to
 	svg-option.4ht due to name conflict with svg.sty.
 	* tex4ht-options.tex (tex4ht.4ht): use svg-option.4ht instead of svg.4ht.
+	* tex4ht-4ht.tex (svg.4ht): added basic support for the svg.sty package.
 
 2018-12-20  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2018-12-27 20:01:42 UTC (rev 468)
+++ trunk/lit/Makefile	2018-12-27 20:23:16 UTC (rev 469)
@@ -56,7 +56,7 @@
   quoting.4ht \
   reading.4ht \
   scrartcl.4ht scrbook.4ht scrreprt.4ht sectionbreak.4ht \
-	skak.4ht spanish.4ht subscript.4ht \
+	skak.4ht spanish.4ht subscript.4ht svg.4ht \
   titlesec.4ht tocloft.4ht tuenc-luatex.4ht tuenc-xetex.4ht \
   usepackage.4ht usepackage-fontspec.4ht \
   wrapfig.4ht \

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2018-12-27 20:01:42 UTC (rev 468)
+++ trunk/lit/mktex4ht-cnf.tex	2018-12-27 20:23:16 UTC (rev 469)
@@ -176,6 +176,7 @@
 \AddFile{7}{epsfig}
 \AddFile{4}{graphics}
 \AddFile{4}{graphicx}
+\AddFile{9}{svg}
 \AddFile{9}{endfloat}
 \AddFile{9}{mfpic}
 \AddFile{9}{pb-diagram}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2018-12-27 20:01:42 UTC (rev 468)
+++ trunk/lit/tex4ht-4ht.tex	2018-12-27 20:23:16 UTC (rev 469)
@@ -24868,10 +24868,33 @@
 use  instructions like \`'\setlength\tmp:dim\Gin at ewidth'  instead of 
 \`'\tmp:dim=\Gin at ewidth'.
 
+
 %%%%%%%%%%%%%%%%%%%%%%%
-\SubSection{endfloat}
+\Section{svg}
 %%%%%%%%%%%%%%%%%%%%%%%
 
+\<svg.4ht\><<<
+% svg.4ht (|version), generated from |jobname.tex
+% Copyright 2018 TeX Users Group
+|<TeX4ht license text|>
+|<svg config|>
+\Hinput{svg}
+\endinput
+>>>  \AddFile{9}{svg}
+
+\<svg config\><<<
+\renewcommand\includesvg[2][]{%
+% detect if an extension has been used
+\filename at parse{#2}
+\@ifundefined{filename at ext}{\edef\svg:filename{#2.svg}}{\edef\svg:filename{#2}}
+\includegraphics{\svg:filename}
+}
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%
+\Section{endfloat}
+%%%%%%%%%%%%%%%%%%%%%%%
+
 \<endfloat.4ht\><<<
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
 % endfloat.4ht                          |version %



More information about the tex4ht-commits mailing list