texlive[49148] Master/texmf-dist: svg (13nov18)
commits+karl at tug.org
commits+karl at tug.org
Tue Nov 13 23:48:18 CET 2018
Revision: 49148
http://tug.org/svn/texlive?view=revision&revision=49148
Author: karl
Date: 2018-11-13 23:48:18 +0100 (Tue, 13 Nov 2018)
Log Message:
-----------
svg (13nov18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/svg/README.md
trunk/Master/texmf-dist/doc/latex/svg/svg.pdf
trunk/Master/texmf-dist/source/latex/svg/svg.dtx
trunk/Master/texmf-dist/tex/latex/svg/svg-extract.sty
trunk/Master/texmf-dist/tex/latex/svg/svg.sty
Modified: trunk/Master/texmf-dist/doc/latex/svg/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/svg/README.md 2018-11-13 18:47:35 UTC (rev 49147)
+++ trunk/Master/texmf-dist/doc/latex/svg/README.md 2018-11-13 22:48:18 UTC (rev 49148)
@@ -5,7 +5,7 @@
Copyright (C) Philip Ilten <philten at cern.ch>, 2012-2016
Copyright (C) Falk Hanisch <hanisch.latex at outlook.com>, 2017-
- svg 2018/10/17 v2.02a
+ svg 2018/11/12 v2.02b
----------------------------------------------------------------------------
@@ -34,8 +34,11 @@
Versions
--------
+**v2.02b** (2018/11/12)
++ fix bug for package **tikzscale** which changes `includgraphics` globally
+
**v2.02a** (2018/10/17)
-+ fix bug of package **polyglossia** which fakes **babel** poorly
++ fix bug for package **polyglossia** which fakes **babel** poorly
**v2.02** (2018/09/08)
+ distortion of included and extracted graphics supported with options `distort`
Modified: trunk/Master/texmf-dist/doc/latex/svg/svg.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/svg/svg.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/svg/svg.dtx 2018-11-13 18:47:35 UTC (rev 49147)
+++ trunk/Master/texmf-dist/source/latex/svg/svg.dtx 2018-11-13 22:48:18 UTC (rev 49148)
@@ -115,7 +115,7 @@
%<package&option&base>\ProvidesPackage{svg}[%
%<package&option&extract>\ProvidesPackage{svg-extract}[%
%<*driver|package&option>
- 2018/10/17 v2.02a\space%
+ 2018/11/12 v2.02b\space%
%<package&option&base> (include SVG pictures)%
%<package&option&extract> (extract independent graphics from SVG pictures)%
]
@@ -251,8 +251,12 @@
% as well as rotation for extractions (\opt{extractangle})
% }^^A
% \changes{v2.02a}{2018/10/17}{%
-% fix bug of package \pkg{polyglossia} which fakes \pkg{babel} poorly%
+% fix bug for package \pkg{polyglossia} which fakes \pkg{babel} poorly%
% }^^A
+% \changes{v2.02b}{2018/11/12}{%
+% fix bug for package \pkg{tikzscale} which changes \cs{includegraphics}
+% globally%
+% }^^A
% \ToDo{Workaround for missing \cs{transparent} (Lua\TeX lacks support)}[v2.03]
%
%
@@ -3220,26 +3224,34 @@
% \subsection{Patches}
%
% \begin{macro}{\svg at patches}
+% \changes{v2.02b}{2018/11/12}{%
+% fix bug for package \pkg{tikzscale}: store original definitions of
+% \cs{picture} and \cs{includegraphics} right after loading package \pkg{svg}
+% }^^A
+% \begin{macro}{\svg at picture@saved}
+% \begin{macro}{\svg at includegraphics@saved}
% For including the export results from \app{Inkscape} with \LaTeX~support
% enabled, there are some patches necessary for environment \env{picture} and
% \cs{includegraphics}. Those patches are done with \cs{svg at patches}.
% \begin{macrocode}
+\newcommand*\svg at picture@saved{}
+\let\svg at picture@saved\picture
+\newcommand*\svg at includegraphics@saved{}
+\let\svg at includegraphics@saved\includegraphics
\newcommand*\svg at patches[1]{%
- \let\svg at picture@saved\picture%
\let\picture\svg at picture@patched%
- \let\svg at includegraphics@saved\includegraphics%
\let\includegraphics\svg at includegraphics@patched%
\edef\svg at includegraphics@file{#1}%
}
% \end{macrocode}
+% \end{macro}^^A \svg at includegraphics@saved
+% \end{macro}^^A \svg at picture@saved
% \end{macro}^^A \svg at patches
-% \begin{macro}{\svg at picture@saved}
% \begin{macro}{\svg at pictur@patched}
% In order to provide the possibility specify the desired width of a graphic,
% the appropriate \cs{unitlength} is calculated at the beginning of the
% \env{picture}~environment.
% \begin{macrocode}
-\newcommand*\svg at picture@saved{}
\newcommand*\svg at picture@patched{}
\newcommand*\svg at pictur@patched{}
\long\def\svg at picture@patched#1{\svg at pictur@patched@#1}
@@ -3279,8 +3291,6 @@
}
% \end{macrocode}
% \end{macro}^^A \svg at pictur@patched
-% \end{macro}^^A \svg at picture@saved
-% \begin{macro}{\svg at includegraphics@saved}
% \begin{macro}{\svg at includegraphics@patched}
% \begin{macro}{\svg at includegraphics@file}
% The patch to \cs{includegraphics} is meant to dissolve the \app{Inkscape} bug
@@ -3297,7 +3307,6 @@
\FamilyCounterKey{SVGpatch}{page}{svg at param@currpage}
\DefineFamilyKey{SVGpatch}{width}{\FamilyKeyStateProcessed}
\newcommand*\svg at includegraphics@file{}
-\newcommand*\svg at includegraphics@saved{}
\newcommand*\svg at includegraphics@patched[2][]{%
\FamilyOptions{SVGpatch}{#1}%
% \end{macrocode}
@@ -3326,7 +3335,6 @@
% \end{macrocode}
% \end{macro}^^A \svg at includegraphics@file
% \end{macro}^^A \svg at includegraphics@patched
-% \end{macro}^^A \svg at includegraphics@saved
%
% \iffalse
%</body>
Modified: trunk/Master/texmf-dist/tex/latex/svg/svg-extract.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/svg/svg-extract.sty 2018-11-13 18:47:35 UTC (rev 49147)
+++ trunk/Master/texmf-dist/tex/latex/svg/svg-extract.sty 2018-11-13 22:48:18 UTC (rev 49148)
@@ -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]
Modified: trunk/Master/texmf-dist/tex/latex/svg/svg.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/svg/svg.sty 2018-11-13 18:47:35 UTC (rev 49147)
+++ trunk/Master/texmf-dist/tex/latex/svg/svg.sty 2018-11-13 22:48:18 UTC (rev 49148)
@@ -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 at tempb]{\svg at tempa}%
\fi%
}
+\newcommand*\svg at picture@saved{}
+\let\svg at picture@saved\picture
+\newcommand*\svg at includegraphics@saved{}
+\let\svg at includegraphics@saved\includegraphics
\newcommand*\svg at patches[1]{%
- \let\svg at picture@saved\picture%
\let\picture\svg at picture@patched%
- \let\svg at includegraphics@saved\includegraphics%
\let\includegraphics\svg at includegraphics@patched%
\edef\svg at includegraphics@file{#1}%
}
-\newcommand*\svg at picture@saved{}
\newcommand*\svg at picture@patched{}
\newcommand*\svg at pictur@patched{}
\long\def\svg at picture@patched#1{\svg at pictur@patched@#1}
@@ -1170,7 +1171,6 @@
\FamilyCounterKey{SVGpatch}{page}{svg at param@currpage}
\DefineFamilyKey{SVGpatch}{width}{\FamilyKeyStateProcessed}
\newcommand*\svg at includegraphics@file{}
-\newcommand*\svg at includegraphics@saved{}
\newcommand*\svg at includegraphics@patched[2][]{%
\FamilyOptions{SVGpatch}{#1}%
\ifnum\value{svg at param@lastpage}<\z@\relax%
More information about the tex-live-commits
mailing list