From 9c746f17fa3398be627a546ffcb0e757279d1f96 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:45:27 +0200 Subject: [PATCH] gnu: Add texlive-carbohydrates. * gnu/packages/tex.scm (texlive-carbohydrates): New variable. --- gnu/packages/tex.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index f028088938..fe5de5cbdb 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -75286,6 +75286,27 @@ package uses @code{\\DeclareCaption} to define @code{\\figcaption} and environments.") (license license:lppl))) +(define-public texlive-carbohydrates + (package + (name "texlive-carbohydrates") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/carbohydrates/" + "tex/latex/carbohydrates/") + (base32 + "0bczdi2wykragsl4ncy955wi7fdn8y4ppk51jprlvx9bg67g4wjv"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/carbohydrates") + (synopsis "Carbohydrate molecules with @code{chemfig}") + (description + "This package offers macros that make the preparation of exercise sheets for +teaching carbohydrate chemistry a lot less tedious. It uses @code{chemfig} +for drawing the formulas. Different representation models (Fischer, Haworth, +chair...) are supported as well as alpha, beta, and chain isomers.") + (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