guix-commits
[Top][All Lists]
Advanced

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

20/44: gnu: Add texlive-latex-fancyhdr.


From: Ricardo Wurmus
Subject: 20/44: gnu: Add texlive-latex-fancyhdr.
Date: Sun, 9 Jul 2017 11:09:11 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 20282111e5bd52c68d57d714d90c81463b2c34d0
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Jul 2 15:14:40 2017 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 42b5ef2..2895f68 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1821,6 +1821,39 @@ using box macros and flexible verbatim macros.  You can 
box mathematics,
 floats, center, flushleft, and flushright, lists, and pages.")
     (license license:lppl1.2+)))
 
+(define-public texlive-latex-fancyhdr
+  (package
+    (name "texlive-latex-fancyhdr")
+    (version (number->string %texlive-revision))
+    (source (origin
+              (method svn-fetch)
+              (uri (svn-reference
+                    (url (string-append "svn://www.tug.org/texlive/tags/"
+                                        %texlive-tag "/Master/texmf-dist/"
+                                        "/tex/latex/fancyhdr"))
+                    (revision %texlive-revision)))
+              (sha256
+               (base32
+                "04h430agf8aj7ziwyb46xpk95c605rjk1wzhr63m6ylipihidlgw"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let ((target (string-append (assoc-ref %outputs "out")
+                                      "/share/texmf-dist/tex/latex/fancyhdr")))
+           (mkdir-p target)
+           (copy-recursively (assoc-ref %build-inputs "source") target)
+           #t))))
+    (home-page "http://www.ctan.org/pkg/fancyhdr";)
+    (synopsis "Extensive control of page headers and footers in LaTeX2e")
+    (description
+     "The package provides extensive facilities, both for constructing headers
+and footers, and for controlling their use (for example, at times when LaTeX
+would automatically change the heading style in use).")
+    (license license:lppl)))
+
 (define texlive-texmf
   (package
    (name "texlive-texmf")



reply via email to

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