GNU bug report logs -
#61659
[PATCH 0/6] gnu: Add texlive-minted.
Previous Next
Reported by: Morgan.J.Smith <at> outlook.com
Date: Mon, 20 Feb 2023 17:31:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61659 in the body.
You can then email your comments to 61659 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 17:31:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Morgan.J.Smith <at> outlook.com
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 20 Feb 2023 17:31:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[PATCH 1/6] gnu: Add texlive-catchfile.
[PATCH 2/6] gnu: texlive-latex-ifplatform: Add needed propagated-inputs.
[PATCH 3/6] gnu: texlive-mdframed: Add needed propagated-inputs.
[PATCH 4/6] gnu: texlive-latex-fancyvrb: Add needed propagated-inputs.
[PATCH 5/6] gnu: Add texlive-fvextra.
[PATCH 6/6] gnu: Add texlive-minted.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 17:37:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-catchfile): New variable.
---
gnu/packages/tex.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index dafed9d3c3..96c07de51b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5304,6 +5304,23 @@ (define-public texlive-carlisle
in LaTeX documents; a jiffy to create slashed characters for physicists.")
(license license:lppl)))
+(define-public texlive-catchfile
+ (package
+ (inherit (simple-texlive-package
+ "texlive-catchfile"
+ (list "/doc/latex/catchfile/"
+ "/source/latex/catchfile/"
+ "/tex/generic/catchfile/")
+ (base32
+ "1dpxy64hs0bjp8d2dmikflc995vazf7fi6z92w51fnj2fidgl8gx")
+ #:trivial? #t))
+ (home-page "https://ctan.org/macros/latex/contrib/catchfile")
+ (synopsis "Catch an external file into a macro")
+ (description
+ "Catches the contents of a file and puts it in a macro. It requires
+e-TeX. Both LaTeX and plain TeX are supported.")
+ (license license:lppl1.3+)))
+
(define-public texlive-doi
(package
(inherit (simple-texlive-package
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 17:37:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-latex-ifplatform)[propagated-inputs]: Add
texlive-catchfile.
---
gnu/packages/tex.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 96c07de51b..1e6d040106 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4957,6 +4957,7 @@ (define-public texlive-latex-ifplatform
(base32
"157pplavvm2z97b3jl4x41w11k6q9wgy074mfg0dwmsx5lm328jy"))))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-catchfile))
(arguments '(#:tex-directory "latex/ifplatform"))
(home-page "https://www.ctan.org/pkg/ifplatform")
(synopsis "Conditionals to test which platform is being used")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 17:37:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-mdframed)[propagated-inputs]: Add
texlive-latex-needspace, and texlive-zref.
---
gnu/packages/tex.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 1e6d040106..6d961558e9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11515,6 +11515,8 @@ (define-public texlive-mdframed
"tex/latex/mdframed/")
(base32 "1i5rm946wg43rjckxlfhx79zfx5cgd3bxk71206hd1dqkrgpdpa8")
#:trivial? #t))
+ (propagated-inputs (list texlive-latex-needspace
+ texlive-zref))
(home-page "https://ctan.org/pkg/mdframed")
(synopsis "Framed environments that can split at page boundaries")
(description
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 17:37:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-latex-fancyvrb)[propagated-inputs]: Add
texlive-latex-upquote.
---
gnu/packages/tex.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6d961558e9..3d0d2e5db9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3174,6 +3174,7 @@ (define-public texlive-latex-fancyvrb
(base32
"0pdilgpw4zc0ipp4z9kdi61nymifyjy2mfpk74xk2cw9vhynkk3w")
#:trivial? #t))
+ (propagated-inputs (list texlive-latex-upquote))
(home-page "https://www.ctan.org/pkg/fancyvrb")
(synopsis "Sophisticated verbatim text")
(description
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 17:38:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-fvextra): 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 3d0d2e5db9..55f6952cc1 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11170,6 +11170,24 @@ (define-public texlive-floatflt
tables and figures to be set left/right or alternating on even/odd pages.")
(license license:lppl1.3+)))
+(define-public texlive-fvextra
+ (package
+ (inherit (simple-texlive-package
+ "texlive-fvextra"
+ (list "/doc/latex/fvextra/"
+ "/source/latex/fvextra/"
+ "/tex/latex/fvextra/")
+ (base32
+ "0nawx1fh55yhqspy5jgss2qmwpqmikfrg7628smk931rph9nq0aa")
+ #:trivial? #t))
+ (home-page "https://ctan.org/macros/latex/contrib/fvextra")
+ (synopsis "Extensions and patches for fancyvrb")
+ (description
+ "Provides several extensions to fancyvrb, including automatic line
+breaking and improved math mode. It also patches some fancyvrb internals.
+Parts of fvextra were originally developed as part of pythontex and minted.")
+ (license license:lppl1.3+)))
+
(define-public bibtool
(package
(name "bibtool")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 17:38:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-minted): New variable.
---
gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 55f6952cc1..f63c5567fe 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10032,6 +10032,33 @@ (define-public texlive-microtype
the bundle.")
(license license:lppl1.3c))))
+(define-public texlive-minted
+ (package
+ (inherit (simple-texlive-package
+ "texlive-minted"
+ (list "/doc/latex/minted/"
+ "/source/latex/minted/"
+ "/tex/latex/minted/")
+ (base32
+ "08pbhp4a9k8v49kji26206zzabp0nn0fz403l4w7gxajw9rj8icr")
+ #:trivial? #t))
+ (propagated-inputs (list python-pygments
+ texlive-etoolbox
+ texlive-fvextra
+ texlive-generic-xstring
+ texlive-latex-fancyvrb
+ texlive-latex-float
+ texlive-latex-framed
+ texlive-latex-ifplatform
+ texlive-latex-newfloat
+ texlive-lineno))
+ (home-page "https://ctan.org/pkg/minted")
+ (synopsis "Highlighted source code for LaTeX")
+ (description "Facilitates expressive syntax highlighting in LaTeX using
+the Pygments library. The package also provides options to customize the
+highlighted source code output using fancyvrb and fvextra.")
+ (license license:lppl1.3+)))
+
(define-public texlive-caption
(let ((template (simple-texlive-package
"texlive-caption"
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 18:01:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 61659 <at> debbugs.gnu.org (full text, mbox):
Hello,
Morgan.J.Smith <at> outlook.com writes:
> [PATCH 1/6] gnu: Add texlive-catchfile.
> [PATCH 2/6] gnu: texlive-latex-ifplatform: Add needed propagated-inputs.
> [PATCH 3/6] gnu: texlive-mdframed: Add needed propagated-inputs.
> [PATCH 4/6] gnu: texlive-latex-fancyvrb: Add needed propagated-inputs.
> [PATCH 5/6] gnu: Add texlive-fvextra.
> [PATCH 6/6] gnu: Add texlive-minted.
I gave a glance at these patches. Thanks for them.
texlive-catchfile, texlive-fvextra and texlive-minted are not trivial
packages (in the #:trivial? #t) since they contain ".dtx" or ".ins"
files. Could you try generating the run files from those source files
instead?
Also, descriptions need to start with a complete sentence. For example
Catches the contents of a file and puts it in a macro. It requires
e-TeX. Both LaTeX and plain TeX are supported.
could simply become :
Catchfile catches the contents of a file and puts it in a macro.
Regards,
--
Nicolas Goaziou
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 21:06:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-catchfile): New variable.
---
gnu/packages/tex.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index dafed9d3c3..efccba17cc 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5304,6 +5304,26 @@ (define-public texlive-carlisle
in LaTeX documents; a jiffy to create slashed characters for physicists.")
(license license:lppl)))
+(define-public texlive-catchfile
+ (let ((template (simple-texlive-package
+ "texlive-catchfile"
+ (list "/doc/latex/catchfile/"
+ "/source/latex/catchfile/"
+ "/tex/generic/catchfile/")
+ (base32
+ "1dpxy64hs0bjp8d2dmikflc995vazf7fi6z92w51fnj2fidgl8gx"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t)
+ "latex/catchfile")))
+ (home-page "https://ctan.org/macros/latex/contrib/catchfile")
+ (synopsis "Catch an external file into a macro")
+ (description
+ "Catchfile catches the contents of a file and puts it in a macro.")
+ (license license:lppl1.3+))))
+
(define-public texlive-doi
(package
(inherit (simple-texlive-package
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 21:06:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-mdframed)[propagated-inputs]: Add
texlive-latex-needspace, and texlive-zref.
---
gnu/packages/tex.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 2fea0e9697..5d82f98f35 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11518,6 +11518,8 @@ (define-public texlive-mdframed
"tex/latex/mdframed/")
(base32 "1i5rm946wg43rjckxlfhx79zfx5cgd3bxk71206hd1dqkrgpdpa8")
#:trivial? #t))
+ (propagated-inputs (list texlive-latex-needspace
+ texlive-zref))
(home-page "https://ctan.org/pkg/mdframed")
(synopsis "Framed environments that can split at page boundaries")
(description
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 21:06:03 GMT)
Full text and
rfc822 format available.
Message #35 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-latex-fancyvrb)[propagated-inputs]: Add
texlive-latex-upquote.
---
gnu/packages/tex.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 5d82f98f35..bf4a50973b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3174,6 +3174,7 @@ (define-public texlive-latex-fancyvrb
(base32
"0pdilgpw4zc0ipp4z9kdi61nymifyjy2mfpk74xk2cw9vhynkk3w")
#:trivial? #t))
+ (propagated-inputs (list texlive-latex-upquote))
(home-page "https://www.ctan.org/pkg/fancyvrb")
(synopsis "Sophisticated verbatim text")
(description
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 21:06:03 GMT)
Full text and
rfc822 format available.
Message #38 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-fvextra): New variable.
---
gnu/packages/tex.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index bf4a50973b..6aef6905a6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11173,6 +11173,28 @@ (define-public texlive-floatflt
tables and figures to be set left/right or alternating on even/odd pages.")
(license license:lppl1.3+)))
+(define-public texlive-fvextra
+ (let ((template (simple-texlive-package
+ "texlive-fvextra"
+ (list "/doc/latex/fvextra/"
+ "/source/latex/fvextra/"
+ "/tex/latex/fvextra/")
+ (base32
+ "0nawx1fh55yhqspy5jgss2qmwpqmikfrg7628smk931rph9nq0aa"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t)
+ "latex/fvextra")))
+ (home-page "https://ctan.org/macros/latex/contrib/fvextra")
+ (synopsis "Extensions and patches for fancyvrb")
+ (description
+ "This package provides several extensions to fancyvrb, including
+automatic line breaking and improved math mode. It also patches some fancyvrb
+internals.")
+ (license license:lppl1.3+))))
+
(define-public bibtool
(package
(name "bibtool")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 21:06:04 GMT)
Full text and
rfc822 format available.
Message #41 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-minted): New variable.
---
gnu/packages/tex.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6aef6905a6..592ef6943a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10035,6 +10035,37 @@ (define-public texlive-microtype
the bundle.")
(license license:lppl1.3c))))
+(define-public texlive-minted
+ (let ((template (simple-texlive-package
+ "texlive-minted"
+ (list "/doc/latex/minted/"
+ "/source/latex/minted/"
+ "/tex/latex/minted/")
+ (base32
+ "08pbhp4a9k8v49kji26206zzabp0nn0fz403l4w7gxajw9rj8icr"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t)
+ "latex/minted")))
+ (propagated-inputs (list python-pygments
+ texlive-etoolbox
+ texlive-fvextra
+ texlive-generic-xstring
+ texlive-latex-fancyvrb
+ texlive-latex-float
+ texlive-latex-framed
+ texlive-latex-ifplatform
+ texlive-latex-newfloat
+ texlive-lineno))
+ (home-page "https://ctan.org/pkg/minted")
+ (synopsis "Highlight source code in LaTeX documents")
+ (description "This package facilitates expressive syntax highlighting in
+LaTeX using the Pygments library. This package also provides options to
+customize the highlighted source code output using fancyvrb and fvextra.")
+ (license license:lppl1.3+))))
+
(define-public texlive-caption
(let ((template (simple-texlive-package
"texlive-caption"
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 21:06:04 GMT)
Full text and
rfc822 format available.
Message #44 received at 61659 <at> debbugs.gnu.org (full text, mbox):
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
* gnu/packages/tex.scm (texlive-latex-ifplatform)[propagated-inputs]: Add
texlive-catchfile.
---
gnu/packages/tex.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index efccba17cc..2fea0e9697 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4957,6 +4957,7 @@ (define-public texlive-latex-ifplatform
(base32
"157pplavvm2z97b3jl4x41w11k6q9wgy074mfg0dwmsx5lm328jy"))))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-catchfile))
(arguments '(#:tex-directory "latex/ifplatform"))
(home-page "https://www.ctan.org/pkg/ifplatform")
(synopsis "Conditionals to test which platform is being used")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61659
; Package
guix-patches
.
(Mon, 20 Feb 2023 21:11:02 GMT)
Full text and
rfc822 format available.
Message #47 received at 61659 <at> debbugs.gnu.org (full text, mbox):
Hello Nicolas,
I've made the changes you asked for (sent to debbugs as I don't want to
fill up your inbox). I'm able to compile a latex document using minted
so I think everything is in order on the technical side. I do seem to
struggle with the English side a little bit :P
I still have no clue how latex works under the hood or what ".dtx" or
".ins" files are but thankfully Guix seems to be shielding me from such
knowledge with thoughtful abstraction layers! :)
Thanks,
Morgan
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Thu, 23 Feb 2023 14:29:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Morgan.J.Smith <at> outlook.com
:
bug acknowledged by developer.
(Thu, 23 Feb 2023 14:29:02 GMT)
Full text and
rfc822 format available.
Message #52 received at 61659-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Morgan Smith <Morgan.J.Smith <at> outlook.com> writes:
> Hello Nicolas,
>
> I've made the changes you asked for (sent to debbugs as I don't want to
> fill up your inbox). I'm able to compile a latex document using minted
> so I think everything is in order on the technical side.
Applied. Thank you!
Regards,
--
Nicolas Goaziou
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 24 Mar 2023 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 50 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.