From: "Wiktor Żelazny" <wz@freeshell.de>
To: 57517@debbugs.gnu.org
Cc: "Wiktor Żelazny" <wzelazny@vurv.cz>
Subject: [bug#57517] [PATCH] gnu: Add texlive-latex-lastpage.
Date: Thu, 1 Sep 2022 11:38:04 +0200 [thread overview]
Message-ID: <20220901093804.18480-1-wz@freeshell.de> (raw)
From: Wiktor Żelazny <wzelazny@vurv.cz>
* 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
next reply other threads:[~2022-09-01 10:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 9:38 Wiktor Żelazny [this message]
2022-09-08 13:47 ` bug#57517: [PATCH] gnu: Add texlive-latex-lastpage Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220901093804.18480-1-wz@freeshell.de \
--to=wz@freeshell.de \
--cc=57517@debbugs.gnu.org \
--cc=wzelazny@vurv.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).