[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/47: gnu: Add texlive-latex-trimspaces.
From: |
Ricardo Wurmus |
Subject: |
37/47: gnu: Add texlive-latex-trimspaces. |
Date: |
Mon, 17 Jul 2017 08:04:13 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit f3540dbd47cff3a4cd4898afa2094b758b1d5f85
Author: Ricardo Wurmus <address@hidden>
Date: Tue Jul 11 12:05:24 2017 +0200
gnu: Add texlive-latex-trimspaces.
* gnu/packages/tex.scm (texlive-latex-trimspaces): New variable.
---
gnu/packages/tex.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 04dbc41..8d786b4 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1983,6 +1983,39 @@ recent classes such as powerdot or beamer, both of which
are tuned to
21st-century presentation styles.")
(license license:lppl1.2+)))
+(define-public texlive-latex-trimspaces
+ (package
+ (name "texlive-latex-trimspaces")
+ (version (number->string %texlive-revision))
+ (source (origin
+ (method svn-fetch)
+ (uri (texlive-ref "latex" "trimspaces"))
+ (sha256
+ (base32
+ "0da00lb32am4g63mn96625wg48p3pj3spx79lajrk17d549apwqa"))))
+ (build-system texlive-build-system)
+ (arguments
+ '(#:tex-directory "latex/trimspaces"
+ #:tex-format "latex"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-bug
+ (lambda _
+ ;; The "ins" file refers to the wrong source file.
+ (substitute* "trimspaces.ins"
+ (("pstool.tex") "trimspaces.tex"))
+ #t)))))
+ (inputs
+ `(("texlive-latex-filecontents" ,texlive-latex-filecontents)))
+ (home-page "http://www.ctan.org/pkg/trimspaces")
+ (synopsis "Trim spaces around an argument or within a macro")
+ (description
+ "This very short package allows you to expandably remove spaces around a
+token list (commands are provided to remove spaces before, spaces after, or
+both); or to remove surrounding spaces within a macro definition, or to define
+space-stripped macros.")
+ (license license:lppl)))
+
(define-public texlive-latex-capt-of
(package
(name "texlive-latex-capt-of")
- 31/47: gnu: Add texlive-generic-pdftex., (continued)
- 31/47: gnu: Add texlive-generic-pdftex., Ricardo Wurmus, 2017/07/17
- 13/47: gnu: Add texlive-latex-draftwatermark., Ricardo Wurmus, 2017/07/17
- 32/47: gnu: Add texlive-latex-bigfoot., Ricardo Wurmus, 2017/07/17
- 43/47: gnu: Add texlive-latex-enumitem., Ricardo Wurmus, 2017/07/17
- 22/47: gnu: Add texlive-latex-etoolbox., Ricardo Wurmus, 2017/07/17
- 29/47: gnu: Add texlive-latex-varwidth., Ricardo Wurmus, 2017/07/17
- 17/47: gnu: Add texlive-latex-cmap., Ricardo Wurmus, 2017/07/17
- 35/47: gnu: Add texlive-latex-ifplatform., Ricardo Wurmus, 2017/07/17
- 45/47: gnu: Add texlive-latex-type1cm., Ricardo Wurmus, 2017/07/17
- 21/47: gnu: Add texlive-latex-capt-of., Ricardo Wurmus, 2017/07/17
- 37/47: gnu: Add texlive-latex-trimspaces.,
Ricardo Wurmus <=
- 40/47: gnu: Add texlive-fontname., Ricardo Wurmus, 2017/07/17
- 39/47: gnu: python-ipython: Use texlive-union., Ricardo Wurmus, 2017/07/17
- 42/47: gnu: texlive-dvips: Install font maps., Ricardo Wurmus, 2017/07/17
- 33/47: gnu: Add texlive-latex-environ., Ricardo Wurmus, 2017/07/17
- 47/47: gnu: Add sooperlooper., Ricardo Wurmus, 2017/07/17
- 44/47: gnu: Add texlive-fonts-txfonts., Ricardo Wurmus, 2017/07/17
- 24/47: gnu: Add texlive-latex-mdwtools., Ricardo Wurmus, 2017/07/17
- 30/47: gnu: Add texlive-latex-wrapfig., Ricardo Wurmus, 2017/07/17
- 36/47: gnu: Add texlive-latex-psfrag., Ricardo Wurmus, 2017/07/17
- 34/47: gnu: Add texlive-latex-filemod., Ricardo Wurmus, 2017/07/17