From 11ecf9f48f53b3263240e714cf1de859a9db6149 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:24:33 +0200 Subject: gnu: Add texlive-standalone. * gnu/packages/tex.scm (texlive-standalone): New variable. --- gnu/packages/tex.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index a6d6539e71..c5e36af064 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7270,3 +7270,32 @@ (define-public texlive-latex-xkeyval all help use in documents where several packages define their own sets of keys.") (license license:lppl1.3+))) + +(define-public texlive-standalone + (package + (name "texlive-standalone") + (version (number->string %texlive-revision)) + (source + (origin + (method svn-fetch) + (uri (texlive-ref "latex" "standalone")) + (sha256 + (base32 + "192ydxcn8ir96q8qwvnppksmqf5i0p50i0wz6iqazbwmh3dqxpx4")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/standalone")) + (propagated-inputs + `(("texlive-latex-xkeyval" ,texlive-latex-xkeyval))) + (native-inputs + `(("texlive-ydoc" ,texlive-ydoc))) + (home-page "http://www.ctan.org/pkg/standalone") + (synopsis "Compile TeX pictures stand-alone or as part of a document") + (description "A class and package is provided which allows TeX pictures or +other TeX code to be compiled standalone or as part of a main document. +Special support for pictures with beamer overlays is also provided. The +package is used in the main document and skips extra preambles in sub-files. +The class may be used to simplify the preamble in sub-files. By default the +@code{preview} package is used to display the typeset code without margins. +The behaviour in standalone mode may adjusted using a configuration file +@code{standalone.cfg} to redefine the standalone environment.") + (license license:lppl1.3+))) -- cgit v1.2.3