summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-16 17:44:51 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:19:01 +0200
commitf42b48edf45f08691a4bed7468785913ecbf55af (patch)
tree42c45312aea49a16c1b84f144143da1ecdbc3770
parent9da7433cc7d7919faa03bac7b1bf817c15d1ef22 (diff)
downloadguix-f42b48edf45f08691a4bed7468785913ecbf55af.tar.gz
gnu: Add texlive-git-latexdiff.
* gnu/packages/tex.scm (texlive-git-latexdiff): New variable.
-rw-r--r--gnu/packages/tex.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d10c5f0291..e2f2f88b75 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9788,6 +9788,28 @@ files, by @code{\\includegraphics}.  In effect, then package adds support for
 the @file{.tex} extension.")
     (license license:lppl1.3+)))
 
+(define-public texlive-git-latexdiff
+  (package
+    (name "texlive-git-latexdiff")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/man/man1/git-latexdiff.1"
+                   "doc/man/man1/git-latexdiff.man1.pdf"
+                   "doc/support/git-latexdiff/"
+                   "scripts/git-latexdiff/")
+             (base32
+              "1hblgnjad5qm27ijpynz0x1rxgi07y5apgnv5r2wk3ngxj016pvn")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments (list #:link-scripts #~(list "git-latexdiff")))
+    (home-page "https://ctan.org/pkg/git-latexdiff")
+    (synopsis "Call @command{latexdiff} on two Git revisions of a file")
+    (description
+     "@command{git-latexdiff} is a tool to graphically visualize differences
+between different versions of a LaTeX file.")
+    (license license:bsd-2)))
+
 (define-public texlive-glyphlist
   (package
     (name "texlive-glyphlist")