summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-03-31 13:38:55 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-18 15:18:57 +0200
commit5af58d4ede74058fa387fa77c2edb0aa79974df1 (patch)
treebf94057cdf6b6560e0945cb59841d2cbfff13704 /gnu
parentc057a5c4184bb5846d26cb1ee2387eac26bd2fed (diff)
gnu: Add texlive-ncctools.
* gnu/packages/tex.scm (texlive-ncctools): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tex.scm64
1 files changed, 64 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 0257bb89a6e..ff92ace4dc5 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8844,6 +8844,70 @@ It also ensures compatibility with the @code{media9} and @code{animate} packages
8844@end itemize\n") 8844@end itemize\n")
8845 (license license:lppl1.3c+))) 8845 (license license:lppl1.3c+)))
8846 8846
8847(define-public texlive-ncctools
8848 (let ((template (simple-texlive-package
8849 "texlive-ncctools"
8850 (list "doc/latex/ncctools/"
8851 "source/latex/ncctools/"
8852 "tex/latex/ncctools/")
8853 (base32
8854 "1g3fpvrg6kx2ns97ih6iwdk0rcbxlv043x8rdppxdincl2lvbdx5"))))
8855 (package
8856 (inherit template)
8857 (outputs '("out" "doc"))
8858 (arguments
8859 (substitute-keyword-arguments (package-arguments template)
8860 ((#:tex-directory _ #t) "latex/ncctools")
8861 ((#:build-targets _ '()) '(list "ncctools.ins"))
8862 ((#:phases phases)
8863 #~(modify-phases #$phases
8864 (add-after 'unpack 'chdir
8865 (lambda _ (chdir "source/latex/ncctools/")))
8866 (replace 'copy-files
8867 (lambda* (#:key inputs #:allow-other-keys)
8868 (let ((origin (assoc-ref inputs "source"))
8869 (source (string-append #$output
8870 "/share/texmf-dist/source"))
8871 (doc (string-append #$output:doc
8872 "/share/texmf-dist/doc")))
8873 (copy-recursively (string-append origin "/source") source)
8874 (copy-recursively (string-append origin "/doc") doc))))))))
8875 (propagated-inputs
8876 (list texlive-amsmath texlive-latex-graphics))
8877 (home-page "https://ctan.org/pkg/ncctools")
8878 (synopsis "Collection of general packages for LaTeX")
8879 (description
8880 "The NCCtools bundle contains many packages for general use under LaTeX;
8881many are also used by NCC LaTeX. The bundle includes tools for:
8882@itemize
8883@item executing commands after a package is loaded;
8884@item watermarks;
8885@item counter manipulation;
8886@item improvements to the @code{description} environment;
8887@item hyphenation of compound words;
8888@item new levels of footnotes;
8889@item space-filling patterns;
8890@item poor man's Black Board Bold symbols;
8891@item alignment of the content of a box; use comma as decimal separator;
8892@item boxes with their own crop marks;
8893@item page cropmarks;
8894@item improvements to fancy headers;
8895@item float styles, mini floats, side floats;
8896@item manually marked footnotes;
8897@item extension of amsmath;
8898@item control of paragraph skip;
8899@item an envelope to the @code{graphicx} package;
8900@item dashed and multiple rules;
8901@item alternative techniques for declarations of sections, captions, and
8902toc-entries;
8903@item generalised text-stretching;
8904@item generation of new theorem-like environments;
8905@item control of the text area;
8906@item centered page layouts;
8907@item un-numbered top-level section.
8908@end itemize")
8909 (license license:lppl))))
8910
8847(define-public texlive-numprint 8911(define-public texlive-numprint
8848 (let ((template 8912 (let ((template
8849 (simple-texlive-package 8913 (simple-texlive-package