From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gN/tFgGJEGOkkwAAbAwnHQ (envelope-from ) for ; Thu, 01 Sep 2022 12:27:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mKoQFgGJEGMtBQAAG6o9tA (envelope-from ) for ; Thu, 01 Sep 2022 12:27:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0188E39B3A for ; Thu, 1 Sep 2022 12:27:13 +0200 (CEST) Received: from localhost ([::1]:37850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oThPf-0002wT-Ba for larch@yhetil.org; Thu, 01 Sep 2022 06:27:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTgg6-0000QC-Dp for guix-patches@gnu.org; Thu, 01 Sep 2022 05:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTgg6-0002vY-1f for guix-patches@gnu.org; Thu, 01 Sep 2022 05:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTgg5-0000wI-IC for guix-patches@gnu.org; Thu, 01 Sep 2022 05:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57517] [PATCH] gnu: Add texlive-latex-lastpage. Resent-From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Sep 2022 09:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57517@debbugs.gnu.org Cc: Wiktor =?UTF-8?Q?=C5=BBelazny?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16620251423527 (code B ref -1); Thu, 01 Sep 2022 09:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2022 09:39:02 +0000 Received: from localhost ([127.0.0.1]:41259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTgf7-0000uo-TP for submit@debbugs.gnu.org; Thu, 01 Sep 2022 05:39:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:44318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTgf5-0000uP-NH for submit@debbugs.gnu.org; Thu, 01 Sep 2022 05:39:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTgf2-0007G6-OO for guix-patches@gnu.org; Thu, 01 Sep 2022 05:38:58 -0400 Received: from freeshell.de ([116.202.128.144]:58678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTgf0-0002qm-Qh for guix-patches@gnu.org; Thu, 01 Sep 2022 05:38:56 -0400 Received: from localhost.localdomain (cst-prg-10-57.cust.vodafone.cz [46.135.10.57]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id 81CAEB390DF3; Thu, 1 Sep 2022 11:38:47 +0200 (CEST) From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Date: Thu, 1 Sep 2022 11:38:04 +0200 Message-Id: <20220901093804.18480-1-wz@freeshell.de> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=116.202.128.144; envelope-from=wz@freeshell.de; helo=freeshell.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662028033; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=eQ11HLNVN2MBr7fXEByoAvD2NIqWiiRag96+xrDPjbE=; b=PaTzkNXYJ5Co84ZapR7sFInd0pkCI1qnRmtGrkx7hADyP6JC2+CCgewnyjl5vLqqZfvdRk 4IeohtR7iOTzHKwoI81Fvihn8Lgcn0A6I5TzQOUJSJF2ILBkW8vtoVZbeSEOhqfqwW4D1v Y3R3UKCxfha1pwTwj6x64Xr+Ia2poY4kBVmFebu2FcM4UCsB2TyeCU1hVvb3uvQ/3Fs1gR dKG5rqiF7fj7cYA+cPqNZ5/m14kKefgXGJuwFNhlOUtYuvrv+E71obPqP4+FVlS/jfFGyr CqwkwMQLQx2sKJo8OKytQtY/+45iKssYczo7Ly4248bE74iGCdrzlgd27/4sfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662028033; a=rsa-sha256; cv=none; b=ZYAKjNg2QOS8r267Mo9DETgAcibQO5p78YisHziU/7ezoOfowWskw5TNP6cB3BSKls1kEf j1ViF5YS4w7DJJ6falmHb4Fp2kvv1NokNfpZr1UV+XybsERqXFt0UBCJ+7IAVtO6oCPKlJ 7oGX4OFR1Nlhmj7ZazG2Oe3AF1X1a+Lzf08C5Vi2sAijQF0zolWtnPYufrkaMWvwdlI8kK XT9p3gaVhMZj/Iwl05hT0UaFTShQLqJFk4NpGVDDiqKV9Ht1FkBJAXLnRB4PCT0FcffeKW Lyh32tRfV9BmYZoRgwkcEhgROHjRTzvYqh+0dSTbRiHm4T+sgVusgaXZJ2lbUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freeshell.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freeshell.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0188E39B3A X-Spam-Score: 3.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9ilcmga5ue0c From: Wiktor Żelazny * 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