diff options
author | Karl Berry <karl@freefriends.org> | 2017-06-11 21:49:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-06-11 21:49:52 +0000 |
commit | df4cd18fe168adf824d56a09cd2fcc11f805276e (patch) | |
tree | b143235160800cf95d67c60a5d931ba25a55434d /Master/texmf-dist/tex/plain/graphics-pln | |
parent | 7deee619bf4a358feb7cc41ebf751c035a5a0000 (diff) |
graphics-pln (11jun17)
git-svn-id: svn://tug.org/texlive/trunk@44567 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain/graphics-pln')
-rw-r--r-- | Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex | 5 | ||||
-rw-r--r-- | Master/texmf-dist/tex/plain/graphics-pln/miniltx.tex | 22 |
2 files changed, 21 insertions, 6 deletions
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{!}} |