[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62570] [PATCH 1/6] gnu: Add texlive-ncctools.
From: |
Nicolas Goaziou |
Subject: |
[bug#62570] [PATCH 1/6] gnu: Add texlive-ncctools. |
Date: |
Fri, 31 Mar 2023 17:32:21 +0200 |
* gnu/packages/tex.scm (texlive-ncctools): New variable.
---
gnu/packages/tex.scm | 64 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index b40e72c582..23f437412c 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8844,6 +8844,70 @@ (define-public texlive-latex-ms
@end itemize\n")
(license license:lppl1.3c+)))
+(define-public texlive-ncctools
+ (let ((template (simple-texlive-package
+ "texlive-ncctools"
+ (list "doc/latex/ncctools/"
+ "source/latex/ncctools/"
+ "tex/latex/ncctools/")
+ (base32
+ "1g3fpvrg6kx2ns97ih6iwdk0rcbxlv043x8rdppxdincl2lvbdx5"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t) "latex/ncctools")
+ ((#:build-targets _ '()) '(list "ncctools.ins"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/ncctools/")))
+ (replace 'copy-files
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((origin (assoc-ref inputs "source"))
+ (source (string-append #$output
+ "/share/texmf-dist/source"))
+ (doc (string-append #$output:doc
+ "/share/texmf-dist/doc")))
+ (copy-recursively (string-append origin "/source") source)
+ (copy-recursively (string-append origin "/doc") doc))))))))
+ (propagated-inputs
+ (list texlive-amsmath texlive-latex-graphics))
+ (home-page "https://ctan.org/pkg/ncctools")
+ (synopsis "Collection of general packages for LaTeX")
+ (description
+ "The NCCtools bundle contains many packages for general use under LaTeX;
+many are also used by NCC LaTeX. The bundle includes tools for:
+@itemize
+@item executing commands after a package is loaded;
+@item watermarks;
+@item counter manipulation;
+@item improvements to the @code{description} environment;
+@item hyphenation of compound words;
+@item new levels of footnotes;
+@item space-filling patterns;
+@item ``poor man's'' Black Board Bold symbols;
+@item alignment of the content of a box; use comma as decimal separator;
+@item boxes with their own crop marks;
+@item page cropmarks;
+@item improvements to fancy headers;
+@item float ``styles'', mini floats, side floats;
+@item manually marked footnotes;
+@item extension of amsmath;
+@item control of paragraph skip;
+@item an envelope to the @code{graphicx} package;
+@item dashed and multiple rules;
+@item alternative techniques for declarations of sections, captions, and
+toc-entries;
+@item generalised text-stretching;
+@item generation of new theorem-like environments;
+@item control of the text area;
+@item centered page layouts;
+@item and un-numbered top-level section.
+@end itemize")
+ (license license:lppl))))
+
(define-public texlive-numprint
(let ((template
(simple-texlive-package
--
2.39.2
- [bug#62570] [PATCH 0/6] Fix name and dependencies of a few Texlive packages, Nicolas Goaziou, 2023/03/31
- [bug#62570] [PATCH 1/6] gnu: Add texlive-ncctools.,
Nicolas Goaziou <=
- [bug#62570] [PATCH 2/6] gnu: Add texlive-relsize., Nicolas Goaziou, 2023/03/31
- [bug#62570] [PATCH 5/6] gnu: texlive-latex-totcount: Replace with texlive-totcount., Nicolas Goaziou, 2023/03/31
- [bug#62570] [PATCH 3/6] gnu: texlive-latex-bigfoot: Replace with texlive-bigfoot., Nicolas Goaziou, 2023/03/31
- [bug#62570] [PATCH 4/6] gnu: texlive-latex-acronym: Replace with texlive-acronym., Nicolas Goaziou, 2023/03/31
- [bug#62570] [PATCH 6/6] gnu: texlive-latex-lastpage: Replace with texlive-lastpage., Nicolas Goaziou, 2023/03/31