diff options
author | Norbert Preining <norbert@preining.info> | 2020-07-06 03:01:45 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-07-06 03:01:45 +0000 |
commit | 2caa59ac79d64858cdff8486b3fecc9859111e38 (patch) | |
tree | d018711343f1d998e71c95df9e86f1e615f8feda /macros/eplain/source | |
parent | d7fedb6786f75a4709b3febbc539376f483001b3 (diff) |
CTAN sync 202007060301
Diffstat (limited to 'macros/eplain/source')
-rw-r--r-- | macros/eplain/source/xeplain.tex | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/macros/eplain/source/xeplain.tex b/macros/eplain/source/xeplain.tex index ef1d96191b..1b0e75ee4f 100644 --- a/macros/eplain/source/xeplain.tex +++ b/macros/eplain/source/xeplain.tex @@ -5506,7 +5506,16 @@ \expandafter\@firstoftwo \fi }% -\def\@parse@version#1/#2/#3#4#5\@nil{#1#2#3#4 }% +% From base/latex.ltx. Support both date formats +% \ProvidePackage{pkg}[2020-01-02 ...] +% \ProvidePackage{pkg}[2020/01/02 ...] +% +\def\@parse@version#1/#2/#3#4#5\@nil{% + \@parse@version@dash#1-#2-#3#4\@nil +}% +\def\@parse@version@dash#1-#2-#3#4#5\@nil{% + \if\relax#2\relax\else#1\fi#2#3#4 }% +% % For the `draft' option to graphic{s,x}.sty. \let\ttfamily\tt \def\strip@prefix#1>{}% |