From a2a43b4b75ea94be73cbe2626f10f10f775b0dfb Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 12 Jun 2017 21:43:33 +0000
Subject: graphics (12jun17)

git-svn-id: svn://tug.org/texlive/trunk@44579 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/source/latex/graphics/graphicx.dtx  | 66 +++++++++++++++++++++-
 1 file changed, 64 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/source/latex/graphics/graphicx.dtx')

diff --git a/Master/texmf-dist/source/latex/graphics/graphicx.dtx b/Master/texmf-dist/source/latex/graphics/graphicx.dtx
index 963acdde7ae..5c5bb2b7fe5 100644
--- a/Master/texmf-dist/source/latex/graphics/graphicx.dtx
+++ b/Master/texmf-dist/source/latex/graphics/graphicx.dtx
@@ -2,7 +2,7 @@
 % \iffalse
 %
 %% graphicx.dtx Copyright (C) 1994      David Carlisle Sebastian Rahtz
-%%              Copyright (C) 1995--2015 David Carlisle, LaTeX3 Project
+%%              Copyright (C) 1995--2015,2017 David Carlisle, LaTeX3 Project
 %%
 %% This file is part of the Standard LaTeX `Graphics Bundle'.
 %% It may be distributed under the terms of the LaTeX Project Public
@@ -17,7 +17,7 @@
 %<driver> \ProvidesFile{graphicx.drv}
 % \fi
 %         \ProvidesFile{graphicx.dtx}
-          [2014/10/28 v1.0g  Enhanced LaTeX Graphics (DPC,SPQR)]
+          [2017/06/01 v1.1a  Enhanced LaTeX Graphics (DPC,SPQR)]
 %
 % \iffalse
 %<*driver>
@@ -164,6 +164,11 @@
 % size of the graphic. \emph{Only} for use with |type|.
 % \item[command] Specify the file command.
 %         \emph{Only} for use with |type|.
+% \item[quiet] Turns off writing information about graphics to the |.log|.
+% \item[page] The page of a multi-page PDF graphic to be used.
+% \item[interpolate] Enables interpolation of bitmap images by viewers.
+% \item[pagebox] Specifies which PDF box should be used for the natural image size, one of 
+% mediabox, cropbox, bleedbox, trimbox, artbox. The default is driver-specific.
 % \end{description}
 %
 % The arguments are interpreted left to right. |clip|, |draft|, |bb|,,
@@ -550,6 +555,63 @@
 %    \end{macrocode}
 % \end{key}
 %
+% \begin{key}{Gin}{quiet}
+% \changes{v1.1a}{2017/06/01}{New quiet key}
+%   Skip writing to the log.
+%    \begin{macrocode}
+\define@key{Gin}{quiet}{%
+  \let\Gin@log\@gobble
+}
+%    \end{macrocode}
+% \end{key}
+%
+% \begin{key}{Gin}{page}
+% \changes{v1.1a}{2017/06/01}{New page key}
+%   Page of a multi-page (PDF) graphic.
+%    \begin{macrocode}
+\define@key{Gin}{page}{%
+  \def\Gin@page{#1}%
+  \ifx\Gin@page\@empty
+  \else
+    \edef\Gin@page{\number\Gin@page}%
+  \fi
+}
+%    \end{macrocode}
+% \end{key}
+%
+% \begin{key}{Gin}{interpolate}
+% \changes{v1.1a}{2017/06/01}{New interpolate key}
+%  Enable/disable interpolation of bitmap images by the viewer.
+%    \begin{macrocode}
+\define@key{Gin}{interpolate}[true]{%
+  \lowercase{\Gin@boolkey{#1}}{interpolate}}
+%    \end{macrocode}
+% \end{key}
+%
+% \begin{key}{Gin}{pagebox}
+% \changes{v1.1a}{2017/06/01}{New pagebox key}
+%  Specify which PDF box to use for the natural image size in PDF inclusions.
+%    \begin{macrocode}
+\define@key{Gin}{pagebox}{%
+        \expandafter\let\expandafter\Gin@pagebox
+            \csname Gin@pagebox@#1\endcsname
+        \ifx\Gin@pagebox\relax
+          \let\Gin@pagebox\Gin@pagebox@cropbox
+          \@warning{%
+            Unknown value `#1' for `pagebox'.\MessageBreak
+            Supported values:\MessageBreak
+            mediabox, cropbox, bleedbox, trimbox, artbox%
+          }%
+        \fi
+      }
+      \def\Gin@pagebox@mediabox{mediabox}%
+      \def\Gin@pagebox@cropbox{cropbox}%
+      \def\Gin@pagebox@bleedbox{bleedbox}%
+      \def\Gin@pagebox@trimbox{trimbox}%
+      \def\Gin@pagebox@artbox{artbox}%
+%    \end{macrocode}
+% \end{key}
+%
 % \begin{macro}{\Gin@boolkey}
 % Helper function for defining boolean valued functions. The order of
 % arguments allows |\lowercase| to only act on the user-supplied
-- 
cgit v1.2.3

