summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/svg.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-06 01:23:33 +0000
committerKarl Berry <karl@freefriends.org>2006-12-06 01:23:33 +0000
commit3b0d4121fbdaa8b4dc48c1aeab08bd63d71d0307 (patch)
treec0e71b65ec445e74e995d7853a367aa30e50f0dd /Master/texmf-dist/tex/generic/tex4ht/svg.4ht
parentee72c8e218febb4e5e2395951e36cd91b36aabcd (diff)
tex4ht-1.0.2006_12_04_1651
git-svn-id: svn://tug.org/texlive/trunk@2598 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/svg.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/svg.4ht51
1 files changed, 42 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/svg.4ht b/Master/texmf-dist/tex/generic/tex4ht/svg.4ht
index bff015bc71b..11e4c73c2b3 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/svg.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/svg.4ht
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% svg.4ht 2005-10-23-20:28 %
-% Copyright (C) 2001--2005 Eitan M. Gurari %
+% svg.4ht 2006-11-25-15:34 %
+% Copyright (C) 2001--2006 Eitan M. Gurari %
% %
% This program can redistributed and/or modified unde r %
% the terms of the LaTeX Project Public License %
@@ -20,8 +20,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2005-10-23-20:28}
-\exit:ifnot{tex4ht,%
+\immediate\write-1{version 2006-11-25-15:34}
+\exit:ifnot{graphics,%
+tex4ht,%
th4}
@@ -70,9 +71,9 @@ th4}
{\special{t4ht=" }}
{\special{t4ht=/></object>}}
- \else
- \Log:Note{to request external SVG files
- use the command line option `svg-obj' of 'svg-'}
+\else
+ \Log:Note{for external SVG files
+ try the command line options `svg-obj' and 'svg-'}
\Configure{IMG}
{\special{t4ht=<!-- src="}}
{\special{t4ht=" alt="}}
@@ -107,6 +108,40 @@ th4}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{graphics}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{graphics*}
+ {svg}
+ {{\Configure{Needs}{File: \csname Gin@base\endcsname.svg}\Needs{}}%
+ \special{t4ht=<object type="image/svg+xml"
+ data="\Gin@base.svg"
+ name="picture \Gin@base"
+ class="graphics"></object><!--tex4ht:graphics \csname a:Gin-dim\endcsname
+-->}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -455,7 +490,5 @@ th4}
-
-
\endinput