guix-commits
[Top][All Lists]
Advanced

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

218/296: gnu: Add texlive-thucoursework.


From: guix-commits
Subject: 218/296: gnu: Add texlive-thucoursework.
Date: Thu, 24 Aug 2023 05:21:08 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 9c7c89e558665c1553ab3dea66c31f6de2a5af64
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Aug 22 16:44:15 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index e7505aae64..e17ddb2e91 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -29732,6 +29732,54 @@ of Applied Sciences}.  These Logos are available in 
English and in Dutch.")
      "This package provides a Beamer theme designed for Tsinghua University.")
     (license license:lppl1.3c)))
 
+(define-public texlive-thucoursework
+  (package
+    (name "texlive-thucoursework")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/thucoursework/"
+                   "source/latex/thucoursework/"
+                   "tex/latex/thucoursework/")
+             (base32
+              "1cv2kadwzwwrw3q98wy7cjjl3084qqp55ki50v7m2ylrjxinwkv4")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments
+     (list
+      #:tex-format "xelatex"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'skip-documentation-build
+            ;; Only extract the ".sty" files.
+            (lambda _
+              (substitute* "source/latex/thucoursework/thucoursework.dtx"
+                (("\\\\DocInput\\{\\\\jobname\\.dtx\\}") "")))))))
+    (native-inputs
+     (list texlive-booktabs
+           texlive-carlisle
+           texlive-ctex
+           texlive-enumitem
+           texlive-etoolbox
+           texlive-fancyhdr
+           texlive-hypdoc
+           texlive-kastrup
+           texlive-listings
+           texlive-metalogo
+           texlive-newpx
+           texlive-newtx
+           texlive-oberdiek
+           texlive-realscripts
+           texlive-xcolor
+           texlive-xstring))
+    (home-page "https://ctan.org/pkg/thucoursework";)
+    (synopsis "Coursework template for Tsinghua University")
+    (description
+     "This package provides a LaTeX package for students of Tsinghua
+University to write coursework more efficiently.  It can also be used by
+students from other universities.")
+    (license license:lppl1.3+)))
+
 (define-public texlive-tinos
   (package
     (name "texlive-tinos")



reply via email to

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