From 962be3af65569d113941d64e0413bd347cd93dd5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 3 May 2021 13:42:22 +0200 Subject: gnu: Add texlive-sectsty. * gnu/packages/tex.scm (texlive-sectsty): New variable. --- gnu/packages/tex.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index bcb7f168fb..bd22e065ab 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2016, 2018, 2019, 2020, 2021 Efraim Flashner ;;; Copyright © 2016 Federico Beffa ;;; Copyright © 2016 Thomas Danckaert -;;; Copyright © 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus +;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus ;;; Copyright © 2017 Leo Famulari ;;; Copyright © 2017, 2020 Marius Bakke ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice @@ -8056,6 +8056,33 @@ basic Adobe Type 1 fonts (Times, Helvetica and Courier) in LaTeX using LY1 encoding.") (license license:lppl1.0+))) +(define-public texlive-sectsty + (let ((template (simple-texlive-package + "texlive-sectsty" + (list "/doc/latex/sectsty/" + "/source/latex/sectsty/") + (base32 + "08m90j7cg6w46vnwgsp10clpj4l6c9a6l8dad20q3mnd32l84hbl")))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ '()) + "latex/sectsty") + ((#:build-targets _ '()) + ''("sectsty.ins")) + ((#:tex-format _ "latex") "latex") + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/sectsty"))))))) + (home-page "https://www.ctan.org/pkg/sectsty") + (synopsis "Control sectional headers") + (description "This is a LaTeX2ε package to help change the style of any or +all of LaTeX's sectional headers in the article, book, or report classes. +Examples include the addition of rules above or below a section title. ") + (license license:lppl1.2+)))) + (define-public texlive-kastrup (package (name "texlive-kastrup") -- cgit v1.2.3