summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-03 21:12:05 +0000
committerKarl Berry <karl@freefriends.org>2018-09-03 21:12:05 +0000
commit9224f5eca137651c31456b611dbf7616e1d4f39d (patch)
tree1d8aa06254a5466b8e69296caf3ab15d4d6bf0bc
parentaf2345e308493f1954ca25fa832c59438fc6cde5 (diff)
csplain (3sep18)
git-svn-id: svn://tug.org/texlive/trunk@48563 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/csplain/opmac/opmac.tex8
1 files 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