diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-08-29 16:04:28 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-08-31 22:07:20 +0200 |
commit | b909fa8a61c2f02e8661daf73a6428c0fddcf079 (patch) | |
tree | 2fe9d40986fcb8b5c4064f6beac2b58e00841ded /gnu | |
parent | 582a841bf96321dd5bc337e290b333643fa0a053 (diff) | |
download | guix-b909fa8a61c2f02e8661daf73a6428c0fddcf079.tar.gz |
gnu: Add texlive-version.
* gnu/packages/tex.scm (texlive-version): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/tex.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 595d86bebd..f96aa930b6 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -99387,6 +99387,31 @@ exercises are already implemented: plain exercise, ``complete the text'', ``true or false'', closed questions, open questions, and ``find the error''.") (license license:lppl1.3+))) +(define-public texlive-version + (package + (name "texlive-version") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/version/" "tex/latex/version/") + (base32 + "1m4w450kgv92r41cqsxxn697h59bdsmms6icvhbfg5wq819k917v"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/version") + (synopsis "Conditionally include text") + (description + "This package defines macros @code{\\includeversion@{@var{NAME}@}} and +@code{\\excludeversion@{@var{NAME}@}}, each of which defines an environment +@var{NAME} whose text is to be included or excluded from compilation. + +Although the command syntax is very similar to that of @code{comment}, +@file{comment.sty} is to be preferred to @file{version.sty} for documents +where significant chunks of text may be excluded.") + ;; These macros may be freely used, transmitted, reproduced, or modified + ;; provided that the copyright notice and this permission is retained. + (license (license:fsf-free "file://tex/latex/version/version.sty")))) + ;;; ;;; 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 |