texlive[48563] Master/texmf-dist/tex/csplain/opmac/opmac.tex: csplain
commits+karl at tug.org
commits+karl at tug.org
Mon Sep 3 23:12:05 CEST 2018
Revision: 48563
http://tug.org/svn/texlive?view=revision&revision=48563
Author: karl
Date: 2018-09-03 23:12:05 +0200 (Mon, 03 Sep 2018)
Log Message:
-----------
csplain (3sep18)
Modified Paths:
--------------
trunk/Master/texmf-dist/tex/csplain/opmac/opmac.tex
Modified: trunk/Master/texmf-dist/tex/csplain/opmac/opmac.tex
===================================================================
--- trunk/Master/texmf-dist/tex/csplain/opmac/opmac.tex 2018-09-03 21:11:52 UTC (rev 48562)
+++ trunk/Master/texmf-dist/tex/csplain/opmac/opmac.tex 2018-09-03 21:12:05 UTC (rev 48563)
@@ -5,7 +5,7 @@
%% The history of versions is at the end of this file, after \endpinput
\ifx\OPmacversion\undefined \else \endinput \fi
-\def\OPmacversion{May 2018}
+\def\OPmacversion{Aug. 2018}
\immediate\write16{This is OPmac (Olsak's Plain macros), version <\OPmacversion>}
%%%%%%%%%%%%%% Basic macros, sec. 3.1 in opmac-d.pdf
@@ -305,7 +305,7 @@
\def\wlabel#1{%
\ifx\lastlabel\undefined \else
\dest[ref:\lastlabel]%
- \edef\tmp{\wref\Xlabel{{\lastlabel}{#1}}}\tmp
+ {\protectlist\edef\tmp{\wref\Xlabel{{\lastlabel}{#1}}}\expandafter}\tmp
\sxdef{lab:\lastlabel}{#1}\sxdef{l0:\lastlabel}{}%
\global\let\lastlabel=\undefined
\fi
@@ -320,7 +320,7 @@
\else ??\opwarning{pg-label [#1] unknown. Try to TeX me again}\openref
\fi
}
-\def\Xlabel#1#2{\sxdef{lab:#1}{#2}\sxdef{pgref:#1}{\the\lastpage}}
+\def\Xlabel#1#2{\sdef{lab:#1}{#2}\sxdef{pgref:#1}{\the\lastpage}}
%%%%%%%%%%%%%% Chapters, sections, subsections -- sec. 3.8 in opmac-d.pdf
@@ -1818,6 +1818,8 @@
May 2018 \chap: \edef\thesecnum added (J. Sustek)
\printchap: \vfill\supereject instead \vfil\break
\link: argument in group in both: \hyperlinks on/off (J. Sustek)
+Aug. 2018 \wlabel: \protectlist added.
+ \Xlabel: \sxdef{lab:#1} changed to \sdef (J. Sustek)
%%%%%%%%%%%%%% End of opmac.tex
More information about the tex-live-commits
mailing list