diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-07-02 15:17:02 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-07-09 17:07:33 +0200 |
commit | da38b23595f4bd031ebf5e942556a2b4338d33f5 (patch) | |
tree | 30b9cb2267f006efc342369addfc37d61b108012 | |
parent | ecffeeb54ff9399e16cf633691da7a28d6c26d3a (diff) | |
download | guix-da38b23595f4bd031ebf5e942556a2b4338d33f5.tar.gz guix-da38b23595f4bd031ebf5e942556a2b4338d33f5.zip |
gnu: Add texlive-latex-overpic.
* gnu/packages/tex.scm (texlive-latex-overpic): New variable.
-rw-r--r-- | gnu/packages/tex.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 94f423b8a7..a081f5ec48 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2006,6 +2006,41 @@ rows. It has a lot of flexibility, including an option for specifying an entry at the \"natural\" width of its text.") (license license:lppl1.3+))) +(define-public texlive-latex-overpic + (package + (name "texlive-latex-overpic") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/overpic")) + (revision %texlive-revision))) + (sha256 + (base32 + "0m29q9qdb00558b7g2i7iw6w62n5s46yx81j8m99qkv77magk4fm")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/overpic"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/overpic") + (synopsis "Combine LaTeX commands over included graphics") + (description + "The @code{overpic} environment is a cross between the LaTeX +@code{picture} environment and the @code{\\includegraphics} command of +@code{graphicx}. The resulting picture environment has the same dimensions as +the included graphic. LaTeX commands can be placed on the graphic at defined +positions; a grid for orientation is available.") + (license license:lppl1.0+))) + (define texlive-texmf (package (name "texlive-texmf") |