Subject: [PATCH] gnu: Add texlive-latex-marginfix.

From: Wiktor Żelazny <[email-masked]>
Date: Mon, 5 Sep 2022 13:47:32 +0200

From: Wiktor Żelazny <[email-masked]>

* gnu/packages/tex.scm (texlive-latex-marginfix): New variable.
---
 gnu/packages/tex.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 56308c4cf9..cad4d2c7dd 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5533,6 +5533,25 @@ (define-public texlive-makecmds
 @code{\\provideenvironment} for environments.")
     (license license:lppl1.3c+)))
 
+(define-public texlive-latex-marginfix
+  (package
+    (inherit (simple-texlive-package
+              "texlive-latex-marginfix"
+              (list "doc/latex/marginfix/"
+                    "tex/latex/marginfix/")
+              (base32 "1qinf42mjry8bi5h3kgbi6hcymnk8fw0w43527wm95nc365dq0mf")
+              #:trivial? #t))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/marginfix")
+    (synopsis "Patch \\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.")
+    (license license:lppl)))
+
 (define-public texlive-metalogo
   (package
     (inherit (simple-texlive-package

base-commit: 31b4eea5c0d361dfbca119c27cbc1e8c6f65782a
-- 
2.37.2