rekado pushed a commit to branch master
in repository guix.
commit d770d07fb5249a852b4043f4cde80505fd45fc39
Author: Ricardo Wurmus <[email protected]>
Date: Tue Jul 11 12:04:45 2017 +0200
gnu: Add texlive-latex-psfrag.
* gnu/packages/tex.scm (texlive-latex-psfrag): 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 1a1bfdf..04dbc41 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1931,6 +1931,31 @@ that are compatible with @code{natbib}: @code{plainnat},
@code{unsrtnat},
designed from the start to be compatible with @code{natbib}.")
(license license:lppl)))
+(define-public texlive-latex-psfrag
+ (package
+ (name "texlive-latex-psfrag")
+ (version (number->string %texlive-revision))
+ (source (origin
+ (method svn-fetch)
+ (uri (texlive-ref "latex" "psfrag"))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1dxbl5il7wbbsp0v45vk884xi1192wxw03849pb1g5q4x808n352"))))
+ (build-system texlive-build-system)
+ (arguments '(#:tex-directory "latex/psfrag"))
+ (home-page "http://www.ctan.org/pkg/psfrag")
+ (synopsis "Replace strings in encapsulated PostScript figures")
+ (description
+ "This package allows LaTeX constructions (equations, picture
+environments, etc.) to be precisely superimposed over Encapsulated PostScript
+figures, using your own favorite drawing tool to create an EPS figure and
+placing simple text \"tags\" where each replacement is to be placed, with
+PSfrag automatically removing these tags from the figure and replacing them
+with a user specified LaTeX construction, properly aligned, scaled, and/or
+rotated.")
+ (license (license:fsf-free "file://psfrag.dtx"))))
+
(define-public texlive-latex-seminar
(package
(name "texlive-latex-seminar")