[texhax] ifthen functionality for plain TeX

Eduardo M KALINOWSKI eduardo at kalinowski.com.br
Mon Aug 4 13:03:55 CEST 2008

Alexander Grahn wrote:
> Hi,
> is there a way to get the functionalty of the LaTeX package `ifthen' in
> TeX too? I am particularly interested in negating and combining boolean
> expressions using \NOT, \AND, \OR.
> It is surprising that TeX doesn't provide this functionality by itself,
> as building complex conditional expressions is quite a common task and
> even the most ancient and most primitive higher programming languages
> provide the means for doing such things.
TeX is not a programming language. :-)  (Though many people have used it
as one.)

"The four building blocks of the universe are fire, water, gravel and vinyl."
		-- Dave Barry

eduardo at kalinowski.com.br

More information about the texhax mailing list