[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/28: gnu: Add texlive-latex-doi.
From: |
Ricardo Wurmus |
Subject: |
15/28: gnu: Add texlive-latex-doi. |
Date: |
Sun, 21 Oct 2018 17:06:59 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 49b2e86adf2b0788c627120ae4c3cf55d3eb9afa
Author: Ricardo Wurmus <address@hidden>
Date: Sun Oct 21 20:51:02 2018 +0200
gnu: Add texlive-latex-doi.
* gnu/packages/tex.scm (texlive-latex-doi): New variable.
---
gnu/packages/tex.scm | 40 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6a76cbf..e4c307e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2016, 2018 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Federico Beffa <address@hidden>
;;; Copyright © 2016 Thomas Danckaert <address@hidden>
-;;; Copyright © 2016, 2017 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2016, 2017, 2018 Ricardo Wurmus <address@hidden>
;;; Copyright © 2017 Leo Famulari <address@hidden>
;;; Copyright © 2017 Marius Bakke <address@hidden>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
@@ -2274,6 +2274,44 @@ space-stripped macros.")
to something that's not a float.")
(license license:lppl)))
+(define-public texlive-latex-doi
+ (package
+ (name "texlive-latex-doi")
+ (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/doi"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "0378rdmrgr2lzbfi4qqy4dfpj5im20diyd8z8b9m4mlg05r7wgnb"))))
+ (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/doi")))
+ (mkdir-p target)
+ (copy-recursively (assoc-ref %build-inputs "source") target)
+ #t))))
+ (home-page "https://www.ctan.org/pkg/doi")
+ (synopsis "Create correct hyperlinks for DOI numbers")
+ (description
+ "You can hyperlink DOI numbers to doi.org. However, some publishers have
+elected to use nasty characters in their DOI numbering scheme (@code{<},
address@hidden>}, @code{_} and @code{;} have all been spotted). This will
either
+upset LaTeX, or your PDF reader. This package contains a single user-level
+command @code{\\doi{}}, which takes a DOI number, and creates a correct
+hyperlink to the target of the DOI.")
+ ;; Any version of the LPPL.
+ (license license:lppl1.3+)))
+
(define-public texlive-latex-etoolbox
(package
(name "texlive-latex-etoolbox")
- 24/28: gnu: fasttree: Use INVOKE., (continued)
- 24/28: gnu: fasttree: Use INVOKE., Ricardo Wurmus, 2018/10/21
- 23/28: gnu: express-beta-diversity: Update to 1.0.8., Ricardo Wurmus, 2018/10/21
- 20/28: gnu: discrover: Fetch from git., Ricardo Wurmus, 2018/10/21
- 17/28: gnu: Add texlive-latex-readarray., Ricardo Wurmus, 2018/10/21
- 18/28: gnu: Add texlive-latex-verbatimbox., Ricardo Wurmus, 2018/10/21
- 14/28: gnu: diamond: Fetch from git., Ricardo Wurmus, 2018/10/21
- 11/28: gnu: eolie: Update to 0.9.45., Ricardo Wurmus, 2018/10/21
- 25/28: gnu: python-screed: Update to 1.0., Ricardo Wurmus, 2018/10/21
- 19/28: gnu: Add texlive-latex-examplep., Ricardo Wurmus, 2018/10/21
- 16/28: gnu: Add texlive-generic-listofitems., Ricardo Wurmus, 2018/10/21
- 15/28: gnu: Add texlive-latex-doi.,
Ricardo Wurmus <=
- 10/28: gnu: python-dendropy: Fetch from git., Ricardo Wurmus, 2018/10/21
- 09/28: gnu: python-py2bit: Update to 0.3.0., Ricardo Wurmus, 2018/10/21
- 21/28: gnu: eigensoft: Update to 7.2.1., Ricardo Wurmus, 2018/10/21
- 13/28: gnu: delly: Update to 0.7.9., Ricardo Wurmus, 2018/10/21
- 12/28: gnu: deeptools: Update to 3.1.3., Ricardo Wurmus, 2018/10/21
- 08/28: gnu: cutadapt: Update to 1.18., Ricardo Wurmus, 2018/10/21
- 06/28: gnu: crossmap: Update to 0.2.9., Ricardo Wurmus, 2018/10/21
- 04/28: gnu: Add python-bx-python., Ricardo Wurmus, 2018/10/21
- 07/28: gnu: Add python-dnaio., Ricardo Wurmus, 2018/10/21
- 02/28: gnu: bwa-pssm: Fetch from git., Ricardo Wurmus, 2018/10/21