diff options
author | Karl Berry <karl@freefriends.org> | 2008-05-10 00:31:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-05-10 00:31:48 +0000 |
commit | 3affd633834494c279f96078e95831935ea51ca7 (patch) | |
tree | d18cbef6ade390df34099bff78c593f00e9d7971 /Master/texmf-dist/tex/generic/tex4ht/fig4tex.4ht | |
parent | 78d169458ffb8d121d56a1345471b5dbe3f17a2a (diff) |
tex4ht-1.0.2008_05_07_2048
git-svn-id: svn://tug.org/texlive/trunk@8000 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/fig4tex.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/fig4tex.4ht | 83 |
1 files changed, 72 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/fig4tex.4ht b/Master/texmf-dist/tex/generic/tex4ht/fig4tex.4ht index 3ab47790326..70e697d0f38 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/fig4tex.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/fig4tex.4ht @@ -1,15 +1,15 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% fig4tex.4ht 2007-01-03-21:02 % -% Copyright (C) 2004--2007 Eitan M. Gurari % +% fig4tex.4ht 2008-02-28-20:51 % +% Copyright (C) 2004--2008 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % % conditions of the LaTeX Project Public License, either % -% version 1.3 of this license or (at your option) any % +% version 1.3c of this license or (at your option) any % % later version. The latest version of this license is % % in % % http://www.latex-project.org/lppl.txt % -% and version 1.3 or later is part of all distributions % -% of LaTeX version 2003/12/01 or later. % +% and version 1.3c or later is part of all distributions % +% of LaTeX version 2005/12/01 or later. % % % % This work has the LPPL maintenance status "maintained".% % % @@ -24,15 +24,76 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2007-01-03-21:02} +\immediate\write-1{version 2008-02-28-20:51} \ifx \AtBeginDocument\UnDef - \AtBeginDocument{% - \let\:figvisu\figvisu - \def\figvisu#1#2#3{\:figvisu{#1}{#2}{\a:figvisu#3\b:figvisu}}} + \def\:tempc#1#2#3{% + \let\sv:EndPicture\EndPicture + \let\EndPicture\empty + \o:figvisu:{#1}{#2}{#3}% + \let\EndPicture\sv:EndPicture +}% +\HLet\figvisu\:tempc +\def\:tempc#1#2#3{% + \let\svEndPicture\EndPicture + \let\EndPicture\empty + \o:figvisu:{#1}{#2}{#3}% + \let\EndPicture\svEndPicture +}% +\HLet\figvisu\:tempc +\def\:tempc#1{% + \a:figvisu + \raise -\dp#1 \rlap{\vrule width .001pt height .001pt depth 0pt}% + \edef\:temp{\the\ht#1}% + \box#1% + \raise \:temp \llap{\vrule width .001pt height .001pt depth 0pt}% + \b:figvisu +} +\HLet\figbox\:tempc +\def\:tempc#1{% + \a:figvisu + \raise -\dp#1 \rlap{\vrule width .001pt height .001pt depth 0pt}% + \edef\:temp{\the\ht#1}% + \copy#1% + \raise \:temp \llap{\vrule width .001pt height .001pt depth 0pt}% + \b:figvisu +} +\HLet\figcopy\:tempc + \else - \let\:figvisu\figvisu - \def\figvisu#1#2#3{\:figvisu{#1}{#2}{\a:figvisu#3\b:figvisu}} + \AtBeginDocument{\def\:tempc#1#2#3{% + \let\sv:EndPicture\EndPicture + \let\EndPicture\empty + \o:figvisu:{#1}{#2}{#3}% + \let\EndPicture\sv:EndPicture +}% +\HLet\figvisu\:tempc +\def\:tempc#1#2#3{% + \let\svEndPicture\EndPicture + \let\EndPicture\empty + \o:figvisu:{#1}{#2}{#3}% + \let\EndPicture\svEndPicture +}% +\HLet\figvisu\:tempc +\def\:tempc#1{% + \a:figvisu + \raise -\dp#1 \rlap{\vrule width .001pt height .001pt depth 0pt}% + \edef\:temp{\the\ht#1}% + \box#1% + \raise \:temp \llap{\vrule width .001pt height .001pt depth 0pt}% + \b:figvisu +} +\HLet\figbox\:tempc +\def\:tempc#1{% + \a:figvisu + \raise -\dp#1 \rlap{\vrule width .001pt height .001pt depth 0pt}% + \edef\:temp{\the\ht#1}% + \copy#1% + \raise \:temp \llap{\vrule width .001pt height .001pt depth 0pt}% + \b:figvisu +} +\HLet\figcopy\:tempc +} \fi \NewConfigure{figvisu}{2} \Configure{figvisu}{\Picture+{}}{\EndPicture} |