guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

134/435: gnu: texlive-ifoddpage: Refresh package definition.


From: guix-commits
Subject: 134/435: gnu: texlive-ifoddpage: Refresh package definition.
Date: Tue, 6 Jun 2023 11:39:31 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 9cbfbc6c91d54f05bef10679d8db165a148c2854
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 23:02:28 2023 +0200

    gnu: texlive-ifoddpage: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-ifoddpage): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 48 ++++++++++++++++++++++++------------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ed76006266..be0f0d7792 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11320,30 +11320,30 @@ a physical page.")
       (license license:lppl))))
 
 (define-public texlive-ifoddpage
-  (let ((template (simple-texlive-package
-                   "texlive-ifoddpage"
-                   (list "/source/latex/ifoddpage/")
-                   (base32
-                    "14x0haj3xjsk9dn2djg117sl7x5nbwgbivhjj3ichnxlgrlf1bis"))))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/ifoddpage")
-         ((#:build-targets _ '())
-          ''("ifoddpage.ins"))))
-      (native-inputs
-       (list texlive-ydoc))
-      (home-page "https://www.ctan.org/pkg/ifoddpage";)
-      (synopsis "Determine if the current page is odd or even")
-      (description "This package provides an @code{\\ifoddpage} conditional to
-determine if the current page is odd or even.  The macro @code{\\checkoddpage}
-must be used directly before to check the page number using a label.  Two
-compiler runs are therefore required to achieve correct results.  In addition,
-the conditional @code{\\ifoddpageoronside} is provided which is also true in
-@code{oneside} mode where all pages use the odd page layout.")
-      (license license:lppl1.3))))
+  (package
+    (name "texlive-ifoddpage")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/ifoddpage/"
+                   "source/latex/ifoddpage/"
+                   "tex/latex/ifoddpage/")
+             (base32
+              "06xn3dwf6aa8j3lmvvgwfadw2ahw770jx91x8nyl8zir58aiys5s")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (native-inputs
+     (list texlive-ydoc))
+    (home-page "https://ctan.org/pkg/ifoddpage";)
+    (synopsis "Determine if the current page is odd or even")
+    (description
+     "This package provides an @code{\\ifoddpage} conditional to determine if
+the current page is odd or even.  The macro @code{\\checkoddpage} must be used
+directly before to check the page number using a label.  Two compiler runs are
+therefore required to achieve correct results.  In addition, the conditional
+@code{\\ifoddpageoronside} is provided which is also true in @code{oneside}
+mode where all pages use the odd page layout.")
+    (license license:lppl1.3)))
 
 (define-public texlive-storebox
   (let ((template (simple-texlive-package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]