From: Pierre Neidhardt <ambrevar@gmail.com>
To: 32435@debbugs.gnu.org
Subject: [bug#32435] [PATCH 2/2] gnu: Add texlive-latex-ocgx2.
Date: Tue, 14 Aug 2018 10:57:21 +0200 [thread overview]
Message-ID: <20180814085721.9087-1-ambrevar@gmail.com> (raw)
In-Reply-To: <20180814085405.6925-1-ambrevar@gmail.com>
* gnu/packages/tex.scm (texlive-latex-ocgx2): New variable.
---
gnu/packages/tex.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 555971b9e..a500e5fa0 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4426,3 +4426,48 @@ supports the efficient H.264 codec for video compression.
The package is based on the RichMedia Annotation, an Adobe addition to the PDF
specification. It replaces the now obsolete @code{movie15} package.")
(license license:lppl)))
+
+(define-public texlive-latex-ocgx2
+ (package
+ (name "texlive-latex-ocgx2")
+ (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/ocgx2"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "12kkl7n534j0p4frwyrlw22dc3ik50kxv97cxp4xpmji13m0hxpf"))))
+ (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/ogcx2")))
+ (mkdir-p target)
+ (copy-recursively (assoc-ref %build-inputs "source") target)
+ #t))))
+ (home-page "https://www.ctan.org/pkg/ocgx2")
+ (synopsis "Provide OCG (Optional Content Groups) support within a PDF document")
+ (description
+ "This package provides OCG (Optional Content Groups) support within a PDF
+document.
+
+It re-implements the functionality of the @code{ocg}, @code{ocgx}, and
+@code{ocg-p} packages and adds support for all known engines and back-ends
+including:
+
+@itemize
+@item LaTeX → dvips → @code{ps2pdf}/Distiller
+@item (Xe)LaTeX(x) → @code{dvipdfmx}
+@item pdfLaTeX and LuaLaTeX .
+@end itemize
+
+It also ensures compatibility with the @code{media9} and @code{animate} packages.")
+ (license license:lppl)))
--
2.18.0
next prev parent reply other threads:[~2018-08-14 8:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-14 8:54 [bug#32435] [PATCH 1/2] gnu: Add texlive-latex-media9 Pierre Neidhardt
2018-08-14 8:57 ` Pierre Neidhardt [this message]
2018-08-14 11:28 ` [bug#32435] [PATCH 2/2] gnu: Add texlive-latex-ocgx2 Pierre Neidhardt
2018-08-16 20:54 ` bug#32435: " Leo Famulari
2018-08-23 14:47 ` [bug#32435] " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180814085721.9087-1-ambrevar@gmail.com \
--to=ambrevar@gmail.com \
--cc=32435@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.