diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/svg.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/svg.4ht | 51 |
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 |