From 2530833e3e9ef37cdd1329302bf4cad9241192f1 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:45:25 +0200 Subject: [PATCH] gnu: Add texlive-captdef. * gnu/packages/tex.scm (texlive-captdef): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 3ee88bf86e..f028088938 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -75264,6 +75264,28 @@ your float environment with minimal overhead. This package adds three commands: @code{\\caption*}, @code{\\captcont}, and @code{\\captcont*}.") (license license:lppl))) +(define-public texlive-captdef + (package + (name "texlive-captdef") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/captdef/" "tex/latex/captdef/") + (base32 + "0arj6qqzq6idhbp1zm51z0ad8jyghkrp4yg34ybl7zshaxnm4ixn"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/captdef") + (synopsis "Declare free-standing @code{\\caption} commands") + (description + "The @code{\\DeclareCaption} command defines a class of caption command +associated with the counter specified to the command. These commands are +free-standing (i.e., don't need to be inside a float environment). The +package uses @code{\\DeclareCaption} to define @code{\\figcaption} and +@code{\\tabcaption}, which can be used outside @code{figure} or @code{table} +environments.") + (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