Subject: bug#57517: closed (Re: bug#57517: [PATCH] gnu: Add texlive-latex-lastpage.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 08 Sep 2022 13:48:02 +0000

Your bug report

#57517: [PATCH] gnu: Add texlive-latex-lastpage.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
57517: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57517
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#57517: [PATCH] gnu: Add texlive-latex-lastpage.
From: Ludovic Courtès <[email-masked]>
To: Wiktor Żelazny <[email-masked]>
Cc: [email-masked], Wiktor Żelazny <[email-masked]>
Date: Thu, 08 Sep 2022 15:47:07 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

> From: Wiktor Żelazny <[email-masked]>
>
> * gnu/packages/tex.scm (texlive-latex-lastpage): New variable.

Applied, thanks!

Subject: [PATCH] gnu: Add texlive-latex-lastpage.
From: Wiktor Żelazny <[email-masked]>
To: [email-masked]
Cc: Wiktor Żelazny <[email-masked]>
Date: Thu, 1 Sep 2022 11:38:04 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 1b3c086d54..3f98f5264e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11555,3 +11555,21 @@ (define-public texlive-sourcecodepro
 Adobe in both Adobe Type 1 and OpenType formats, plus macros supporting the
 use of the fonts in LaTeX (Type 1) and XeLaTeX/LuaLaTeX (OTF).")
     (license (list license:lppl1.3+ license:silofl1.1))))
+
+(define-public texlive-latex-lastpage
+  (package
+    (inherit (simple-texlive-package
+              "texlive-latex-lastpage"
+              (list "doc/latex/lastpage/"
+                    "tex/latex/lastpage/")
+              (base32 "0q6x743b8fkw9r82lrxy49f9xsg81bffynwvpnvpnp3h4mkafvdb")
+              #:trivial? #t))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/lastpage")
+    (synopsis "Reference last page for Page N of M type footers")
+    (description
+     "This package enables referencing the number of pages in a LaTeX document
+through the introduction of a new label which can be referenced like
+@code{\\pageref{LastPage}} to give a reference to the last page of a document.
+It is particularly useful in the page footer that says: Page N of M.")
+    (license license:lppl1.3c+)))

base-commit: 4a5fbadb88ff18bb7de87b351c6009aaa398a892
-- 
2.37.2