diff options
Diffstat (limited to 'macros/latex-dev/required/graphics')
24 files changed, 82 insertions, 47 deletions
diff --git a/macros/latex-dev/required/graphics/README.md b/macros/latex-dev/required/graphics/README.md index 8fb13bb141..b9d06376c6 100644 --- a/macros/latex-dev/required/graphics/README.md +++ b/macros/latex-dev/required/graphics/README.md @@ -1,7 +1,7 @@ The LaTeX `graphics` bundle =========================== -Release 2021-05-01 pre-release 0 +Release 2021-06-01 pre-release 1 Overview -------- @@ -61,4 +61,4 @@ of the package. ----- -<p>Copyright (C) 1993-2020 The LaTeX Project <br /> +<p>Copyright (C) 1993-2021 The LaTeX Project <br /> diff --git a/macros/latex-dev/required/graphics/changes.txt b/macros/latex-dev/required/graphics/changes.txt index adf9fe8fc7..980d2b33e4 100644 --- a/macros/latex-dev/required/graphics/changes.txt +++ b/macros/latex-dev/required/graphics/changes.txt @@ -4,10 +4,31 @@ completeness or accuracy and it contains some references to files that are not part of the distribution. ======================================================================= +2021-03-04 Phelype Oleinik <phelype.oleinik@latex-project.org> + + * graphics.dtx: fix loading gzipped .(e)ps graphics files. + +2021-03-05 David Carlisle <David.Carlisle@latex-project.org> + + * grfguide.tex: Remove the example of calling zcat via the + backtick special in dvips which has not worked for many years + for security reasons. dvips directly supports zip + uncompression, and does not allow arbitrary shell commands to + be executed via \special{`command..} + +2021-03-03 Phelype Oleinik <phelype.oleinik@latex-project.org> + + * graphics.dtx: Avoid warning when loading a file using a generic rule (gh/516). + ================================================================================ All changes above are only part of the development branch for the next release. ================================================================================ +2020-12-05 Ulrike Fischer <Ulrike.Fischer@latex-project.org> + + * graphics.dtx: fix missing default in quiet key. + + ######################### # 2020-10-01 Release ######################### diff --git a/macros/latex-dev/required/graphics/color.dtx b/macros/latex-dev/required/graphics/color.dtx index cdc2dbe5fe..2dfbb238da 100644 --- a/macros/latex-dev/required/graphics/color.dtx +++ b/macros/latex-dev/required/graphics/color.dtx @@ -2,7 +2,9 @@ % \iffalse % %% color.dtx Copyright (C) 1994--1999 David Carlisle -%% Copyright (C) 2005-2020 David Carlisle, LaTeX3 Project +%% Copyright (C) 2005-2021 +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public diff --git a/macros/latex-dev/required/graphics/color.pdf b/macros/latex-dev/required/graphics/color.pdf Binary files differindex 40cda1f1af..b4d0a03cd8 100644 --- a/macros/latex-dev/required/graphics/color.pdf +++ b/macros/latex-dev/required/graphics/color.pdf diff --git a/macros/latex-dev/required/graphics/drivers.dtx b/macros/latex-dev/required/graphics/drivers.dtx index 9bf32f78a1..6704ad11c6 100644 --- a/macros/latex-dev/required/graphics/drivers.dtx +++ b/macros/latex-dev/required/graphics/drivers.dtx @@ -3,7 +3,9 @@ % %% drivers.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz %% Copyright (C) 1995 1996 1997 1998 1999 David Carlisle -%% Copyright (C) 2000-2020 David Carlisle, LaTeX3 Project +%% Copyright (C) 2000-2021 +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public diff --git a/macros/latex-dev/required/graphics/drivers.pdf b/macros/latex-dev/required/graphics/drivers.pdf Binary files differindex aef45cddc8..617f4f8ec3 100644 --- a/macros/latex-dev/required/graphics/drivers.pdf +++ b/macros/latex-dev/required/graphics/drivers.pdf diff --git a/macros/latex-dev/required/graphics/epsfig.dtx b/macros/latex-dev/required/graphics/epsfig.dtx index 8e883bd8df..a34aa6842e 100644 --- a/macros/latex-dev/required/graphics/epsfig.dtx +++ b/macros/latex-dev/required/graphics/epsfig.dtx @@ -2,7 +2,9 @@ % \iffalse % %% epsfig.dtx Copyright (C) 1994-1996 1999 Sebastian Rahtz -%% Copyright (C) 2000-2020 David Carlisle, LaTeX3 Project +%% Copyright (C) 2000-2021 +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public diff --git a/macros/latex-dev/required/graphics/epsfig.pdf b/macros/latex-dev/required/graphics/epsfig.pdf Binary files differindex 2a38f559fe..7cdd87b5d0 100644 --- a/macros/latex-dev/required/graphics/epsfig.pdf +++ b/macros/latex-dev/required/graphics/epsfig.pdf diff --git a/macros/latex-dev/required/graphics/graphics-2017-06-25.sty b/macros/latex-dev/required/graphics/graphics-2017-06-25.sty index 5cfa5df450..154867d99a 100644 --- a/macros/latex-dev/required/graphics/graphics-2017-06-25.sty +++ b/macros/latex-dev/required/graphics/graphics-2017-06-25.sty @@ -12,7 +12,7 @@ %% %% %% graphics.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz -%% Copyright (C) 1995--2017 David Carlisle, LaTeX3 Project +%% Copyright (C) 1995--2017 David Carlisle, LaTeX Project %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public diff --git a/macros/latex-dev/required/graphics/graphics.dtx b/macros/latex-dev/required/graphics/graphics.dtx index 51ef9a4ee3..0c5c9e88ec 100644 --- a/macros/latex-dev/required/graphics/graphics.dtx +++ b/macros/latex-dev/required/graphics/graphics.dtx @@ -2,7 +2,9 @@ % \iffalse % %% graphics.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz -%% Copyright (C) 1995-2020 David Carlisle, LaTeX3 Project +%% Copyright (C) 1995-2021 +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public @@ -25,7 +27,7 @@ %<driver> \ProvidesFile{graphics.drv} % \fi % \ProvidesFile{graphics.dtx} - [2020/08/30 v1.4c Standard LaTeX Graphics (DPC,SPQR)] + [2021/03/04 v1.4d Standard LaTeX Graphics (DPC,SPQR)] % % \iffalse %<*driver> @@ -1123,7 +1125,12 @@ \ifx\filename@ext\relax \let\filename@ext\Gin@gzext \else - \edef\Gin@ext{\Gin@ext\Gin@sepdefault\Gin@gzext}% +% \end{macrocode} +% \changes{v1.4d}{2021/03/04} +% {\cs{filename@ext} instead of \cs{Gin@ext} when +% checking for \texttt{gzip}ped graphics file.} +% \begin{macrocode} + \edef\filename@ext{\filename@ext\Gin@sepdefault\Gin@gzext}% \fi \fi \ifx\filename@ext\relax @@ -1146,14 +1153,17 @@ % {Try adding an extension even if the filename had a dot AND % if the filename without the extension exists (but doesn't have % a known extension).} +% \changes{v1.4d}{2021/03/03} +% {Avoid warning when loading a file using a generic rule.} % \begin{macrocode} \ifnum0% \ifx\Gin@ext\relax 1% \else \@ifundefined{Gin@rule@\Gin@ext}{1}{0}% \fi >0 - \let\Gin@ext\relax + \let\Gin@extsaved\Gin@ext \let\Gin@savedbase\filename@base \let\Gin@savedext\filename@ext + \let\Gin@ext\relax \edef\filename@base{\filename@base\Gin@sepdefault\filename@ext}% \let\filename@ext\relax \@for\Gin@temp:=\Gin@extensions\do{% @@ -1164,6 +1174,7 @@ % Restore if no file found using the known extensions. % \begin{macrocode} \ifx\Gin@ext\relax + \let\Gin@ext\Gin@extsaved \let\filename@base\Gin@savedbase \let\filename@ext\Gin@savedext \fi diff --git a/macros/latex-dev/required/graphics/graphics.pdf b/macros/latex-dev/required/graphics/graphics.pdf Binary files differindex 09c3ac0792..7dea8f5a99 100644 --- a/macros/latex-dev/required/graphics/graphics.pdf +++ b/macros/latex-dev/required/graphics/graphics.pdf diff --git a/macros/latex-dev/required/graphics/graphicx.dtx b/macros/latex-dev/required/graphics/graphicx.dtx index b10c67c794..a2fc17e393 100644 --- a/macros/latex-dev/required/graphics/graphicx.dtx +++ b/macros/latex-dev/required/graphics/graphicx.dtx @@ -2,7 +2,9 @@ % \iffalse % %% graphicx.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz -%% Copyright (C) 1995-2020 David Carlisle, LaTeX3 Project +%% Copyright (C) 1995-2021 +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public @@ -17,7 +19,7 @@ %<driver> \ProvidesFile{graphicx.drv} % \fi % \ProvidesFile{graphicx.dtx} - [2020/09/09 v1.2b Enhanced LaTeX Graphics (DPC,SPQR)] + [2020/12/05 v1.2c Enhanced LaTeX Graphics (DPC,SPQR)] % % \iffalse %<*driver> @@ -88,7 +90,7 @@ % name (or key) and any options that must be set are set by explicitly % associating this name with the desired value. % -% The members of the \LaTeX3 project do appreciate the importance of +% The members of the \LaTeX\ Project do appreciate the importance of % this kind of syntax, but felt that rather than extending the syntax of % \LaTeX\ in an uncoordinated way, it would be better to keep with % `standard arguments' in \LaTeXe, which is intended as a `consolidation @@ -507,9 +509,10 @@ % % \begin{key}{Gin}{quiet} % \changes{v1.1a}{2017/06/01}{New quiet key} +% \changes{v1.2c}{2020/12/05}{fix missing default value} % Skip writing to the log. % \begin{macrocode} -\define@key{Gin}{quiet}{% +\define@key{Gin}{quiet}[]{% \let\Gin@log\@gobble } % \end{macrocode} diff --git a/macros/latex-dev/required/graphics/graphicx.pdf b/macros/latex-dev/required/graphics/graphicx.pdf Binary files differindex f359d1d9b6..56d9451077 100644 --- a/macros/latex-dev/required/graphics/graphicx.pdf +++ b/macros/latex-dev/required/graphics/graphicx.pdf diff --git a/macros/latex-dev/required/graphics/grfguide.pdf b/macros/latex-dev/required/graphics/grfguide.pdf Binary files differindex 0a7258803d..c6a4b2a5ca 100644 --- a/macros/latex-dev/required/graphics/grfguide.pdf +++ b/macros/latex-dev/required/graphics/grfguide.pdf diff --git a/macros/latex-dev/required/graphics/grfguide.tex b/macros/latex-dev/required/graphics/grfguide.tex index 8df07c5a6a..3b679ea382 100644 --- a/macros/latex-dev/required/graphics/grfguide.tex +++ b/macros/latex-dev/required/graphics/grfguide.tex @@ -1,5 +1,7 @@ -%% grfguide.tex Copyright (C) 1994 1995 1996 1998 1999 David Carlisle -%% Copyright (C) 2005-2020 David Carlisle, LaTeX3 Project +%% grfguide.tex Copyright (C) 1994-1999 David Carlisle +%% Copyright (C) 2005-2021 +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public @@ -59,8 +61,8 @@ stroke \begin{document} \title{Packages in the `graphics' bundle} -\author{D. P. Carlisle \and The \LaTeX3 Project} -\date{2020-08-21} +\author{D. P. Carlisle \and The \LaTeX\ Project} +\date{2021-03-05} \maketitle @@ -764,28 +766,12 @@ This would declare a default rule, such that all unknown extensions would be treated as EPS files, and the graphic file would be read for a BoundingBox comment. -\emph{command} is usually empty, but if non empty it is used in place -of the filename in the |\special|. Within this argument, |#1| may be -used to denote the filename. Thus using the dvips driver, one may -use\\ -|\DeclareGraphicsRule{.ps.gz}{eps}{.ps.bb}{`zcat #1}|\\ -the final argument causes dvips to use the |zcat| command to unzip the -file before inserting it into the PostScript output. - -Note that \LaTeX\ will find the graphics file by searching along -TEXINPUTS (and possibly other places, as specified with -|\graphicspath|) however it may be that the command you specify -in this argument can not find such files unless they are in the -current directory. On some systems it may be possible to modify -the command so that it will find any files that \LaTeX\ can find. -For example on newer web2c \TeX\ releases on unix, one may modify the -above command so that the last argument is:\\ -|{`zcat `kpsewhich -n latex tex #1`}|\\ -which incantation causes the |kpsewhich| program to find the -file, by searching along \LaTeX's path, and then pass the full path -name to the |zcat| program so that it can uncompress the file. -Any such uses are very system dependent, and would best be placed in -a |graphics.cfg| file, thus keeping the document itself portable. +\emph{command} is usually empty, but if non empty it may hold \TeX{} code +to modify the name of the file as passed to the back end file inclusion +commands. Within this argument, |#1| may be +used to denote the original filename. Very early releases of the |dvips| code +used this mechanism to support compressed EPS files, however for some years +dvips has directly supported uncompression. \subsection{Global setting of keys} diff --git a/macros/latex-dev/required/graphics/keyval.dtx b/macros/latex-dev/required/graphics/keyval.dtx index dd1f542832..58664b8f03 100644 --- a/macros/latex-dev/required/graphics/keyval.dtx +++ b/macros/latex-dev/required/graphics/keyval.dtx @@ -1,7 +1,9 @@ % % \iffalse %% keyval.dtx Copyright (C) 1993 1994 1995 1997 1998 1999 David Carlisle -%% Copyright (C) 2000-2020 David Carlisle, LaTeX3 Project +%% Copyright (C) 2000-2021 David Carlisle, LaTeX Project +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public diff --git a/macros/latex-dev/required/graphics/keyval.pdf b/macros/latex-dev/required/graphics/keyval.pdf Binary files differindex 0472ef6179..41cbbcb3f8 100644 --- a/macros/latex-dev/required/graphics/keyval.pdf +++ b/macros/latex-dev/required/graphics/keyval.pdf diff --git a/macros/latex-dev/required/graphics/lscape.dtx b/macros/latex-dev/required/graphics/lscape.dtx index ac5c16d7c2..969c94ae7a 100644 --- a/macros/latex-dev/required/graphics/lscape.dtx +++ b/macros/latex-dev/required/graphics/lscape.dtx @@ -2,7 +2,9 @@ % \iffalse % %% lscape.dtx Copyright (C) 1994 1999-2000 David Carlisle -%% Copyright (C) 2000-2020 David Carlisle, LaTeX3 Project +%% Copyright (C) 2000-2021 +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public diff --git a/macros/latex-dev/required/graphics/lscape.pdf b/macros/latex-dev/required/graphics/lscape.pdf Binary files differindex dd09581a15..4caf895c6b 100644 --- a/macros/latex-dev/required/graphics/lscape.pdf +++ b/macros/latex-dev/required/graphics/lscape.pdf diff --git a/macros/latex-dev/required/graphics/rotating.dtx b/macros/latex-dev/required/graphics/rotating.dtx index 535f115594..c6db1273a4 100644 --- a/macros/latex-dev/required/graphics/rotating.dtx +++ b/macros/latex-dev/required/graphics/rotating.dtx @@ -3,9 +3,11 @@ % % % File: rotating.dtx -%% Copyright (C) 1995--1999 Sebastian Rahtz and Leonor Barroca -%% Copyright (C) 2001--2003,2007--2009 Robin Fairbairns -%% Copyright (C) 2016-2020 LaTeX3 Project +%% Copyright (C) 1995-1999 Sebastian Rahtz and Leonor Barroca +%% Copyright (C) 2001-2003,2007-2009 Robin Fairbairns +%% Copyright (C) 2016-2021 LaTeX Project +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c diff --git a/macros/latex-dev/required/graphics/rotating.pdf b/macros/latex-dev/required/graphics/rotating.pdf Binary files differindex 7a6f10d5c2..b57235b7fe 100644 --- a/macros/latex-dev/required/graphics/rotating.pdf +++ b/macros/latex-dev/required/graphics/rotating.pdf diff --git a/macros/latex-dev/required/graphics/rotex.pdf b/macros/latex-dev/required/graphics/rotex.pdf Binary files differindex 3d79c5c925..9659ba3101 100644 --- a/macros/latex-dev/required/graphics/rotex.pdf +++ b/macros/latex-dev/required/graphics/rotex.pdf diff --git a/macros/latex-dev/required/graphics/trig.dtx b/macros/latex-dev/required/graphics/trig.dtx index 67f6c6a970..83e774ff20 100644 --- a/macros/latex-dev/required/graphics/trig.dtx +++ b/macros/latex-dev/required/graphics/trig.dtx @@ -1,6 +1,8 @@ % \iffalse -%% File: trig.dtx Copyright (C) 1993 1994 1995 1996 1997 1999 David Carlisle -%% Copyright (C) 2000-2020 David Carlisle, LaTeX3 Project +%% File: trig.dtx Copyright (C) 1993-1999 David Carlisle +%% Copyright (C) 2000-2021 +%% The LaTeX Project and any individual authors listed elsewhere +%% in this file. %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public diff --git a/macros/latex-dev/required/graphics/trig.pdf b/macros/latex-dev/required/graphics/trig.pdf Binary files differindex 968fe6e864..5c1f68dffc 100644 --- a/macros/latex-dev/required/graphics/trig.pdf +++ b/macros/latex-dev/required/graphics/trig.pdf |