From 9224f5eca137651c31456b611dbf7616e1d4f39d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 3 Sep 2018 21:12:05 +0000 Subject: csplain (3sep18) git-svn-id: svn://tug.org/texlive/trunk@48563 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/csplain/opmac/opmac.tex | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Master/texmf-dist/tex/csplain/opmac/opmac.tex b/Master/texmf-dist/tex/csplain/opmac/opmac.tex index e25e013f751..f6cb8e92995 100644 --- a/Master/texmf-dist/tex/csplain/opmac/opmac.tex +++ b/Master/texmf-dist/tex/csplain/opmac/opmac.tex @@ -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 @@ Mar. 2018a \uv defined as \long 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 -- cgit v1.2.3