From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SGXdGoMgZmJ3fgAAbAwnHQ (envelope-from ) for ; Mon, 25 Apr 2022 06:16:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qA+/GoMgZmJ5VgAAauVa8A (envelope-from ) for ; Mon, 25 Apr 2022 06:16:03 +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 A81C2397A5 for ; Mon, 25 Apr 2022 06:16:02 +0200 (CEST) Received: from localhost ([::1]:36346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niq8n-0003mJ-QA for larch@yhetil.org; Mon, 25 Apr 2022 00:16:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipuk-0007mf-Bj for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:36 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipuV-0001N5-1z for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:19 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipuU-00080d-UW for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 018/232] gnu: Add texlive-zref. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:01:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55104@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55104-submit@debbugs.gnu.org id=B55104.165085926630615 (code B ref 55104); Mon, 25 Apr 2022 04:01:14 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:01:06 +0000 Received: from localhost ([127.0.0.1]:60729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipuL-0007xQ-OT for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:01:06 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:44618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niptH-0007i5-NZ for 55104@debbugs.gnu.org; Mon, 25 Apr 2022 00:00:00 -0400 Received: by mail-qt1-f171.google.com with SMTP id t11so2667687qto.11 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 20:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+LPOX6DAHFqIu2+67jNCFG2WFMELiZV0EBLaly0V9oQ=; b=UbMtRMdiAocdpLNorl+XO0LdpKT4NsBJXBY7L9hSdeCN90J/2M9+4XrWmQE4zzzpDG 5O6C6Y50UP6f8nlYZRkuTmAPLedodBUg5jcnMGhN8pEUIHsGyJBbHPRW4Iw6XNLyosPd mH+7qD0bG8y3hgVQB6a+ZNWW7bBjKVDWS/cZikiJCqivRYRT4nlPfFkA/29kQ6OiONE5 LbLEgPclZZiRTaLmBtp1qSHvLjLG1alCyhT3QyvKplJrqgIflPpbmvECTmfEyeFlY/yx g6WYd8Qb9fZKdZiR83JXHgF98AwU5a7m/r5auAjddvpmMclKSMjzZqdrPgok44BFR/kv qmRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+LPOX6DAHFqIu2+67jNCFG2WFMELiZV0EBLaly0V9oQ=; b=sTO9KJhq2RIVG8e/5WLgdCrGMkXXjdnS4xe6gv2TJlZRNS5SoPDHk4lhYSLLZWBrUg 3G5BqGgAshV+6jIlNIoZWdt5dY2zSswO0LBDBgLDQ4HC1GtiuTjp8yM+NyYy2Qqng87W g2fDHRMdfEFVI1rKKf5dhktNKp31Ts4bJS35+TmXc4bAJn2FdImibVjZ9P0Yt/7383hq QoTftkU5Nc1PWpNZFOppq9rs1GDmURQjnbvYQNAzOdndR/Jxl515goIWmqp1iuEXfHdG PxNUxwuKs7JMWsQYATG5q4DRJF2s8Ed05EXqagbEQjpsirvbQk95hSxEFxzJaid0R5Nw lBiA== X-Gm-Message-State: AOAM530vnUNp06ffFo/5ccLKNYRd+/kOCj4d5RTXtjOoIuYfR8Zp1Cns bOzijYuruJGV90n11ZCLyz+Hta7w3tmnnQ== X-Google-Smtp-Source: ABdhPJzhrcY5VwJNH7CX91dM8JAKRDxwYzGp0fmITjhsTiM9keXF6WnZcLniANZfrAYmlGPkriQ6qg== X-Received: by 2002:ac8:7f4d:0:b0:2f1:f967:52bd with SMTP id g13-20020ac87f4d000000b002f1f96752bdmr10598845qtk.597.1650859194034; Sun, 24 Apr 2022 20:59:54 -0700 (PDT) Received: from localhost.localdomain (dsl-150-232.b2b2c.ca. [66.158.150.232]) by smtp.gmail.com with ESMTPSA id w82-20020a376255000000b0069ee3f0ae63sm4478142qkb.45.2022.04.24.20.59.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 20:59:53 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:55:44 -0400 Message-Id: <20220425035918.25683-18-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220425035918.25683-1-maxim.cournoyer@gmail.com> References: <20220425035918.25683-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1650860162; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+LPOX6DAHFqIu2+67jNCFG2WFMELiZV0EBLaly0V9oQ=; b=dW7RCAtEvry/xZnMP2/8L0SsyimLYqx+FHU8GIUwARWfUVpkUw/t850atnaa9s7ecFYaqE BlYrT/1AQbbNnyMN8HUzM9DQ0nx4MUfZPaP+vJJE4wiSLRFZmYk4zUIiFdGIsbsMMsC/FD dwN44bBU+qfv+FpH9rOyV5kL/9n7Lfmt78jBEmYi7QsaQIJjZigMQv7c92O4XwVrdq8Nwh OVTHPB9N5qak6RNzKOKOBuNEpiStW9Ge1xb3FgbCMWMC76HmE2smXFmCDwf7alJ1AZAKrF eDGIGMf78IhP+RwUuk2vWnZ1ggtByMlr2osJEq1+UrPtCJAfO4+ChMr6YjpeWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650860162; a=rsa-sha256; cv=none; b=fEQHH5oledRJa9VTyKWCs+N1bL6bJuYGB30LRXG7i38H/8aAyh/KvOmQufdnOBDdpyfe4G zUlI5gcjePqSvlt+szCJLhqBNqorcbH8hXOv/o8l8+v7OCXgJW+rzdPcsLZxicSVdgYY37 b4Dgrt5f8pF9+mmE3mA7zVy7wk7AJxPR74/fH5lCJYueO1CRGR9lKkaY2tEyofslDTc2vO TP2uZHYA4RPHBsVmqJp8c4mDINCYHwIWBK2qSgc9GymelkQObK+dvS9dzodg1UQZWnirns 1aP4JrdHlCMYdrQg5jso1DO33wLZZjcLhXV12ZUXykbqDXdi0+f5zCaWLre2ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=UbMtRMdi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 7.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=UbMtRMdi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: A81C2397A5 X-Spam-Score: 7.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: IEY13WBwg2Gr * gnu/packages/tex.scm (texlive-zref): New variable. --- gnu/packages/tex.scm | 70 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 82da10c41a..1ebaceb322 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6360,6 +6360,76 @@ (define-public texlive-zapfding ;; No license version specified. (license license:gpl3+))) +(define-public texlive-zref + (package + (inherit (simple-texlive-package + "texlive-zref" + (list "doc/latex/zref/" + "source/latex/zref/") + (base32 "09l2wrqx0navislkx15iazv7jy0ip8bqaw3c0hjf0jy81kqrrm01"))) + (outputs '("out" "doc")) + (arguments + (list + #:build-targets #~(list "zref.dtx") + #:tex-directory "latex/zref" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (setenv "ROOT_DIR" (getcwd)) + (chdir "source/latex/zref"))) + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (define doc (string-append (assoc-ref outputs "doc") + "/share/texmf-dist/doc")) + (mkdir-p doc) + (copy-recursively (string-append (getenv "ROOT_DIR") "/doc") + doc)))))) + (propagated-inputs (list texlive-generic-atbegshi + texlive-generic-gettitlestring + texlive-generic-iftex + texlive-latex-atveryend + texlive-latex-kvoptions + texlive-latex-pdftexcmds + texlive-latex-xkeyval)) + (home-page "https://github.com/ho-tex/zref") + (synopsis "Reference scheme for LaTeX") + (description "This package offers a means to remove the limitation, of +only two properties, that is inherent in the way LaTeX's reference system +works. The package implements an extensible referencing system, where +properties may be defined and used in the course of a document. It provides +an interface for macro programmers to access the new reference scheme and some +modules that use it. Modules available are: +@table @code +@item zref-user +use zref for traditional labels and references; +@item zref-abspage +retrieve absolute page numbers (physical pages, as opposed to the logical page +number that is normally typeset when a page number is requested; +@item zref-lastpage +provide a zref-label for the last page of the document; +@item zref-nextpage +provide the page number of the next page of the document; +@item zref-totpages +provide the total number of pages in the document; +@item zref-pagelayout +provide the page layout parameters of a each page (which may then be printed +at the end of the document); +@item zref-perpage +make a counter reset for each new page; +@item zref-titleref +make section title or caption text available through the reference system; +@item zref-savepos +make positions on a page available; +@item zref-dotfill +controlled dot-filling +@item zref-env +record the latest environment's name and the line it started on; +@item zref-xr +provide the facilities of the xr and xr-hyper packages. +@end table") + (license license:lppl1.3c+))) + (define-deprecated-package texlive-fonts-adobe-zapfding texlive-zapfding) (define-public texlive-fonts-rsfs -- 2.34.0