texlive[51296] Master/texmf-dist/tex/csplain/opmac/opmac.tex: csplain
commits+karl at tug.org
commits+karl at tug.org
Sun Jun 2 23:42:23 CEST 2019
Revision: 51296
http://tug.org/svn/texlive?view=revision&revision=51296
Author: karl
Date: 2019-06-02 23:42:23 +0200 (Sun, 02 Jun 2019)
Log Message:
-----------
csplain (2jun19)
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 2019-06-02 21:42:07 UTC (rev 51295)
+++ trunk/Master/texmf-dist/tex/csplain/opmac/opmac.tex 2019-06-02 21:42:23 UTC (rev 51296)
@@ -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{Mar. 2019}
+\def\OPmacversion{May 2019}
\immediate\write16{This is OPmac (Olsak's Plain macros), version <\OPmacversion>}
%%%%%%%%%%%%%% Basic macros, sec. 3.1 in opmac-d.pdf
@@ -1166,20 +1166,21 @@
\def\scantabdata#1{\let\next=\scantabdata
\ifx\relax#1\let\next=\relax
\else\ifx|#1\addtabvrule
- \else\isinlist{123456789}#1\iftrue \def\next{\scantabdataC#1}%
- \else \expandafter\ifx\csname tabdeclare#1\endcsname \relax
- \expandafter\ifx\csname paramtabdeclare#1\endcsname \relax
- \opwarning{tab-declarator "#1" unknown, ignored}%
- \else \def\next{\expandafter \scantabdataB \csname paramtabdeclare#1\endcsname}\fi
- \else \def\next{\expandafter\scantabdataA \csname tabdeclare#1\endcsname}%
- \fi\fi\fi\fi \next
+ \else\ifx[#1\def\next{\scantabdataE}%
+ \else\isinlist{123456789}#1\iftrue \def\next{\scantabdataC#1}%
+ \else \expandafter\ifx\csname tabdeclare#1\endcsname \relax
+ \expandafter\ifx\csname paramtabdeclare#1\endcsname \relax
+ \opwarning{tab-declarator "#1" unknown, ignored}%
+ \else \def\next{\expandafter\scantabdataB\csname paramtabdeclare#1\endcsname}\fi
+ \else \def\next{\expandafter\scantabdataA \csname tabdeclare#1\endcsname}%
+ \fi\fi\fi\fi\fi \next
}
\def\scantabdataA#1{\addtabitem \expandafter\addtabdata\expandafter{#1\tabstrutA}\scantabdata}
\def\scantabdataB#1#2{\addtabitem\expandafter\addtabdata\expandafter{#1{#2}\tabstrutA}\scantabdata}
\def\scantabdataC {\def\tmpb{}\afterassignment\scantabdataD \tmpnum=}
\def\scantabdataD#1{\loop \ifnum\tmpnum>0 \advance\tmpnum by-1 \addto\tmpb{#1}\repeat
- \expandafter\scantabdata\tmpb
-}
+ \expandafter\scantabdata\tmpb}
+\def\scantabdataE#1]{\addtabdata{#1}\scantabdata}
\def\tabdeclarec{\tabiteml\hfil##\unsskip\hfil\tabitemr}
\def\tabdeclarel{\tabiteml##\unsskip\hfil\tabitemr}
\def\tabdeclarer{\tabiteml\hfil##\unsskip\tabitemr}
@@ -1857,6 +1858,8 @@
\boxlines added.
\titskip introduced.
\fnote corrected: \iflocfnum\openref.
+May 2019 \table declarator [] added.
+
%%%%%%%%%%%%%% End of opmac.tex
More information about the tex-live-commits
mailing list