emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60820: closed ([PATCH] Add 'totpages' latex package.)


From: GNU bug Tracking System
Subject: bug#60820: closed ([PATCH] Add 'totpages' latex package.)
Date: Tue, 18 Apr 2023 13:35:02 +0000

Your message dated Tue, 18 Apr 2023 15:33:50 +0200
with message-id <87ttxdjow1.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#60820] [PATCH] Add 'totpages' latex package.
has caused the debbugs.gnu.org bug report #60820,
regarding [PATCH] Add 'totpages' latex package.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
60820: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60820
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Add 'totpages' latex package. Date: Sat, 14 Jan 2023 23:36:34 +0100
Hi Guix!

This is my first guix package -- I have some texlive, ocaml and emacs packages 
missing for my installation, so I thought it would be best to share them!

Bests
Matthieu

---
 gnu/packages/tex.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index dafed9d3c3..1e28c36549 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11935,6 +11935,25 @@ (define-public texlive-latex-hyphenat
 fonts.")
     (license license:lppl1.3c+)))
 
+(define-public texlive-latex-totpages
+  (package
+    (inherit (simple-texlive-package "texlive-latex-totpages"
+                                     (list "doc/latex/totpages/"
+                                           "source/latex/totpages/"
+                                           "tex/latex/totpages/")
+                                     (base32
+                                      
"1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a")
+                                     #:trivial? #t))
+    (build-system texlive-build-system)
+    (version "2.00")
+    (home-page "https://ctan.org/pkg/totpages";)
+    (synopsis "Count pages in a document, and report last page number")
+    (description
+     "The package counts the actual pages in the document (as opposed to 
reporting the
+number of the last page, as does lastpage).  The counter itself may be shipped
+out to the DVI file.  The package uses the everyshi package for its task.")
+    (license license:lppl)))
+
 (define-public texlive-latex-lastpage
   (package
     (inherit (simple-texlive-package
-- 
2.38.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#60820] [PATCH] Add 'totpages' latex package. Date: Tue, 18 Apr 2023 15:33:50 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Hello,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> racin@free.fr writes:
>
>> But if someone need the source, my understanding is that one can just use 
>> guix  build -S 
>> or some other command to retrieve them.
>> So I don't see the interest of having them too in the compiled output, as 
>> they are not useful for 
>> normal usage of the package; it seems to take up space for no reason.
>
> I don't know if the reason is strong enough, but I gave you one above.
>
> In any case, the main nit here is that we try to generate files from
> source, which "#trivial? #t" prevents.

I renamed the package, updated its definition, set propagated inputs,
and applied it. Thank you for the initial work.

You make a fair point with the source distribution, but unfortunately,
it didn't raise much interest so far. It might be worth asking it on
Guix Devel ML.

Meanwhile, I'm closing this bug.

Regards,
-- 
Nicolas Goaziou


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]