[tex-eplain] Problem with usepackage

Fred Gilham fmgilham at gmail.com
Tue Jun 30 02:36:49 CEST 2020


On Mon, 29 Jun 2020 14:23:31 -0700,
Karl Berry wrote:
> 
> I'll look into it as soon as I have a chance. If anyone can provide a
> patch, so much the sooner :). 
> 
> Thanks for the report. --karl

OK, here's my stab at it. I'm not real confident with low level tex
macro hacking, but this is just cut and paste from base/latex.ltx.

--- eplain.tex~ 2019-05-31 14:46:33.000000000 -0700
+++ eplain.tex  2020-06-29 17:26:02.458987072 -0700
@@ -4089,7 +4089,14 @@
     \expandafter\@firstoftwo
   \fi
 }%
-\def\@parse at version#1/#2/#3#4#5\@nil{#1#2#3#4 }%
+%%\def\@parse at version#1/#2/#3#4#5\@nil{#1#2#3#4 }%
+%% From base/latex.ltx
+\def\@parse at version#1/#2/#3#4#5\@nil{%
+\@parse at version@dash#1-#2-#3#4\@nil
+}
+\def\@parse at version@dash#1-#2-#3#4#5\@nil{%
+  \if\relax#2\relax\else#1\fi#2#3#4 }
+
 \let\ttfamily\tt
 \def\strip at prefix#1>{}%
 \def\@ifpackageloaded#1{%

Hope it helps. It makes the original problem go away. I don't know if
it introduces any new ones.

-- 
   just make me lighter
   make me lighter still
     'til the yellow of the sun takes me

   [oh what Lazarus saw! I cannnot bear this anymore!]
                                                      -- Linshuang Lu


More information about the tex-eplain mailing list.