diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-28 20:37:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-28 20:37:19 +0000 |
commit | 5975d8c977cc3272d11169c088e93e55efbc5940 (patch) | |
tree | 2b60751d4a956800ef8914f94164da17be872b59 /Master/texmf-dist/tex/latex/svg/svg.sty | |
parent | d56ae4d233bc34232b04ca2acd9b7c56c3926741 (diff) |
svg (28mar17)
git-svn-id: svn://tug.org/texlive/trunk@43629 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/svg/svg.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/svg/svg.sty | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/svg/svg.sty b/Master/texmf-dist/tex/latex/svg/svg.sty index f0689b8e64f..b56cd97d76f 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}[% - 2017/03/27 v2.00\space% + 2017/03/28 v2.00a\space% (include SVG pictures)% ] \RequirePackage{scrbase}[2016/06/14] @@ -56,7 +56,6 @@ \newcommand*\svg@tempa{} \newcommand*\svg@tempb{} \newif\if@svg@tempswa -\newcount\svg@tempcnt \newif\if@svg@use@xcolor \FamilyBoolKey{SVG}{usexcolor}{@svg@use@xcolor} \DeclareOption{noxcolor}{\FamilyOptions{SVG}{usexcolor=false}} @@ -872,33 +871,33 @@ \newcommand*\svg@get@lastpage[1]{% \ifstr{\svg@ink@format}{pdf}{% \begingroup% - \svg@tempcnt=\m@ne\relax% + \@tempcnta=\m@ne\relax% \ifx\XeTeXpdfpagecount\@undefined% \ifpdf% \ifx\pdfximage\@undefined% \ifx\saveimageresource\@undefined\else% \saveimageresource{#1}% - \svg@tempcnt=\lastsavedimageresourcepages\relax% + \@tempcnta=\lastsavedimageresourcepages\relax% \fi% \else% \pdfximage{#1}% - \svg@tempcnt=\pdflastximagepages\relax% + \@tempcnta=\pdflastximagepages\relax% \fi% \fi% \else% - \svg@tempcnt=\XeTeXpdfpagecount#1\relax% + \@tempcnta=\XeTeXpdfpagecount#1\relax% \fi% - \ifnum\svg@tempcnt=\m@ne\relax% + \ifnum\@tempcnta=\m@ne\relax% \PackageWarning{svg}{% It wasn't possible to detect the last page\MessageBreak% of `#1'% }% \else% - \PackageInfo{svg}{Last page of `#1' is \the\svg@tempcnt}% + \PackageInfo{svg}{Last page of `#1' is \the\@tempcnta}% \fi% \edef\svg@tempa{% \noexpand\endgroup% - \noexpand\FamilyOptions{SVG}{lastpage=\the\svg@tempcnt}% + \noexpand\FamilyOptions{SVG}{lastpage=\the\@tempcnta}% }% \svg@tempa% }{}% |