From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJHRe-00088H-6b for guix-patches@gnu.org; Fri, 09 Jun 2017 06:47:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJHRc-0000WI-Ne for guix-patches@gnu.org; Fri, 09 Jun 2017 06:47:10 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33295) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJHRc-0000WA-Jm for guix-patches@gnu.org; Fri, 09 Jun 2017 06:47:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dJHRc-0006GH-DT for guix-patches@gnu.org; Fri, 09 Jun 2017 06:47:08 -0400 Subject: bug#27296: [PATCH 15/35] gnu: Add texlive-latex-filecontents. Resent-Message-ID: From: Ricardo Wurmus Date: Fri, 9 Jun 2017 12:45:39 +0200 Message-Id: <20170609104559.17416-15-rekado@elephly.net> In-Reply-To: <20170609104559.17416-1-rekado@elephly.net> References: <20170609104559.17416-1-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27296@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/tex.scm (texlive-latex-filecontents): New variable. --- gnu/packages/tex.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 5cb4ec6ab..0a4894d8b 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -824,6 +824,30 @@ with the required packages, constitutes what every LaTeX distribution should contain.") (license license:lppl1.3c+)))) +(define-public texlive-latex-filecontents + (package + (name "texlive-latex-filecontents") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "filecontents")) + (sha256 + (base32 + "0swkbxv8vg0yizadfnvrwjb4cj0pn34v9wm6v7wqq903fdav7k7q")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/filecontents")) + (home-page "http://www.ctan.org/pkg/filecontents") + (synopsis "Extended filecontents and filecontents* environments") + (description + "LaTeX2e's @code{filecontents} and @code{filecontents*} environments +enable a LaTeX source file to generate external files as it runs through +LaTeX. However, there are two limitations of these environments: they refuse +to overwrite existing files, and they can only be used in the preamble of a +document. The filecontents package removes these limitations, letting you +overwrite existing files and letting you use @code{filecontents} / +@code{filecontents*} anywhere.") + (license license:lppl1.3c+))) + (define texlive-texmf (package (name "texlive-texmf") -- 2.12.2