summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex-dev/graphics
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-01 21:35:44 +0000
committerKarl Berry <karl@freefriends.org>2020-09-01 21:35:44 +0000
commit668fe9fee20ff2f37545ee9bef5b407d47b0a7ef (patch)
tree722bca99401532cf6d69a888d5ed47382fea6c9e /Master/texmf-dist/tex/latex-dev/graphics
parent1fbe15c835d00caf63bc30cfa5fcf3ec761b73ba (diff)
xindex (1sep20)
git-svn-id: svn://tug.org/texlive/trunk@56238 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex-dev/graphics')
-rw-r--r--Master/texmf-dist/tex/latex-dev/graphics/graphics.sty61
-rw-r--r--Master/texmf-dist/tex/latex-dev/graphics/graphicx.sty30
2 files changed, 48 insertions, 43 deletions
diff --git a/Master/texmf-dist/tex/latex-dev/graphics/graphics.sty b/Master/texmf-dist/tex/latex-dev/graphics/graphics.sty
index f23eabadc70..86e3314d9a5 100644
--- a/Master/texmf-dist/tex/latex-dev/graphics/graphics.sty
+++ b/Master/texmf-dist/tex/latex-dev/graphics/graphics.sty
@@ -29,7 +29,7 @@
\DeclareCurrentRelease{}{2019-10-01}
\ProvidesPackage{graphics}
- [2019/11/30 v1.4a Standard LaTeX Graphics (DPC,SPQR)]
+ [2020/08/30 v1.4c Standard LaTeX Graphics (DPC,SPQR)]
\edef\Gin@codes{%
\catcode`\noexpand\^^A\the\catcode`\^^A\relax
\catcode`\noexpand\"\the\catcode`\"\relax
@@ -212,20 +212,24 @@
\fi}%
\else
\Gin@getbase{\Gin@sepdefault\filename@ext}%
-\ifx\Gin@ext\relax
-\let\Gin@savedbase\filename@base
-\let\Gin@savedext\filename@ext
- \edef\filename@base{\filename@base\Gin@sepdefault\filename@ext}%
- \let\filename@ext\relax
- \@for\Gin@temp:=\Gin@extensions\do{%
+ \ifnum0%
+ \ifx\Gin@ext\relax 1%
+ \else \@ifundefined{Gin@rule@\Gin@ext}{1}{0}%
+ \fi >0
+ \let\Gin@ext\relax
+ \let\Gin@savedbase\filename@base
+ \let\Gin@savedext\filename@ext
+ \edef\filename@base{\filename@base\Gin@sepdefault\filename@ext}%
+ \let\filename@ext\relax
+ \@for\Gin@temp:=\Gin@extensions\do{%
+ \ifx\Gin@ext\relax
+ \Gin@getbase\Gin@temp
+ \fi}%
\ifx\Gin@ext\relax
- \Gin@getbase\Gin@temp
- \fi}%
- \ifx\Gin@ext\relax
- \let\filename@base\Gin@savedbase
- \let\filename@ext\Gin@savedext
- \fi
-\fi
+ \let\filename@base\Gin@savedbase
+ \let\filename@ext\Gin@savedext
+ \fi
+ \fi
\ifx\Gin@ext\relax
\@warning{File `#1' not found}%
\def\Gin@base{\filename@area\filename@base}%
@@ -343,6 +347,7 @@
\dospecials
\catcode`\ 10 %
\catcode`\^^I10 %
+ \endlinechar13 %
\catcode\endlinechar5 %
\@makeother\:%
\@makeother\-%
@@ -400,6 +405,34 @@
\Gin@defaultbp\Gin@urx{#3}%
\Gin@defaultbp\Gin@ury{#4}}%
\def\Gread@atend{atend}
+\def\Gin@viewport{%
+ \let\Gin@ollx\Gin@llx
+ \let\Gin@olly\Gin@lly
+ \let\Gin@ourx\Gin@urx
+ \let\Gin@oury\Gin@ury
+ \dimen@\Gin@llx\p@\advance\dimen@ \Gin@vurx\p@
+ \edef\Gin@urx{\strip@pt\dimen@}%
+ \dimen@\Gin@lly\p@\advance\dimen@ \Gin@vury\p@
+ \edef\Gin@ury{\strip@pt\dimen@}%
+ \dimen@\Gin@llx\p@\advance\dimen@ \Gin@vllx\p@
+ \edef\Gin@llx{\strip@pt\dimen@}%
+ \dimen@\Gin@lly\p@\advance\dimen@ \Gin@vlly\p@
+ \edef\Gin@lly{\strip@pt\dimen@}}
+\def\Gin@trim{%
+ \let\Gin@ollx\Gin@llx
+ \let\Gin@olly\Gin@lly
+ \let\Gin@ourx\Gin@urx
+ \let\Gin@oury\Gin@ury
+ \dimen@\Gin@llx\p@\advance\dimen@ \Gin@vllx\p@
+ \edef\Gin@llx{\strip@pt\dimen@}%
+ \dimen@\Gin@lly\p@\advance\dimen@ \Gin@vlly\p@
+ \edef\Gin@lly{\strip@pt\dimen@}%
+ \dimen@\Gin@urx\p@\advance\dimen@ -\Gin@vurx\p@
+ \edef\Gin@urx{\strip@pt\dimen@}%
+ \dimen@\Gin@ury\p@\advance\dimen@ -\Gin@vury\p@
+ \edef\Gin@ury{\strip@pt\dimen@}}
+\let\Gin@vllx\Gin@llx\let\Gin@vlly\Gin@llx
+\let\Gin@vurx\Gin@llx\let\Gin@vury\Gin@llx
\let\Grot@height\@ovxx
\let\Grot@left\@ovyy
\let\Grot@right\@ovdx
diff --git a/Master/texmf-dist/tex/latex-dev/graphics/graphicx.sty b/Master/texmf-dist/tex/latex-dev/graphics/graphicx.sty
index c28ca752b3b..9446a0a5c2f 100644
--- a/Master/texmf-dist/tex/latex-dev/graphics/graphicx.sty
+++ b/Master/texmf-dist/tex/latex-dev/graphics/graphicx.sty
@@ -21,7 +21,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{graphicx}
- [2019/11/30 v1.2a Enhanced LaTeX Graphics (DPC,SPQR)]
+ [2020/09/09 v1.2b Enhanced LaTeX Graphics (DPC,SPQR)]
\DeclareOption{unknownkeysallowed}
{\PassOptionsToPackage\CurrentOption{keyval}}
\DeclareOption*{\PassOptionsToPackage\CurrentOption{graphics}}
@@ -53,34 +53,6 @@
\Gin@defaultbp\Gin@vlly{#2}%
\Gin@defaultbp\Gin@vurx{#3}%
\Gin@defaultbp\Gin@vury{#4}}%
-\def\Gin@viewport{%
- \let\Gin@ollx\Gin@llx
- \let\Gin@olly\Gin@lly
- \let\Gin@ourx\Gin@urx
- \let\Gin@oury\Gin@ury
- \dimen@\Gin@llx\p@\advance\dimen@ \Gin@vurx\p@
- \edef\Gin@urx{\strip@pt\dimen@}%
- \dimen@\Gin@lly\p@\advance\dimen@ \Gin@vury\p@
- \edef\Gin@ury{\strip@pt\dimen@}%
- \dimen@\Gin@llx\p@\advance\dimen@ \Gin@vllx\p@
- \edef\Gin@llx{\strip@pt\dimen@}%
- \dimen@\Gin@lly\p@\advance\dimen@ \Gin@vlly\p@
- \edef\Gin@lly{\strip@pt\dimen@}}
-\def\Gin@trim{%
- \let\Gin@ollx\Gin@llx
- \let\Gin@olly\Gin@lly
- \let\Gin@ourx\Gin@urx
- \let\Gin@oury\Gin@ury
- \dimen@\Gin@llx\p@\advance\dimen@ \Gin@vllx\p@
- \edef\Gin@llx{\strip@pt\dimen@}%
- \dimen@\Gin@lly\p@\advance\dimen@ \Gin@vlly\p@
- \edef\Gin@lly{\strip@pt\dimen@}%
- \dimen@\Gin@urx\p@\advance\dimen@ -\Gin@vurx\p@
- \edef\Gin@urx{\strip@pt\dimen@}%
- \dimen@\Gin@ury\p@\advance\dimen@ -\Gin@vury\p@
- \edef\Gin@ury{\strip@pt\dimen@}}
-\let\Gin@vllx\Gin@llx\let\Gin@vlly\Gin@llx
-\let\Gin@vurx\Gin@llx\let\Gin@vury\Gin@llx
\define@key{Gin}{angle}
{\Gin@esetsize
\@tempswatrue