From 67916b9818d4bf6a6d37fa5b33d022e29a75f7e6 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:45:03 +0200 Subject: [PATCH] gnu: Add texlive-boolexpr. * gnu/packages/tex.scm (texlive-boolexpr): New variable. --- gnu/packages/tex.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index a3300a3e8b..2aee6f7a73 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -74701,6 +74701,46 @@ (define-public texlive-bookshelf typeface.") (license license:lppl1.3+))) +(define-public texlive-boolexpr + (package + (name "texlive-boolexpr") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/boolexpr/" + "source/latex/boolexpr/" + "tex/latex/boolexpr/") + (base32 + "1274l5q5nn1la2c5cbgvwmkpqhb28a94vsz92d3rsqgcahjdgapq"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/boolexpr") + (synopsis "Boolean expression evaluator and a switch command") + (description + "The @code{\\boolexpr} macro evaluates boolean expressions in a purely +expandable way. @samp{\\boolexpr@{ A \\OR B \\AND C @}} expands to 0 if the +logical expression is TRUE. A, B, C may be: + +@itemize + +@item numeric expressions such as: @samp{x=y}, @samp{x<>y}, @samp{x>y} or +@samp{x@} ... \\case@{@} ... ... \\otherwise ... \\endswitch}.") + (license license:lppl))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar