diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-13 21:24:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-13 21:24:53 +0000 |
commit | 6c634330d8237f896bd34888cf362ba353b07d4c (patch) | |
tree | a464907871d46cf5f4ade550fb6f9a7fd976a301 /Master/texmf-dist/tex/latex/svg/svg-extract.sty | |
parent | 59f24f53372e296197c3983730dafbaa90bbfeee (diff) |
svg (13jan20)
git-svn-id: svn://tug.org/texlive/trunk@53389 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/svg/svg-extract.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/svg/svg-extract.sty | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/svg/svg-extract.sty b/Master/texmf-dist/tex/latex/svg/svg-extract.sty index fd29bc5ad96..6231ffa6329 100644 --- a/Master/texmf-dist/tex/latex/svg/svg-extract.sty +++ b/Master/texmf-dist/tex/latex/svg/svg-extract.sty @@ -33,7 +33,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2019-10-01] \ProvidesPackage{svg-extract}[% - 2019/10/22 v2.02d\space% + 2020/01/13 v2.02e\space% (extract independent graphics from SVG pictures)% ] \RequirePackage{svg}[2017/03/27] @@ -407,7 +407,7 @@ \renewcommand*\svgx@param@width{\z@}% \FamilyKeyStateProcessed% }{% - \ifstr{#1}{inherit}{% + \Ifstr{#1}{inherit}{% \renewcommand*\svgx@param@width{\svg@param@width}% \FamilyKeyStateProcessed% }{% @@ -427,7 +427,7 @@ \renewcommand*\svgx@param@height{\z@}% \FamilyKeyStateProcessed% }{% - \ifstr{#1}{inherit}{% + \Ifstr{#1}{inherit}{% \renewcommand*\svgx@param@height{\svg@param@height}% \FamilyKeyStateProcessed% }{% @@ -447,7 +447,7 @@ \@svgx@param@distortfalse% \FamilyKeyStateProcessed% }{% - \ifstr{#1}{inherit}{% + \Ifstr{#1}{inherit}{% \renewcommand*\if@svgx@param@distort{\if@svg@param@distort}% \FamilyKeyStateProcessed% }{% @@ -474,11 +474,11 @@ \renewcommand*\svgx@param@scale{1}% \FamilyKeyStateProcessed% }{% - \ifstr{#1}{inherit}{% + \Ifstr{#1}{inherit}{% \renewcommand*\svgx@param@scale{\svg@param@scale}% \FamilyKeyStateProcessed% }{% - \ifisdimension{#1\p@}{% + \Ifisdimension{#1\p@}{% \ifdim\dimexpr#1\p@\relax>\z@\relax% \renewcommand*\svgx@param@scale{#1}% \FamilyKeyStateProcessed% @@ -492,7 +492,7 @@ \svg@ifvalueisrelax{#1}{% \let\svgx@param@pretex\relax% }{% - \ifstr{#1}{inherit}{% + \Ifstr{#1}{inherit}{% \renewcommand*\svgx@param@pretex{\svg@param@pretex}% }{% \renewcommand*\svgx@param@pretex{#1}% @@ -505,7 +505,7 @@ \svg@ifvalueisrelax{#1}{% \let\svgx@param@apptex\relax% }{% - \ifstr{#1}{inherit}{% + \Ifstr{#1}{inherit}{% \renewcommand*\svgx@param@apptex{\svg@param@apptex}% }{% \renewcommand*\svgx@param@apptex{#1}% @@ -563,7 +563,7 @@ \newcommand*\svgx@onlywindows[1]{} \AfterPackage*{ifplatform}{\renewcommand*\svgx@onlywindows[1]{\ifwindows#1\fi}} \newcommand*\svgx@ifkeyandval[3]{% - \def\svg@tempa##1=##2=##3\@nil{\ifstr{##3}{=}{#2}{#3}}% + \def\svg@tempa##1=##2=##3\@nil{\Ifstr{##3}{=}{#2}{#3}}% \svg@tempa#1==\@nil% } \newcommand*\svgx@cnv@get@dpi[1]{% @@ -571,9 +571,9 @@ \def\svg@tempa##1dpi##2x##3dpi##4\@nil{% \edef\svg@tempa{##1}% \@svg@tempswafalse% - \ifnumber{##1}{% + \Ifnumber{##1}{% \IfArgIsEmpty{##3}{\@svg@tempswatrue}{% - \ifnumber{##3}{\edef\svg@tempa{##1x##3}}{}% + \Ifnumber{##3}{\edef\svg@tempa{##1x##3}}{}% }% }{}% \if@svg@tempswa\else% @@ -581,13 +581,13 @@ \fi% }% \def\svg@tempb##1x##2x##3\@nil{% - \ifstr{##3}{x}{% + \Ifstr{##3}{x}{% \@svg@tempswatrue% \IfArgIsEmpty{##1}{\@svg@tempswafalse}{% - \ifnumber{##1}{}{\@svg@tempswafalse}% + \Ifnumber{##1}{}{\@svg@tempswafalse}% }% \IfArgIsEmpty{##2}{\@svg@tempswafalse}{% - \ifnumber{##2}{}{\@svg@tempswafalse}% + \Ifnumber{##2}{}{\@svg@tempswafalse}% }% \if@svg@tempswa% \edef\svg@tempa{##1x##2}% @@ -727,11 +727,11 @@ \renewcommand*\svgx@param@angle{0}% \FamilyKeyStateProcessed% }{% - \ifstr{#1}{inherit}{% + \Ifstr{#1}{inherit}{% \renewcommand*\svgx@param@angle{\svg@param@angle}% \FamilyKeyStateProcessed% }{% - \ifisdimension{#1\p@}{% + \Ifisdimension{#1\p@}{% \renewcommand*\svgx@param@angle{#1}% \FamilyKeyStateProcessed% }{}% @@ -913,7 +913,7 @@ \fi% \let\svg@tempa\@empty% \if@svg@ink@latex% - \ifstr{\svg@ink@format}{pdf}{% + \Ifstr{\svg@ink@format}{pdf}{% \ifnum\value{svg@param@lastpage}>\z@\relax% \edef\svg@tempa{lastpage=\the\value{svg@param@lastpage}}% \else% @@ -952,7 +952,7 @@ }% \immediate\closeout\svgx@stream@out% \endgroup% - \ifstr{\svgx@format\svgx@cnv@format}{}{% + \Ifstr{\svgx@format\svgx@cnv@format}{}{% \PackageWarning{svg-extract}{% Both keys `extractformat' and `convertformat' are\MessageBreak% empty, so nothing to do so far% @@ -1102,13 +1102,13 @@ \def\svg@tempa##1{% \def\svg@tempa####1##1####2##1####3\@nil{% \IfArgIsEmpty{####3}{}{% - \ifstr{#2}{till}{% + \Ifstr{#2}{till}{% \IfArgIsEmpty{####1}{}{% \immediate\write\svgx@stream@out{####1}% }% \@svgx@preamble@writefalse% }{% - \ifstr{#2}{from}{% + \Ifstr{#2}{from}{% \IfArgIsEmpty{####2}{% \def\svgx@read@line{}% }{% |