[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
104/111: gnu: Add texlive-pst2pdf.
From: |
guix-commits |
Subject: |
104/111: gnu: Add texlive-pst2pdf. |
Date: |
Mon, 14 Aug 2023 05:04:51 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 576fffb7833d5693055785930d54cc62a915aadc
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Aug 14 10:38:31 2023 +0200
gnu: Add texlive-pst2pdf.
* gnu/packages/tex.scm (texlive-pst2pdf): New variable.
---
gnu/packages/tex.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7fb5002cf2..84bb9521fa 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -34388,6 +34388,31 @@ circles.")
relationships such as diphthong membership.")
(license license:lppl)))
+(define-public texlive-pst2pdf
+ (package
+ (name "texlive-pst2pdf")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/support/pst2pdf/" "scripts/pst2pdf/")
+ (base32
+ "0yihyrnwwpad5hf8yrjqljpwsnj6kcbb6y6cfnxwxbi1c5pf1jk9")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (arguments (list #:link-scripts #~(list "pst2pdf.pl")))
+ (inputs (list perl))
+ (home-page "https://ctan.org/pkg/pst2pdf")
+ (synopsis "Script to compile PSTricks documents via pdfTeX")
+ (description
+ "The script extracts the preamble of the document and runs all
+@code{\\begin@{postscript@}...\\end@{postscript@}},
+@code{\\begin@{pspicture@}...\\end@{pspicture@}} and
+@code{\\pspicture...\\endpspicture} separately through LaTeX with the same
+preamble as the original document; thus it creates EPS, PNG and PDF files of
+these snippets. In a final pdfLaTeX run the script replaces the environments
+with @code{\\includegraphics} to include the processed snippets.")
+ (license license:gpl2)))
+
(define-public texlive-marginnote
(package
(name "texlive-marginnote")
- 15/111: gnu: Add texlive-pst-antiprism., (continued)
- 15/111: gnu: Add texlive-pst-antiprism., guix-commits, 2023/08/14
- 11/111: gnu: Add texlive-pst-3d., guix-commits, 2023/08/14
- 08/111: gnu: Add texlive-pedigree-perl., guix-commits, 2023/08/14
- 10/111: gnu: Add texlive-pst-2dplot., guix-commits, 2023/08/14
- 09/111: gnu: Add texlive-psbao., guix-commits, 2023/08/14
- 21/111: gnu: Add texlive-pst-blur., guix-commits, 2023/08/14
- 30/111: gnu: Add texlive-pst-dart., guix-commits, 2023/08/14
- 60/111: gnu: Add texlive-pst-lsystem., guix-commits, 2023/08/14
- 76/111: gnu: Add texlive-pst-platon., guix-commits, 2023/08/14
- 94/111: gnu: Add texlive-pst-thick., guix-commits, 2023/08/14
- 104/111: gnu: Add texlive-pst2pdf.,
guix-commits <=
- 56/111: gnu: Add texlive-pst-labo., guix-commits, 2023/08/14
- 54/111: gnu: Add texlive-pst-jtree., guix-commits, 2023/08/14
- 12/111: gnu: Add texlive-pst-3dplot., guix-commits, 2023/08/14
- 24/111: gnu: Add texlive-pst-calendar., guix-commits, 2023/08/14
- 68/111: gnu: Add texlive-pst-ode., guix-commits, 2023/08/14
- 69/111: gnu: Add texlive-pst-optexp., guix-commits, 2023/08/14
- 71/111: gnu: Add texlive-pst-osci., guix-commits, 2023/08/14
- 66/111: gnu: Add texlive-pst-node., guix-commits, 2023/08/14
- 92/111: gnu: Add texlive-pst-stru., guix-commits, 2023/08/14
- 79/111: gnu: Add texlive-pst-poly., guix-commits, 2023/08/14