diff options
author | Karl Berry <karl@freefriends.org> | 2022-06-13 20:30:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-06-13 20:30:55 +0000 |
commit | a4581163f6c6fa3d3043d5692642d151eec24ede (patch) | |
tree | 04fa1d0e6763625d0169a66f5be3a38d2998f34c /Master/texmf-dist/tex/plain | |
parent | 9f6d1b275dbaac0ba8319854ec01142c9cc106da (diff) |
graphics-pln (13jun22)
git-svn-id: svn://tug.org/texlive/trunk@63579 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain')
-rw-r--r-- | Master/texmf-dist/tex/plain/graphics-pln/miniltx.tex | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/plain/graphics-pln/miniltx.tex b/Master/texmf-dist/tex/plain/graphics-pln/miniltx.tex index 6f4085dbc06..8a747790bf6 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-2021 David Carlisle LaTeX3 Project +%%% Copyright 1996-2022 David Carlisle LaTeX3 Project %%% Original Code %%% Copyright 1993-1996 LaTeX3 Project and original authors %%% @@ -28,6 +28,8 @@ % 2019/07/20 more updates for latex drivers % 2020/03/02 move to own git repository and add newcommand fix from issue #2 % 2021/11/15 Define \@backslashchar for issue #4 +% 2022/06/13 Define \@ehd error help (usedby color errors) +% Define fallback \mathcolor so color package does not require expl3 \edef\resetatcatcode{\catcode`\noexpand\@\the\catcode`\@\relax} @@ -325,6 +327,8 @@ \def\on@line{ on input line \the\inputlineno} \ifx\@ehc\@undefined\def\@ehc{}\fi +% 2022/06/13 +\ifx\@ehd\@undefined\def\@ehd{}\fi \def\PackageError#1#2#3{{% \newlinechar`\^^J\def\MessageBreak{^^J\space\space#1: }% @@ -537,3 +541,10 @@ \def\set@curr@file#1{\xdef\@curr@file{#1}} \fi +% 2022/06/13 +\ifx\mathcolor\@undefined + % simplified version of \mathcolor + \protected\def\mathcolor{\begingroup\@ifnextchar[\mlx@mathcolora\mlx@mathcolorb} + \long\def\mlx@mathcolora[#1]#2#3{\color[#1]{#2}#3\endgroup} + \long\def\mlx@mathcolorb#1#2{\color{#1}#2\endgroup} +\fi |