guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/09: gnu: Add texlive-titling.


From: guix-commits
Subject: 01/09: gnu: Add texlive-titling.
Date: Tue, 4 May 2021 09:17:48 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 3c51abe0594683139fa97937592092c45efe1cde
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 4 15:09:17 2021 +0200

    gnu: Add texlive-titling.
    
    * gnu/packages/tex.scm (texlive-titling): New variable.
---
 gnu/packages/tex.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f3737da..750c8ac 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8205,6 +8205,38 @@ testing whether an argument is empty.")
 page (also known as ‘end notes’).")
       (license license:lppl1.3c+))))
 
+(define-public texlive-titling
+  (let ((template (simple-texlive-package
+                   "texlive-titling"
+                   (list "/doc/latex/titling/"
+                         "/source/latex/titling/")
+                   (base32
+                    "0pc3806kc9p2dizdghis0p0b00xs0gmlh2nmf94f5wasz5mkw6bk"))))
+    (package
+      (inherit template)
+      (arguments
+       (substitute-keyword-arguments (package-arguments template)
+         ((#:tex-directory _ '())
+          "latex/titling")
+         ((#:build-targets _ '())
+          ''("titling.ins"))
+         ((#:tex-format _ "latex") "latex")
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (add-after 'unpack 'chdir
+               (lambda _ (chdir "source/latex/titling")))))))
+      (native-inputs
+       `(("texlive-cm" ,texlive-cm)))
+      (home-page "https://www.ctan.org/pkg/titling";)
+      (synopsis "Control typesetting of the \\maketitle command")
+      (description "The @code{titling} package provides control over the
+typesetting of the @code{\\maketitle} command and @code{\\thanks} commands,
+and makes the \title, @code{\\author} and @code{\\date} information
+permanently available.  Multiple titles are allowed in a single document.  New
+titling elements can be added and a @code{titlepage} title can be centered on
+a physical page.")
+      (license license:lppl))))
+
 (define-public texlive-kastrup
   (package
     (name "texlive-kastrup")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]