summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-08-29 16:04:18 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-08-31 22:07:17 +0200
commite80a11cde47fd0be31d3a43b7529f44ac9d26d6c (patch)
tree4e813a8318a289334b7421ac7232049281a8921e /gnu
parenteebda10ca720df4605e9ab677f77bb52f2b41687 (diff)
downloadguix-e80a11cde47fd0be31d3a43b7529f44ac9d26d6c.tar.gz
gnu: Add texlive-varsfromjobname.
* gnu/packages/tex.scm (texlive-varsfromjobname): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tex.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 1051a211bb..1a0dbb117b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -99216,6 +99216,26 @@ For example, with it you can generate multiple index entries in almost any
 form by a single command.")
     (license license:lppl)))
 
+(define-public texlive-varsfromjobname
+  (package
+    (name "texlive-varsfromjobname")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/varsfromjobname/"
+                   "tex/latex/varsfromjobname/")
+             (base32
+              "1b6k85hxz2frz33cqdbkhqa204s43r6sd44i2qjihicgwlnv2q60")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/varsfromjobname")
+    (synopsis "Extract variables from the name of the LaTeX file")
+    (description
+     "The package allows the user to extract information from the job name,
+provided that the name has been structured appropriately: the package expects
+the file name to consist of a set of words separated by hyphens.")
+    (license license:lppl)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar