guix-commits
[Top][All Lists]
Advanced

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

61/458: gnu: texlive-latex-marginfix -> texlive-marginfix.


From: guix-commits
Subject: 61/458: gnu: texlive-latex-marginfix -> texlive-marginfix.
Date: Wed, 14 Jun 2023 05:22:07 -0400 (EDT)

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

commit a969a35a312520cf7701782a4b1e9a18b1705ff8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 12:03:52 2023 +0200

    gnu: texlive-latex-marginfix -> texlive-marginfix.
    
    * gnu/packages/tex.scm (texlive-marginfix): New variable.
    (texlive-latex-marginfix): Deprecate variable.
---
 gnu/packages/tex.scm | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8aef14b849..6f30c4754a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6098,25 +6098,31 @@ always (re)defines a command.  There is also 
@code{\\makeenvironment} and
 @code{\\provideenvironment} for environments.")
     (license license:lppl1.3c+)))
 
-(define-public texlive-latex-marginfix
+(define-public texlive-marginfix
   (package
-    (inherit (simple-texlive-package
-              "texlive-latex-marginfix"
-              (list "doc/latex/marginfix/"
-                    "tex/latex/marginfix/")
-              (base32 "1qinf42mjry8bi5h3kgbi6hcymnk8fw0w43527wm95nc365dq0mf")
-              #:trivial? #t))
+    (name "texlive-marginfix")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/marginfix/"
+                   "source/latex/marginfix/"
+                   "tex/latex/marginfix/")
+             (base32
+              "0y6lmxm5ws2g0rqisvgdc8kg3whnvabrkl662sb4jvvaz02y3qdi")))
+    (outputs '("out" "doc"))
     (build-system texlive-build-system)
     (home-page "https://ctan.org/pkg/marginfix";)
-    (synopsis "Patch \\marginpar to avoid overfull margins")
+    (synopsis "Patch @code{\\marginpar} to avoid overfull margins")
     (description
      "Authors using LaTeX to typeset books with significant margin material
 often run into the problem of long notes running off the bottom of the page.
-This package implements a solution to make marginpars ``just work'' by keeping
-a list of floating inserts and arranging them intelligently in the output
-routine.")
+This package implements a solution to make @code{marginpars} just work by
+keeping a list of floating inserts and arranging them intelligently in the
+output routine.")
     (license license:lppl)))
 
+(define-deprecated-package texlive-latex-marginfix texlive-marginfix)
+
 (define-public texlive-metalogo
   (package
     (inherit (simple-texlive-package



reply via email to

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