summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/boolexpr
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-08-14 23:50:51 +0000
committerKarl Berry <karl@freefriends.org>2009-08-14 23:50:51 +0000
commit3cda51c4ea4ac2affd9b693c6f071d884ab6b951 (patch)
tree2c14ac8aae14b936c81e7eb5e33245bc872e2f6b /Master/texmf-dist/doc/latex/boolexpr
parent9146738aa269b91c8d1aa570381afd808a3a4c40 (diff)
new (and updated) latex package boolexpr (30jul09)
git-svn-id: svn://tug.org/texlive/trunk@14675 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/boolexpr')
-rw-r--r--Master/texmf-dist/doc/latex/boolexpr/README52
-rw-r--r--Master/texmf-dist/doc/latex/boolexpr/boolexpr.pdfbin0 -> 203640 bytes
2 files changed, 52 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/boolexpr/README b/Master/texmf-dist/doc/latex/boolexpr/README
new file mode 100644
index 00000000000..ee437ea4583
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/boolexpr/README
@@ -0,0 +1,52 @@
+% boolexpr : Purely expandable boolean expressions and switch (eTeX)
+%
+% The \boolexpr macro evaluate boolean expressions in a *purely expandable way*.
+%
+% \boolexpr{ A \OR B \AND C } expands to 0 if the logical expression is TRUE.
+%
+% A, B, C may be :
+% - numeric expressions such as: x = y, x <> y, x > y or: x < y
+% - boolean switches: \iftrue 0\else 1\fi
+% - conditionals: \ifcsname whatsit\endcsname 0\else 1\fi
+% - another \boolexpr: \boolexpr{ D \OR E \AND F }
+%
+% \boolexpr may be used with \ifcase:
+% \ifcase\boolexpr{ A \OR B \AND C }
+% What to do if true
+% \else
+% What to do if false
+% \fi
+%
+% \switch remains *purely expandable* (it may be used inside \csname...\endcsname f.ex.)
+%
+% \switch
+% \case{ boolean expression} to do in first case
+% \case{ boolean expression} to do in second case
+% \otherwise to do if no case were true
+% \endswitch
+%
+% *********************************************************************************
+% This work consists of the main source file boolexpr.dtx and the derived
+% files : boolexpr.sty, boolexpr.pdf, boolexpr.ins
+%
+% Some examples are included in the documentation: it is preferable (albeit
+% not necessary) to install boolexpr.sty before compiling the documentation.
+%
+% Unpacking:
+% (a) If boolexpr.ins is present:
+% etex boolexpr.ins
+% (b) Without boolexpr.ins:
+% etex boolexpr.dtx
+% (c) If you insist on using LaTeX
+% latex \let\install=y\input{boolexpr.dtx}
+% (quote the arguments according to the demands of your shell)
+%
+% Documentation:
+% (pdf)latex boolexpr.dtx
+% makeindex -s gind.ist boolexpr.idx
+%
+% F Chervet - July 2009
+
+
+
+
diff --git a/Master/texmf-dist/doc/latex/boolexpr/boolexpr.pdf b/Master/texmf-dist/doc/latex/boolexpr/boolexpr.pdf
new file mode 100644
index 00000000000..ea16d7bc78b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/boolexpr/boolexpr.pdf
Binary files differ