From 6c23b6c5c4a8d7014a6dfd751bc1cab326902655 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 13 Nov 2018 22:48:18 +0000 Subject: svg (13nov18) git-svn-id: svn://tug.org/texlive/trunk@49148 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/svg/svg-extract.sty | 2 +- Master/texmf-dist/tex/latex/svg/svg.sty | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/svg') diff --git a/Master/texmf-dist/tex/latex/svg/svg-extract.sty b/Master/texmf-dist/tex/latex/svg/svg-extract.sty index 2a9e493ad3b..c174389e7ee 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}[% - 2018/10/17 v2.02a\space% + 2018/11/12 v2.02b\space% (extract independent graphics from SVG pictures)% ] \RequirePackage{svg}[2017/03/27] diff --git a/Master/texmf-dist/tex/latex/svg/svg.sty b/Master/texmf-dist/tex/latex/svg/svg.sty index 9840a435e26..2e482789186 100644 --- a/Master/texmf-dist/tex/latex/svg/svg.sty +++ b/Master/texmf-dist/tex/latex/svg/svg.sty @@ -33,7 +33,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{svg}[% - 2018/10/17 v2.02a\space% + 2018/11/12 v2.02b\space% (include SVG pictures)% ] \RequirePackage{scrbase}[2016/06/14] @@ -1132,14 +1132,15 @@ \expandafter\includegraphics\expandafter[\svg@tempb]{\svg@tempa}% \fi% } +\newcommand*\svg@picture@saved{} +\let\svg@picture@saved\picture +\newcommand*\svg@includegraphics@saved{} +\let\svg@includegraphics@saved\includegraphics \newcommand*\svg@patches[1]{% - \let\svg@picture@saved\picture% \let\picture\svg@picture@patched% - \let\svg@includegraphics@saved\includegraphics% \let\includegraphics\svg@includegraphics@patched% \edef\svg@includegraphics@file{#1}% } -\newcommand*\svg@picture@saved{} \newcommand*\svg@picture@patched{} \newcommand*\svg@pictur@patched{} \long\def\svg@picture@patched#1{\svg@pictur@patched@#1} @@ -1170,7 +1171,6 @@ \FamilyCounterKey{SVGpatch}{page}{svg@param@currpage} \DefineFamilyKey{SVGpatch}{width}{\FamilyKeyStateProcessed} \newcommand*\svg@includegraphics@file{} -\newcommand*\svg@includegraphics@saved{} \newcommand*\svg@includegraphics@patched[2][]{% \FamilyOptions{SVGpatch}{#1}% \ifnum\value{svg@param@lastpage}<\z@\relax% -- cgit v1.2.3