diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-05-12 17:07:12 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-05-12 17:07:12 +0200 |
commit | d7b2b626996a97ebb9911c972b920f8eace34d4f (patch) | |
tree | 8088503542c84a8e141712bfabe3e6556154ce77 /doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex | |
parent | 924914d6830838e5b8191c6996c66fbfe50cd70d (diff) | |
download | context-d7b2b626996a97ebb9911c972b920f8eace34d4f.tar.gz |
2020-05-12 16:20:00
Diffstat (limited to 'doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex')
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex b/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex index 3e710fe8c..d199239b1 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex @@ -1091,6 +1091,18 @@ or more than zero. \stopsubsection +\startsubsection[title={\lpr {ifboolean}}] + +This primitive tests for non|-|zero, so the next variants are similar + +\starttyping + \ifcase <integer>.F.\else .T.\fi +\unless\ifcase <integer>.T.\else .F.\fi + \ifboolean<integer>.T.\else .F.\fi +\stoptyping + +\stopsubsection + \startsubsection[title={\lpr {iftok} and \lpr {ifcstok}}] \topicindex {conditions+tokens} @@ -1113,8 +1125,8 @@ provided in \LUAMETATEX: \typebuffer \startpacked[blank] {\tt\nospacing\getbuffer} \stoppacked -You can check if a macro is is defined as protected with \type {\ifprotected} -while frozen macros can be tested with \type {\iffrozen}. A provisional \type +You can check if a macro is defined as protected with \type {\ifprotected} while +frozen macros can be tested with \type {\iffrozen}. A provisional \type {\ifusercmd} tests will check if a command is defined at the user level (and this one might evolve). |