summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-16 17:30:28 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:18:52 +0200
commita34c51d73b848d18ba2284fe185d0ff5f65c4c6a (patch)
tree6af96430580d67ff4dc1ef24ded6da2472be5487 /gnu/packages/tex.scm
parent8619d89e2aa921f623bd61cac7fa723e1a9d4b40 (diff)
downloadguix-a34c51d73b848d18ba2284fe185d0ff5f65c4c6a.tar.gz
gnu: Add texlive-texplate.
* gnu/packages/tex.scm (texlive-texplate): New variable.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 2a4377385b..0eeb46297f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6600,6 +6600,31 @@ is a LaTeX package, which provides commands to run @command{texosquery} using
 TeX's shell escape mechanism and capture the result in a control sequence.")
     (license license:lppl1.3+)))
 
+(define-public texlive-texplate
+  (package
+    (name "texlive-texplate")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/support/texplate/" "scripts/texplate/"
+                   "source/support/texplate/")
+             (base32
+              "027vfbqm95ysp7sqlcz3p5b2107mcjg540x73nsf2d1g83k4ps4r")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments (list #:link-scripts #~(list "texplate.sh")))
+    (home-page "https://ctan.org/pkg/texplate")
+    (synopsis "Tool for creating document structures based on templates")
+    (description
+     "TeXplate is a tool for creating document structures based on templates.
+The application name is a word play on TeX and template, so the purpose seems
+quite obvious: we want to provide an easy and straightforward framework for
+reducing the typical code boilerplate when writing TeX documents.  Also note
+that one can easily extrapolate the use beyond articles and theses: the
+application is powerful enough to generate any text-based structure, given
+that a corresponding template exists.")
+    (license license:bsd-3)))
+
 (define-public texlive-ticollege
   (package
     (name "texlive-ticollege")