[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
178/296: gnu: Add texlive-revtex4-1.
From: |
guix-commits |
Subject: |
178/296: gnu: Add texlive-revtex4-1. |
Date: |
Thu, 24 Aug 2023 05:20:43 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 20b2219c8113c5a6f50e8eec5e04819662602e82
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Aug 22 16:31:50 2023 +0200
gnu: Add texlive-revtex4-1.
* gnu/packages/tex.scm (texlive-revtex4-1): New variable.
---
gnu/packages/tex.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8eadc73631..097fa850cf 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -26260,6 +26260,52 @@ known to be incompatible with @code{revtex4-1}.")
users having difficulty with the incompatibility of that latest version.")
(license license:lppl)))
+(define-public texlive-revtex4-1
+ (package
+ (name "texlive-revtex4-1")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "bibtex/bst/revtex4-1/"
+ "doc/latex/revtex4-1/"
+ "source/latex/revtex4-1/"
+ "tex/latex/revtex4-1/")
+ (base32
+ "023pzbf8hgyk6038zz9g4g95pwqrsqy1ahzy6byxh28b2p8qyk9a")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (arguments
+ (list
+ #:modules '((ice-9 match)
+ (ice-9 regex)
+ (srfi srfi-1)
+ (guix build texlive-build-system)
+ (guix build utils))
+ #:build-targets #~(list "revtex4-1.dtx")
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; In order to build revtex4-1, we need files from revtex source.
+ ;; Add them to TEXINPUTS.
+ (add-before 'build 'extend-texinputs
+ (lambda* (#:key inputs native-inputs #:allow-other-keys)
+ (let ((revtex-source
+ (any (match-lambda
+ ((_ . dir)
+ (and (string-match
"texlive-revtex-[0-9]+-checkout"
+ dir)
+ dir)))
+ (or native-inputs inputs))))
+ (setenv "TEXINPUTS"
+ (string-append revtex-source
+ "/source/latex/revtex/:"))))))))
+ (native-inputs (list (package-source texlive-revtex)))
+ (home-page "https://ctan.org/pkg/revtex4-1")
+ (synopsis "Styles for various physics journals")
+ (description
+ "This is an old version of @code{revtex}, and is kept as a courtesy to
+users having difficulty with the incompatibility of that latest version.")
+ (license license:lppl1.3+)))
+
(define-public texlive-ribbonproofs
(package
(name "texlive-ribbonproofs")
- 158/296: gnu: Add texlive-nwafuthesis., (continued)
- 158/296: gnu: Add texlive-nwafuthesis., guix-commits, 2023/08/24
- 159/296: gnu: Add texlive-nwejm., guix-commits, 2023/08/24
- 160/296: gnu: Add texlive-onrannual., guix-commits, 2023/08/24
- 162/296: gnu: Add texlive-oup-authoring-template., guix-commits, 2023/08/24
- 165/296: gnu: Add texlive-pkuthss., guix-commits, 2023/08/24
- 168/296: gnu: Add texlive-pracjourn., guix-commits, 2023/08/24
- 169/296: gnu: Add texlive-prociagssymp., guix-commits, 2023/08/24
- 175/296: gnu: Add texlive-resphilosophica., guix-commits, 2023/08/24
- 170/296: gnu: Add texlive-proposal., guix-commits, 2023/08/24
- 176/296: gnu: Add texlive-resumecls., guix-commits, 2023/08/24
- 178/296: gnu: Add texlive-revtex4-1.,
guix-commits <=
- 179/296: gnu: Add texlive-rutitlepage., guix-commits, 2023/08/24
- 180/296: gnu: Add texlive-ryersonsgsthesis., guix-commits, 2023/08/24
- 183/296: gnu: Add texlive-sapthesis., guix-commits, 2023/08/24
- 189/296: gnu: Add texlive-se2thesis., guix-commits, 2023/08/24
- 190/296: gnu: Add texlive-seu-ml-assign., guix-commits, 2023/08/24
- 194/296: gnu: Add texlive-datetime., guix-commits, 2023/08/24
- 202/296: gnu: Add texlive-spie., guix-commits, 2023/08/24
- 200/296: gnu: Add texlive-soton., guix-commits, 2023/08/24
- 209/296: gnu: Add texlive-technion-thesis-template., guix-commits, 2023/08/24
- 224/296: gnu: Add texlive-toptesi., guix-commits, 2023/08/24