guix-commits
[Top][All Lists]
Advanced

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

44/452: gnu: texlive-latex-newfloat -> texlive-newfloat.


From: guix-commits
Subject: 44/452: gnu: texlive-latex-newfloat -> texlive-newfloat.
Date: Fri, 9 Jun 2023 13:42:53 -0400 (EDT)

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

commit cb1d98c0910d1084266cfb697676043ad95c326e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 00:29:11 2023 +0200

    gnu: texlive-latex-newfloat -> texlive-newfloat.
    
    * gnu/packages/tex.scm (texlive-newfloat): New variable.
    (texlive-latex-newfloat): Deprecate variable.
    (texlive-minted): Use new name.
---
 gnu/packages/tex.scm | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f7491a7506..12b76336c9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5376,15 +5376,21 @@ compatible with @code{natbib}.")
 
 (define-deprecated-package texlive-latex-natbib texlive-natbib)
 
-(define-public texlive-latex-newfloat
+(define-public texlive-newfloat
   (package
-    (inherit (simple-texlive-package
-              "texlive-latex-newfloat"
-              (list "doc/latex/newfloat/"
-                    "tex/latex/newfloat/")
-              (base32 "1047max3li9ni15njgsvc7qglakgrjy2l0s72imgzdmwgb2h8jyf")
-              #:trivial? #t))
+    (name "texlive-newfloat")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/newfloat/"
+                   "source/latex/newfloat/"
+                   "tex/latex/newfloat/")
+             (base32
+              "1hrackdfrzad8cgbl3f3yaagk4p4zjbvq710rm8b1z02fr9z2zkq")))
+    (outputs '("out" "doc"))
     (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-graphics))
     (home-page "https://ctan.org/pkg/newfloat";)
     (synopsis "Define new floating environments")
     (description
@@ -5393,6 +5399,8 @@ which the user may use to define new floating 
environments which behave like
 the LaTeX standard foating environments @code{figure} and @code{table}.")
     (license license:lppl)))
 
+(define-deprecated-package texlive-latex-newfloat texlive-newfloat)
+
 (define-public texlive-latex-newunicodechar
   (package
     (inherit (simple-texlive-package
@@ -10668,12 +10676,12 @@ configuration of its own fixed names, using 
@file{.mld} files.")
       (propagated-inputs (list python-pygments
                                texlive-etoolbox
                                texlive-fancyvrb
-                               texlive-fvextra
                                texlive-latex-float
                                texlive-latex-framed
+                               texlive-fvextra
                                texlive-ifplatform
-                               texlive-latex-newfloat
                                texlive-lineno
+                               texlive-newfloat
                                texlive-xstring))
       (home-page "https://ctan.org/pkg/minted";)
       (synopsis "Highlight source code in LaTeX documents")



reply via email to

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