From ffe2b9c3ad2aa230a36a2a16b7fc7de36c7e3a0c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 14 Aug 2023 10:02:53 +0200 Subject: [PATCH] gnu: Add texlive-auto-pst-pdf. * gnu/packages/tex.scm (texlive-auto-pst-pdf): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 8a564714ab..216895f7ec 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1907,6 +1907,29 @@ (define-public texlive-ascii-chart converted between Plain TeX and LaTeX by a simple editing action.") (license license:lppl1.3+))) +(define-public texlive-auto-pst-pdf + (package + (name "texlive-auto-pst-pdf") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/auto-pst-pdf/" + "source/latex/auto-pst-pdf/" + "tex/latex/auto-pst-pdf/") + (base32 + "1lpjwqd0rhdzz3kywl54pjlpj1qsj7kflj0336vj2zb20rxl0hqp"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (propagated-inputs (list texlive-ifplatform texlive-iftex texlive-xkeyval)) + (home-page "https://ctan.org/pkg/auto-pst-pdf") + (synopsis "Wrapper for @code{pst-pdf} (with some PSfrag features)") + (description + "The package uses @samp{--shell-escape} to execute @code{pst-pdf} when necessary. +Wrappers are provided for various psfrag-related features so that Matlab +figures via @code{laprint}, Mathematica figures via MathPSfrag, and regular +PSfrag figures can all be input consistently and easily.") + (license license:lppl1.3c))) + (define-public texlive-autoaligne (package (name "texlive-autoaligne")