From e2b7940ca683c75b19aa262ecb88846b93303fe2 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 16 Jul 2023 17:25:18 +0200 Subject: gnu: Add texlive-texdiff. * gnu/packages/tex.scm (texlive-texdiff): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 0c85a270f3..28381e3ce8 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6308,6 +6308,29 @@ flavour can be selected using a command line option, or via the script name: @command{latexdef} will use LaTeX as default, etc.") (license license:gpl3))) +(define-public texlive-texdiff + (package + (name "texlive-texdiff") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/man/man1/texdiff.1" + "doc/man/man1/texdiff.man1.pdf" + "doc/support/texdiff/" "scripts/texdiff/") + (base32 + "1cp2k217ziwdgh5c7lg22p58ajv7j410ncag620lkdwajc5jqx1d"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:link-scripts #~(list "texdiff"))) + (home-page "https://ctan.org/pkg/texdiff") + (synopsis "Compare documents and produce tagged merge") + (description + "Two files are compared and a new TeX file is output. When the output +file is processed with (La)TeX it marks new changes with blue and old text +with red with a strike-through line. Furthermore, passages with changes are +marked at the margin with grey bars by the LaTeX @code{changebar} package.") + (license license:artistic2.0))) + (define-public texlive-texdraw (package (name "texlive-texdraw") -- cgit v1.2.3