texlive[59918] Master/texmf-dist: ifallfalse (13jul21)
commits+karl at tug.org
commits+karl at tug.org
Tue Jul 13 22:02:54 CEST 2021
Revision: 59918
http://tug.org/svn/texlive?view=revision&revision=59918
Author: karl
Date: 2021-07-13 22:02:54 +0200 (Tue, 13 Jul 2021)
Log Message:
-----------
ifallfalse (13jul21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/ifallfalse/README.md
trunk/Master/texmf-dist/doc/latex/ifallfalse/ifallfalse.pdf
trunk/Master/texmf-dist/source/latex/ifallfalse/ifallfalse.dtx
trunk/Master/texmf-dist/tex/latex/ifallfalse/ifallfalse.sty
Modified: trunk/Master/texmf-dist/doc/latex/ifallfalse/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ifallfalse/README.md 2021-07-13 20:02:42 UTC (rev 59917)
+++ trunk/Master/texmf-dist/doc/latex/ifallfalse/README.md 2021-07-13 20:02:54 UTC (rev 59918)
@@ -1,4 +1,4 @@
-# The LaTeX package ifallfalse - version 1.0.0 (2021/07/01)
+# The LaTeX package ifallfalse - version 1.0.1 (2021/07/12)
> Copyright (C) 2021 Dennis Chen <proofprogram at gmail.com>
>
@@ -11,12 +11,14 @@
> and version 1.3 or later is part of all distributions of LaTeX
> version 2005/12/01 or later.
-`ifallfalse` provides an environment that can compare a string against a set of another strings, and if it matches none of them, it executes some action.
+`ifallfalse` provides an `allfalse` environment that can compare a string against a set of another strings, and if it matches none of them, it executes some action.
+Note that this package does not work with the `lualatex` engine.
+
## Package contents
- `README.md` this file
-- `ifallfalse.pdf` documentation PDF with implementation details
+- `ifallfalse.pdf` documentation PDF with implementation details
- `ifallfalse.dtx` contains package and documentation code
- `ifallfalse.ins` generates .sty from .dtx
@@ -34,4 +36,4 @@
pdflatex ifallfalse.dtx
-to generate `ifallfalse.pdf`, which contains the package documentation.
\ No newline at end of file
+to generate `ifallfalse.pdf`, which contains the package documentation.
Modified: trunk/Master/texmf-dist/doc/latex/ifallfalse/ifallfalse.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/ifallfalse/ifallfalse.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/ifallfalse/ifallfalse.dtx 2021-07-13 20:02:42 UTC (rev 59917)
+++ trunk/Master/texmf-dist/source/latex/ifallfalse/ifallfalse.dtx 2021-07-13 20:02:54 UTC (rev 59918)
@@ -15,7 +15,7 @@
% \iffalse
%<package>
%<package>\NeedsTeXFormat{LaTeX2e}
-%<package>\ProvidesPackage{ifallfalse}[2021/07/01 v1.0.0 Compare string against set of other strings]
+%<package>\ProvidesPackage{ifallfalse}[2021/07/12 v1.0.1 Compare string against set of other strings]
%<*driver>
\documentclass{ltxdoc}
@@ -30,6 +30,7 @@
%</driver>
% \fi
%
+% \changes{v.1.0.1}{2021/07/12}{Fix errant references to allfalse environment and add limitations}
% \changes{v1.0.0}{2021/07/01}{Initial version}
%
% \GetFileInfo{ifallfalse.sty}
@@ -46,40 +47,40 @@
%
% \section{Usage}
%
-% The package provides an \textsf{ifallfalse} environment and a macro |\orcheck| to be used inside the \textsf{ifallfalse} environment.
+% The package provides an \textsf{allfalse} environment and a macro |\orcheck| to be used inside the \textsf{allfalse} environment.
%
-% \DescribeEnv{ifallfalse}
-% To set up an ifallfalse environment, simply write
+% \DescribeEnv{allfalse}
+% To set up an allfalse environment, simply write
% \begin{verbatim}
-%\begin{ifallfalse}{string}{action}
+%\begin{allfalse}{string}{action}
%
-%\end{ifallfalse}
+%\end{allfalse}
% \end{verbatim}
% \textsf{string} will be compared to the set of strings (which we will declare via |\orcheck|), and if \textsf{string} does not match the set of strings, \textsf{action} will be executed.
%
% \DescribeMacro{\orcheck}
%
-% To add strings to the set that \textsf{string} will be compared to, we must write |\orcheck{setstring}| inside the corresponding \textsf{ifallfalse} environment. Then, \textsf{action} will not execute if \textsf{string} matches \textsf{setstring} or any arguments of previous |\orcheck| declarations.
+% To add strings to the set that \textsf{string} will be compared to, we must write |\orcheck{setstring}| inside the corresponding \textsf{allfalse} environment. Then, \textsf{action} will not execute if \textsf{string} matches \textsf{setstring} or any arguments of previous |\orcheck| declarations.
%
% If no |\orcheck| declarations exist, then \textsf{action} will always be executed.
%
% \subsection{Error Checking}
%
-% The package checks whether the macro |\orcheck| is used inside an \textsf{ifallfalse} environment. If it is not, the package throws an error.
+% The package checks whether the macro |\orcheck| is used inside an \textsf{allfalse} environment. If it is not, the package throws an error.
%
% \section{Example}
%
-% Here is a simple example to demonstrate how \textsf{ifallfalse} is used.
+% Here is a simple example to demonstrate how \textsf{allfalse} is used.
% \begin{verbatim}
%\documentclass{minimal}
%
%\begin{document}
%
-%\begin{ifallfalse}{purple}{This color is not red, blue, or green!}
+%\begin{allfalse}{purple}{This color is not red, blue, or green!}
% \orcheck{red}
% \orcheck{blue}
% \orcheck{green}
-%\end{ifallfalse}
+%\end{allfalse}
%
%\end{document}
% \end{verbatim}
@@ -88,10 +89,10 @@
%
% \section{Implementation}
%
-% These are the implementation details of package \textsf{ifallfalse}. Because the package is so short, we can explain everything.
+% These are the implementation details of package \textsf{allfalse}. Because the package is so short, we can explain everything.
%
-% \begin{environment}{ifallfalse}
-% When setting up ifallfalse, we locally define the |\comparedstring| macro with the first argument that the environment takes in. This is what will be compared against all the strings passed in through the |\orcheck| declarations inside the environment.
+% \begin{environment}{allfalse}
+% When setting up allfalse, we locally define the |\comparedstring| macro with the first argument that the environment takes in. This is what will be compared against all the strings passed in through the |\orcheck| declarations inside the environment.
%
% Then, we define our body of logic (which we will be adding onto through |\orcheck|) to just initially consist of the action we would like to perform if |\comparedstring| matches none of the strings passed in through |\orcheck|.
% \begin{macrocode}
@@ -139,5 +140,9 @@
% \end{macrocode}
% \end{macro}
%
+% \section{Limitations}
+%
+% This package cannot be used in the \textsf{lualatex} engine.
+%
% \Finale
-\endinput
\ No newline at end of file
+\endinput
Modified: trunk/Master/texmf-dist/tex/latex/ifallfalse/ifallfalse.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ifallfalse/ifallfalse.sty 2021-07-13 20:02:42 UTC (rev 59917)
+++ trunk/Master/texmf-dist/tex/latex/ifallfalse/ifallfalse.sty 2021-07-13 20:02:54 UTC (rev 59918)
@@ -15,7 +15,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ifallfalse}[2021/07/01 v1.0.0 Compare string against set of other strings]
+\ProvidesPackage{ifallfalse}[2021/07/12 v1.0.1 Compare string against set of other strings]
\newenvironment{allfalse}[2]
{
More information about the tex-live-commits
mailing list.