From cea723d2aa1e1a557d77d3b5dc4c143a51887745 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:43:50 +0200 Subject: [PATCH] gnu: Add texlive-apptools. * gnu/packages/tex.scm (texlive-apptools): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 3d9bb6a015..818be08ed9 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -72968,6 +72968,29 @@ the main part of the document. The total frame number counter is reset to 0 when entering the appendix.") (license license:gpl3))) +(define-public texlive-apptools + (package + (name "texlive-apptools") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/apptools/" + "source/latex/apptools/" + "tex/latex/apptools/") + (base32 + "0vd1gzz5yiidknzpzhdrw500666m0b881qbv6dwdb3qc9k3gbbnb"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/apptools") + (synopsis "Tools for customising appendices") + (description + "The package provides an @code{\\AtAppendix} command to add code to a hook +that is executed when \\appendix is called by the user. Additionally, a TeX +conditional @code{\\ifappendix} and a LaTeX-style conditional +@code{\\IfAppendix} are provided to check if @code{\\appendix} has already +been called.") + (license license:lppl1.3+))) + ;;; ;;; 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