texlive[58367] branches/branch2020.0/Master/texmf-dist/tex/csplain:

commits+karl at tug.org commits+karl at tug.org
Mon Mar 15 00:21:10 CET 2021


Revision: 58367
          http://tug.org/svn/texlive?view=revision&revision=58367
Author:   karl
Date:     2021-03-15 00:21:10 +0100 (Mon, 15 Mar 2021)
Log Message:
-----------
csplain (14mar21) (branch)

Modified Paths:
--------------
    branches/branch2020.0/Master/texmf-dist/tex/csplain/base/csplain.ini
    branches/branch2020.0/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex
    branches/branch2020.0/Master/texmf-dist/tex/csplain/opmac/opmac.tex

Modified: branches/branch2020.0/Master/texmf-dist/tex/csplain/base/csplain.ini
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/csplain/base/csplain.ini	2021-03-14 23:20:53 UTC (rev 58366)
+++ branches/branch2020.0/Master/texmf-dist/tex/csplain/base/csplain.ini	2021-03-14 23:21:10 UTC (rev 58367)
@@ -12,7 +12,7 @@
 \input plaina4  % \hsize and \vsize for A4
 
 \everyjob=\expandafter{\the\everyjob
-   \message{The format: csplain <Mar. 2019>.}
+   \message{The format: csplain <Mar. 2021>.}
    \message{The cs-fonts are preloaded and A4 size implicitly defined.}}
 \ifx\xprncode\undefined \else %% The encTeX is detected
    \count255=128               % All codes > 128 are printable: 
@@ -277,7 +277,10 @@
   Feb. 2020
 * hyphen.lan: skip loading patters when missing file
 
+  Mar. 2021
+* opmac-bib.tex: \ifx\citelist\emtpty -- bug fixed
 
+
 COPYRIGHT
 =========
 

Modified: branches/branch2020.0/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex	2021-03-14 23:20:53 UTC (rev 58366)
+++ branches/branch2020.0/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex	2021-03-14 23:21:10 UTC (rev 58367)
@@ -1,6 +1,6 @@
 % opmac-bib
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Petr Olsak, version Feb. 2018 (beta)
+% Petr Olsak, version Mar. 2021 (beta)
 
 % This is module for OPmac macros, see http://petr.olsak.net/opmac.html
 % The command:
@@ -41,6 +41,8 @@
 % The \usebib command:
 
 \def\usebib/#1 (#2) #3 {%
+  \let\citeI=\relax \xdef\citelist{\citelist\citelistB}%
+  \global\let\addcitelist=\writeXcite
   \ifx\citelist\empty
      \opwarning{No cited items. \noexpand\usebib ignored}%
   \else
@@ -51,8 +53,6 @@
         \def\opmacbibstyle{#2}%
         \input opmac-bib-#2
         \bibtexhook
-        \let\citeI=\relax \xdef\citelist{\citelist\citelistB}%
-        \global\let\addcitelist=\writeXcite
         \def\tmp##1[*]##2\relax{\def\tmp{##2}}\expandafter\tmp\citelist[*]\relax
         \ifx\tmp\empty\else % there was \nocite[*] used. 
            \setbox0=\vbox{\def\citelist{}\adef@{\readbibentry}%
@@ -329,5 +329,6 @@
 Jan. 2016:  "first entry wins" implemented
 Apr. 2016:  \readentry -> \readbibentry, \usebib->\MakeReference
 Feb. 2018:  \input librarian does not create \jobname.lbr
+Mar. 2021:  \citelistB added before \ifx\citelist: bug fixed
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% end of the opmac-bib.tex

Modified: branches/branch2020.0/Master/texmf-dist/tex/csplain/opmac/opmac.tex
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/csplain/opmac/opmac.tex	2021-03-14 23:20:53 UTC (rev 58366)
+++ branches/branch2020.0/Master/texmf-dist/tex/csplain/opmac/opmac.tex	2021-03-14 23:21:10 UTC (rev 58367)
@@ -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{Apr. 2020}  
+\def\OPmacversion{May 2020}  
 \immediate\write16{This is OPmac (Olsak's Plain macros), version <\OPmacversion>}
 
 %%%%%%%%%%%%%% Basic macros, sec. 3.1 in opmac-d.pdf
@@ -46,7 +46,7 @@
    \expandafter\tmp#1\endlistsep#2\end
 }
 \long\def\isnextchar#1#2#3{\begingroup\toks0={\endgroup#2}\toks1={\endgroup#3}%
-   \let\tmp=#1\futurelet\next\isnextcharA
+   \let\tmp= #1\futurelet\next\isnextcharA
 }
 \def\isnextcharA{\the\toks\ifx\tmp\next0\else1\fi\space}
 
@@ -1193,7 +1193,7 @@
 \def\paramtabdeclarep#1{\tabiteml\vtop{\hsize=#1\relax \baselineskip=\normalbaselineskip 
    \lineskiplimit=0pt \noindent##\unsskip \vbox to0pt{\vss\hbox{\tabstrutA}}}\tabitemr}
 
-\def\unsskip{\ifdim\lastskip>0pt \unskip\fi}
+\def\unsskip{\ifmmode\else\ifdim\lastskip>0pt \unskip\fi\fi}
 \def\addtabitem{\ifnum\colnum>0 \addtabdata{&}\addto\ddlinedata{&\dditem}\fi
     \advance\colnum by1 \let\tmpa=\relax}
 \def\addtabdata#1{\tabdata\expandafter{\the\tabdata#1}}
@@ -1863,6 +1863,7 @@
            \colorstackcnt=0 used, \setrgbcolor, \formatcmyk, \formatrgb introduced.
 Apr. 2020  \mnote: \strut -> \lower\dp\strutbox\hbox{}
            \mspan: \cr#2\crcr -> \cr#2\cr (empty text must be formated too)
+May  2020  \isnextchar: \let\tmp=#1 -> \let\tmp= #1 (#1 should be space)
+           \unsskip: \ifmmode\else added.
 
 %%%%%%%%%%%%%% End of opmac.tex
-



More information about the tex-live-commits mailing list.