guix-commits
[Top][All Lists]
Advanced

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

88/296: gnu: Add texlive-hithesis.


From: guix-commits
Subject: 88/296: gnu: Add texlive-hithesis.
Date: Thu, 24 Aug 2023 05:20:12 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 1d2411be0cb8e7faa5912f7b5d4f047db9a23390
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Aug 22 15:46:51 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 84fd7197be..20d45f90fc 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -16311,6 +16311,36 @@ University of Technology Graduate Dissertation Writing 
Specifications} and
 Work Implementation Rules}.")
     (license license:lppl1.3c)))
 
+(define-public texlive-hithesis
+  (package
+    (name "texlive-hithesis")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "bibtex/bst/hithesis/"
+                   "doc/xelatex/hithesis/"
+                   "makeindex/hithesis/"
+                   "source/xelatex/hithesis/"
+                   "tex/xelatex/hithesis/")
+             (base32
+              "0w701f0ivf7k8jb2jiy5lhns4qiflyrslyiplm6aca67g2rcqgwn")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               ;; "hithesis.ins" writes files to "./figures" Create these
+               ;; directories first to prevent an error.
+               (add-before 'build 'prepare-build
+                 (lambda _
+                   (mkdir-p "build/figures"))))))
+    (home-page "https://ctan.org/pkg/hithesis";)
+    (synopsis "Harbin Institute of Technology thesis template")
+    (description
+     "@code{hithesis} is a LaTeX thesis template package for Harbin Institute
+of Technology supporting bachelor, master, doctor dissertations.")
+    (license license:lppl1.3a)))
+
 (define-public texlive-hindmadurai
   (package
     (name "texlive-hindmadurai")



reply via email to

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