From 4e87abcb87e842690150b9513f01be45a184f556 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 18 Oct 2018 20:26:34 +0000 Subject: svg (18oct18) git-svn-id: svn://tug.org/texlive/trunk@48930 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/svg/README.md | 5 ++++- Master/texmf-dist/doc/latex/svg/svg.pdf | Bin 1023844 -> 1024003 bytes Master/texmf-dist/source/latex/svg/svg.dtx | 16 ++++++++++++---- Master/texmf-dist/tex/latex/svg/svg-extract.sty | 2 +- Master/texmf-dist/tex/latex/svg/svg.sty | 5 +++-- 5 files changed, 20 insertions(+), 8 deletions(-) diff --git a/Master/texmf-dist/doc/latex/svg/README.md b/Master/texmf-dist/doc/latex/svg/README.md index 870feac4972..d6ebf09675f 100644 --- a/Master/texmf-dist/doc/latex/svg/README.md +++ b/Master/texmf-dist/doc/latex/svg/README.md @@ -5,7 +5,7 @@ Copyright (C) Philip Ilten , 2012-2016 Copyright (C) Falk Hanisch , 2017- - svg 2018/09/08 v2.02 + svg 2018/10/17 v2.02a ---------------------------------------------------------------------------- @@ -34,6 +34,9 @@ it is rendered within the LaTeX document using either ***ImageMagick*** or Versions -------- +**v2.02a** (2018/10/17) ++ fix bug of package **polyglossia** which fakes **babel** poorly + **v2.02** (2018/09/08) + distortion of included and extracted graphics supported with options `distort` (or `keepaspectratio`) and `extractdistort` as well as rotation for diff --git a/Master/texmf-dist/doc/latex/svg/svg.pdf b/Master/texmf-dist/doc/latex/svg/svg.pdf index 8939ddf49d5..cbd743c83aa 100644 Binary files a/Master/texmf-dist/doc/latex/svg/svg.pdf and b/Master/texmf-dist/doc/latex/svg/svg.pdf differ diff --git a/Master/texmf-dist/source/latex/svg/svg.dtx b/Master/texmf-dist/source/latex/svg/svg.dtx index 08d4cf59405..3f008e254d4 100644 --- a/Master/texmf-dist/source/latex/svg/svg.dtx +++ b/Master/texmf-dist/source/latex/svg/svg.dtx @@ -1,4 +1,4 @@ -% \CheckSum{3809} +% \CheckSum{3811} % \iffalse meta-comment % % svg and svg-extract -- Include and extract SVG pictures in LaTeX documents @@ -115,7 +115,7 @@ svg-extract -- Extract independent graphic files from SVG pictures %\ProvidesPackage{svg}[% %\ProvidesPackage{svg-extract}[% %<*driver|package&option> - 2018/09/08 v2.02\space% + 2018/10/17 v2.02a\space% % (include SVG pictures)% % (extract independent graphics from SVG pictures)% ] @@ -141,7 +141,9 @@ svg-extract -- Extract independent graphic files from SVG pictures \xpretocmd{\includeinkscape}{\MakePercentComment}{}{} \xapptocmd{\includeinkscape}{\MakePercentIgnore}{}{} \fi -\pdfsuppresswarningpagegroup=1 +\ifdefined\pdfsuppresswarningpagegroup + \pdfsuppresswarningpagegroup=1 +\fi \usepackage{listings} \lstset{% @@ -248,6 +250,10 @@ svg-extract -- Extract independent graphic files from SVG pictures % \opt{distort} (or \opt{keepaspectratio}) and \opt{extractdistort} % 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% +% }^^A +% \ToDo{Workaround for missing \cs{transparent} (Lua\TeX lacks support)}[v2.03] % % % @@ -1982,12 +1988,14 @@ svg-extract -- Extract independent graphic files from SVG pictures % % \begin{macro}{\svg@deactivate@dq} % \changes{v2.02}{2018/09/07}{new}^^A +% \changes{v2.02a}{2018/10/17}{bug fix for \pkg{polyglossia}}^^A % In order to avoid errors concerning file names with package \pkg{babel} and % it's active double quotes, this command is defined. % \begin{macrocode} \newcommand*\svg@deactivate@dq{} -\AfterPackage*{babel}{% +\AfterPackage+{babel}{% \renewcommand*\svg@deactivate@dq{\bbl@deactivate{"}}% + \providecommand*\bbl@deactivate[1]{}% } % \end{macrocode} % \end{macro}^^A \svg@deactivate@dq diff --git a/Master/texmf-dist/tex/latex/svg/svg-extract.sty b/Master/texmf-dist/tex/latex/svg/svg-extract.sty index e4be74acca3..2a9e493ad3b 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/09/08 v2.02\space% + 2018/10/17 v2.02a\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 61fc51de676..9840a435e26 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/09/08 v2.02\space% + 2018/10/17 v2.02a\space% (include SVG pictures)% ] \RequirePackage{scrbase}[2016/06/14] @@ -382,8 +382,9 @@ \FamilyBoolKey{SVG}{draft}{@svg@draft} \AtBeginDocument{\if@svg@draft\else\ifGin@draft\@svg@drafttrue\fi\fi} \newcommand*\svg@deactivate@dq{} -\AfterPackage*{babel}{% +\AfterPackage+{babel}{% \renewcommand*\svg@deactivate@dq{\bbl@deactivate{"}}% + \providecommand*\bbl@deactivate[1]{}% } \newcommand*\svg@sanitize@dq[2]{% \begingroup% -- cgit v1.2.3