summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/svg/svg-extract.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-06 21:53:10 +0000
committerKarl Berry <karl@freefriends.org>2017-06-06 21:53:10 +0000
commitd036e1b1dc4d59e9ce15b37af93ae0b55a50520c (patch)
treefed1cb3844410d28a9137ef55dc762443ccfb433 /Master/texmf-dist/tex/latex/svg/svg-extract.sty
parentf9a711de58ce886e55f254d2a876714624dcdfb4 (diff)
svg (24may17)
git-svn-id: svn://tug.org/texlive/trunk@44503 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.sty11
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/svg/svg-extract.sty b/Master/texmf-dist/tex/latex/svg/svg-extract.sty
index 5f9a6812971..fb2a247af56 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/28 v2.00a\space%
+ 2017/05/23 v2.00b\space%
(extract independent graphics from SVG pictures)%
]
\RequirePackage{svg}[2017/03/27]
@@ -611,6 +611,13 @@
\fi%
}%
}
+\newcommand*\svgxdelayed[1]{
+ \scr@ifundefinedorrelax{AtEndPreamble}{%
+ \AtBeginDocument{#1}%
+ }{%
+ \AtEndPreamble{\AtBeginDocument{#1}}%
+ }%
+}
\newbox\svgx@box
\newcommand*\svgxsetbox[2][]{%
\csname @tud@x@standalone@croptrue\endcsname%
@@ -872,7 +879,7 @@
}{}%
\fi%
\immediate\write\svgx@stream@out{%
- \string\AtBeginDocument{\@percentchar^^J%
+ \string\svgxdelayed{\@percentchar^^J%
\space\space\svg@tempa\@percentchar^^J%
}^^J^^J%
\string\begin{document}^^J%