summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/plain/graphics-pln/README.txt3
-rw-r--r--Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex5
-rw-r--r--Master/texmf-dist/tex/plain/graphics-pln/miniltx.tex22
3 files changed, 23 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/plain/graphics-pln/README.txt b/Master/texmf-dist/doc/plain/graphics-pln/README.txt
index 2dba9bd0860..1be9145f0e2 100644
--- a/Master/texmf-dist/doc/plain/graphics-pln/README.txt
+++ b/Master/texmf-dist/doc/plain/graphics-pln/README.txt
@@ -16,8 +16,9 @@ https://github.com/davidcarlisle/dpctex/tree/master/graphics-pln
David Carlisle 1995/01/29
1996/11/13
2016/08/17
+ 2017/06/01
-Copyright 1995 1996 2016 David Carlisle
+Copyright 1995 1996 2016 2017 David Carlisle
All the files in this directory may be redistributed and/or modified
under the terms of the LaTeX Project Public License distributed from
diff --git a/Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex b/Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex
index 0dd2b7f944d..cbe65357696 100644
--- a/Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex
+++ b/Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex
@@ -4,6 +4,11 @@
\input miniltx
+% ttfamily used in draft mode to show filenames.
+\ifx\ttfamily\@undefined
+ \let\ttfamily\tt
+\fi
+
\def\Gin@driver{dvips.def}
\input graphicx.sty
diff --git a/Master/texmf-dist/tex/plain/graphics-pln/miniltx.tex b/Master/texmf-dist/tex/plain/graphics-pln/miniltx.tex
index 030a8bb3493..7290959d040 100644
--- a/Master/texmf-dist/tex/plain/graphics-pln/miniltx.tex
+++ b/Master/texmf-dist/tex/plain/graphics-pln/miniltx.tex
@@ -2,7 +2,7 @@
%%%
%%% Parts of LaTeX: Slightly changed/simplified in places.
%%% Changes
-%%% Copyright 1996 David Carlisle
+%%% Copyright 1996-2017 David Carlisle LaTeX3 Project
%%% Original Code
%%% Copyright 1993-1996 LaTeX3 Project and original authors
%%%
@@ -24,6 +24,7 @@
% 2010/01/07 import was incomplete [KB]
% 2010/02/03 accept *-form of \ProcessOptions [KB/DL]
% 2016/08/17 fix catcode @ handling (again), document github address [DC]
+% 2017/06/01 assorted updates to cover updated latex drivers
\edef\resetatcatcode{\catcode`\noexpand\@\the\catcode`\@\relax}
@@ -79,7 +80,9 @@
{\@pr@videpackage{#1}}{\@pr@videpackage#1[]}}
\def\@pr@videpackage#1[#2]{\wlog{#1: #2}}
\let\ProvidesFile\ProvidesPackage
-\def\PackageInfo#1#2{\wlog{#1: #2}}
+\def\PackageInfo#1#2{{%
+ \newlinechar`\^^J\def\MessageBreak{^^J#1: }%
+ \wlog{#1: #2}}}
\let\DeclareOption\@gobbletwo
\def\ProcessOptions{\@ifstar\relax\relax}
@@ -302,10 +305,17 @@
\let\ExecuteOptions\@gobble
-\def\PackageError#1#2#3{%
- \errhelp{#3}\errmessage{#1: #2}}
-\def\@latex@error#1#2{%
- \errhelp{#2}\errmessage{#1}}
+\def\on@line{ on input line \the\inputlineno}
+\ifx\@ehc\@undefined\def\@ehc{}\fi
+
+\def\PackageError#1#2#3{{%
+ \newlinechar`\^^J\def\MessageBreak{^^J\space\space#1: }%
+ \errhelp{#3}\errmessage{#1: #2}}}
+\def\@latex@error#1#2{\bgroup%
+ \newlinechar`\^^J\def\MessageBreak{^^J\space\space#1: }%
+ \edef\reserved@a{\egroup\errhelp{#2}\errmessage{#1}}%
+ \reserved@a}
+
\bgroup\uccode`\!`\%\uppercase{\egroup
\def\@percentchar{!}}