summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/svg/svg-extract.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/svg/svg-extract.sty')
-rw-r--r--Master/texmf-dist/tex/latex/svg/svg-extract.sty20
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/svg/svg-extract.sty b/Master/texmf-dist/tex/latex/svg/svg-extract.sty
index b3d1a728880..5f9a6812971 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}
\ProvidesPackage{svg-extract}[%
- 2017/03/27 v2.00\space%
+ 2017/03/28 v2.00a\space%
(extract independent graphics from SVG pictures)%
]
\RequirePackage{svg}[2017/03/27]
@@ -613,26 +613,26 @@
}
\newbox\svgx@box
\newcommand*\svgxsetbox[2][]{%
- \sbox\svgx@box{\svg@@input[{#1},draft=false]{#2}}%
\csname @tud@x@standalone@croptrue\endcsname%
+ \sbox\svgx@box{\svg@@input[{#1},draft=false]{#2}}%
\svgxsetpapersize%
}
\newcommand*\svgxsetpapersize{%
\setlength\paperwidth{\the\wd\svgx@box}%
- \ifx\stockwidth\@undefined\else%
+ \scr@ifundefinedorrelax{stockwidth}{}{%
\setlength\stockwidth{\paperwidth}%
- \fi%
- \ifx\mediawidth\@undefined\else%
+ }%
+ \scr@ifundefinedorrelax{mediawidth}{}{%
\setlength\mediawidth{\paperwidth}%
- \fi%
+ }%
\setlength\textwidth{\paperwidth}%
\setlength\paperheight{\the\dimexpr\ht\svgx@box+\dp\svgx@box\relax}%
- \ifx\stockheight\@undefined\else%
+ \scr@ifundefinedorrelax{stockheight}{}{%
\setlength\stockheight{\paperheight}%
- \fi%
- \ifx\mediaheight\@undefined\else%
+ }%
+ \scr@ifundefinedorrelax{mediaheight}{}{%
\setlength\mediaheight{\paperheight}%
- \fi%
+ }%
\setlength\textheight{\paperheight}%
\hoffset=-1in%
\oddsidemargin=\z@%