GNU bug report logs -
#73216
[PATCH 1/2] gnu: Add emacs-org-texlive-collection.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73216 in the body.
You can then email your comments to 73216 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 02:25:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to
andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org.
(Fri, 13 Sep 2024 02:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-org-texlive-collection): New variable.
Change-Id: I4039e67f174d0440f351da6d11634f0ceea191cd
---
gnu/packages/emacs-xyz.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7368589d7b..de42d9ebd9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31,7 +31,7 @@
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10 <at> gmail.com>
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me <at> tobias.gr>
;;; Copyright © 2017 Mike Gerwitz <mtg <at> gnu.org>
-;;; Copyright © 2017, 2018, 2019, 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2017-2024 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
;;; Copyright © 2018 Sohom Bhattacharjee <soham.bhattacharjee15 <at> gmail.com>
;;; Copyright © 2018, 2019 Mathieu Lirzin <mthl <at> gnu.org>
;;; Copyright © 2018, 2019, 2020, 2021 Pierre Neidhardt <mail <at> ambrevar.xyz>
@@ -17655,6 +17655,29 @@ (define-public emacs-org-contrib
compatible with the Org stable version.")
(license license:gpl3+)))
+(define-public emacs-org-texlive-collection
+ (package
+ (inherit emacs-org)
+ (name "emacs-org-texlive-collection")
+ (source #f)
+ (build-system trivial-build-system)
+ (arguments (list #:builder #~(mkdir #$output)))
+ (native-inputs '())
+ (inputs '())
+ (propagated-inputs
+ (list texlive-amsmath
+ texlive-capt-of
+ texlive-graphics ;for graphicx, rotating
+ texlive-hyperref
+ texlive-titling
+ texlive-tools ;for longtable
+ texlive-ulem
+ texlive-wrapfig
+ texlive-scheme-small)) ;for amsfonts, fontspec, inputenc, etc.
+ (synopsis "Basic TexLive packages for Org-mode LaTeX export")
+ (description "This meta-package propagates the TexLive packages minimally
+required by the Org-mode produced LaTeX output.")))
+
(define-public emacs-org-contacts
;; XXX: Upstream does not tag version bumps. Commit below matches latest
;; version bump.
base-commit: f5449685143be0805a8a9b54ddecee94e368c6e9
--
2.46.0
Information forwarded
to
andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 02:34:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 73216 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-org) [description]: Add text suggesting
the use of the 'emacs-org-texlive-collection' meta-package.
Change-Id: Iaba1940843c4de641303b48fa41aa5d036f1cb18
---
gnu/packages/emacs-xyz.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index de42d9ebd9..17a98a4a2e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17622,7 +17622,10 @@ (define-public emacs-org
(description "Org is an Emacs mode for keeping notes, maintaining TODO
lists, and project planning with a fast and effective lightweight markup
language. It also is an authoring system with unique support for literate
-programming and reproducible research.")
+programming and reproducible research. If you work with the LaTeX output
+capabilities of Org-mode, you may want to install the
+@code{emacs-org-texlive-collection} meta-package, which propagates the TexLive
+components required by the produced @file{.tex} file.")
(license license:gpl3+)))
(define-public emacs-org-contrib
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 06:28:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 73216 <at> debbugs.gnu.org (full text, mbox):
Am Freitag, dem 13.09.2024 um 11:23 +0900 schrieb Maxim Cournoyer:
> * gnu/packages/emacs-xyz.scm (emacs-org-texlive-collection): New
> variable.
>
> Change-Id: I4039e67f174d0440f351da6d11634f0ceea191cd
> ---
> gnu/packages/emacs-xyz.scm | 25 ++++++++++++++++++++++++-
> 1 file changed, 24 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index 7368589d7b..de42d9ebd9 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -31,7 +31,7 @@
> ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10 <at> gmail.com>
> ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me <at> tobias.gr>
> ;;; Copyright © 2017 Mike Gerwitz <mtg <at> gnu.org>
> -;;; Copyright © 2017, 2018, 2019, 2020, 2021, 2022, 2023 Maxim
> Cournoyer <maxim.cournoyer <at> gmail.com>
> +;;; Copyright © 2017-2024 Maxim Cournoyer
> <maxim.cournoyer <at> gmail.com>
> ;;; Copyright © 2018 Sohom Bhattacharjee
> <soham.bhattacharjee15 <at> gmail.com>
> ;;; Copyright © 2018, 2019 Mathieu Lirzin <mthl <at> gnu.org>
> ;;; Copyright © 2018, 2019, 2020, 2021 Pierre Neidhardt
> <mail <at> ambrevar.xyz>
> @@ -17655,6 +17655,29 @@ (define-public emacs-org-contrib
> compatible with the Org stable version.")
> (license license:gpl3+)))
>
> +(define-public emacs-org-texlive-collection
> + (package
> + (inherit emacs-org)
> + (name "emacs-org-texlive-collection")
> + (source #f)
> + (build-system trivial-build-system)
> + (arguments (list #:builder #~(mkdir #$output)))
> + (native-inputs '())
> + (inputs '())
> + (propagated-inputs
> + (list texlive-amsmath
> + texlive-capt-of
> + texlive-graphics ;for graphicx, rotating
> + texlive-hyperref
> + texlive-titling
> + texlive-tools ;for longtable
> + texlive-ulem
> + texlive-wrapfig
> + texlive-scheme-small)) ;for amsfonts, fontspec,
> inputenc, etc.
Nitpick: these comments are not aligned.
As a personal thing, I also suggest using a space between ; and for,
but I see both styles used in Guix.
> + (synopsis "Basic TexLive packages for Org-mode LaTeX export")
> + (description "This meta-package propagates the TexLive packages
> minimally
> +required by the Org-mode produced LaTeX output.")))
> +
> (define-public emacs-org-contacts
> ;; XXX: Upstream does not tag version bumps. Commit below matches
> latest
> ;; version bump.
>
> base-commit: f5449685143be0805a8a9b54ddecee94e368c6e9
Cheers
Information forwarded
to
guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 06:28:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 73216 <at> debbugs.gnu.org (full text, mbox):
Am Freitag, dem 13.09.2024 um 11:29 +0900 schrieb Maxim Cournoyer:
> * gnu/packages/emacs-xyz.scm (emacs-org) [description]: Add text
> suggesting
> the use of the 'emacs-org-texlive-collection' meta-package.
>
> Change-Id: Iaba1940843c4de641303b48fa41aa5d036f1cb18
> ---
LGTM!
Information forwarded
to
guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 14:19:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 73216 <at> debbugs.gnu.org (full text, mbox):
Hi Liliana,
Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:
[...]
>> +(define-public emacs-org-texlive-collection
>> + (package
>> + (inherit emacs-org)
>> + (name "emacs-org-texlive-collection")
>> + (source #f)
>> + (build-system trivial-build-system)
>> + (arguments (list #:builder #~(mkdir #$output)))
>> + (native-inputs '())
>> + (inputs '())
>> + (propagated-inputs
>> + (list texlive-amsmath
>> + texlive-capt-of
>> + texlive-graphics ;for graphicx, rotating
>> + texlive-hyperref
>> + texlive-titling
>> + texlive-tools ;for longtable
>> + texlive-ulem
>> + texlive-wrapfig
>> + texlive-scheme-small)) ;for amsfonts, fontspec,
>> inputenc, etc.
> Nitpick: these comments are not aligned.
This is actually how Emacs aligns them automatically, which I tend to
stick to to avoid noise in diffs.
> As a personal thing, I also suggest using a space between ; and for,
> but I see both styles used in Guix.
A space following ';' for inline comments is actually what seems to be
our adopted convention (see "Riastradh's Lisp Style Rules",
https://mumble.net/~campbell/scheme/style.txt referenced from (info
'(guix) Formatting Code')).
I must have dreamt Ludo suggestion to drop the space at some point in
the distant past. I'll try to go back to '; comment' in my code, I
guess!
--
Thanks,
Maxim
Information forwarded
to
guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 14:30:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 73216 <at> debbugs.gnu.org (full text, mbox):
Hi again,
Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:
[...]
> Nitpick: these comments are not aligned.
> As a personal thing, I also suggest using a space between ; and for,
> but I see both styles used in Guix.
Actually, re-reading our referenced style [0], it opines for no spaces
between ';' and the comment, at least it says it's acceptable and uses
that in its example:
The only comments in which omission of a space between the semicolon
and the text is acceptable are margin comments.
Examples:
;;;; Frob Grovel
;;; This section of code has some important implications:
;;; 1. Foo.
;;; 2. Bar.
;;; 3. Baz.
(define (fnord zarquon)
;; If zob, then veeblefitz.
(quux zot
mumble ;Zibblefrotz.
frotz))
Phew. I can continue writing my inline comments the way I got accustomed
to :-).
[0] https://mumble.net/~campbell/scheme/style.txt
--
Thanks,
Maxim
Information forwarded
to
guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 14:32:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 73216 <at> debbugs.gnu.org (full text, mbox):
Am Freitag, dem 13.09.2024 um 23:16 +0900 schrieb Maxim Cournoyer:
> Hi Liliana,
>
> Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:
>
> [...]
>
> > > +(define-public emacs-org-texlive-collection
> > > + (package
> > > + (inherit emacs-org)
> > > + (name "emacs-org-texlive-collection")
> > > + (source #f)
> > > + (build-system trivial-build-system)
> > > + (arguments (list #:builder #~(mkdir #$output)))
> > > + (native-inputs '())
> > > + (inputs '())
> > > + (propagated-inputs
> > > + (list texlive-amsmath
> > > + texlive-capt-of
> > > + texlive-graphics ;for graphicx, rotating
> > > + texlive-hyperref
> > > + texlive-titling
> > > + texlive-tools ;for longtable
> > > + texlive-ulem
> > > + texlive-wrapfig
> > > + texlive-scheme-small)) ;for amsfonts, fontspec,
> > > inputenc, etc.
> > Nitpick: these comments are not aligned.
>
> This is actually how Emacs aligns them automatically, which I tend to
> stick to to avoid noise in diffs.
You might want to press M-; on that last one – I don't think it's
aligned as per Emacs.
> > As a personal thing, I also suggest using a space between ; and
> > for, but I see both styles used in Guix.
>
> A space following ';' for inline comments is actually what seems to
> be our adopted convention (see "Riastradh's Lisp Style Rules",
> https://mumble.net/~campbell/scheme/style.txt referenced from (info
> '(guix) Formatting Code')).
>
> I must have dreamt Ludo suggestion to drop the space at some point in
> the distant past. I'll try to go back to '; comment' in my code, I
> guess!
Oh, good to know!
Cheers
Information forwarded
to
guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 14:44:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 73216 <at> debbugs.gnu.org (full text, mbox):
Am Freitag, dem 13.09.2024 um 23:28 +0900 schrieb Maxim Cournoyer:
> Hi again,
>
> Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:
>
> [...]
>
> > Nitpick: these comments are not aligned.
> > As a personal thing, I also suggest using a space between ; and
> > for, but I see both styles used in Guix.
>
> Actually, re-reading our referenced style [0], it opines for no
> spaces between ';' and the comment, at least it says it's acceptable
> and uses that in its example:
>
> The only comments in which omission of a space between the
> semicolon and the text is acceptable are margin comments.
> […]
Yeah, again, it's a personal thing, not at all binding ;)
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility.
(Fri, 13 Sep 2024 16:10:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer.
(Fri, 13 Sep 2024 16:10:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 73216-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Pushed! Thanks for the review, Liliana.
--
Thanks,
Maxim
Information forwarded
to
guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 17:02:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 73216 <at> debbugs.gnu.org (full text, mbox):
Hello,
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
> +(define-public emacs-org-texlive-collection
> + (package
> + (inherit emacs-org)
I don't understand why this inherits from Emacs Org. You're basically
creating a specific TeX Live collection here. This should probably go to
"tex.scm".
> + (name "emacs-org-texlive-collection")
> + (source #f)
> + (build-system trivial-build-system)
> + (arguments (list #:builder #~(mkdir #$output)))
> + (native-inputs '())
> + (inputs '())
> + (propagated-inputs
> + (list texlive-amsmath
> + texlive-capt-of
> + texlive-graphics ;for graphicx, rotating
> + texlive-hyperref
> + texlive-titling
> + texlive-tools ;for longtable
> + texlive-ulem
> + texlive-wrapfig
> + texlive-scheme-small)) ;for amsfonts, fontspec, inputenc, etc.
This is much larger than what Org expects. The scheme above provides
XeTeX and Metapost, for example. I think it should be leaner if it
propagated provided texlive-collection-latexrecommended and a few
additional packages.
Note that texlive-tools, texlive-graphics and texlive-amsmath are
included already in texlive-scheme-small (and
texlive-collection-latexrecommended for that matter).
Out of my memories, I think it also needs texlive-soul.
> + (synopsis "Basic TexLive packages for Org-mode LaTeX export")
Nitpick: TeX Live. Org mode.
> + (description "This meta-package propagates the TexLive packages minimally
> +required by the Org-mode produced LaTeX output.")))
Ditto.
> +
> (define-public emacs-org-contacts
> ;; XXX: Upstream does not tag version bumps. Commit below matches latest
> ;; version bump.
>
> base-commit: f5449685143be0805a8a9b54ddecee94e368c6e9
Regards,
--
Nicolas Goaziou
Information forwarded
to
guix-patches <at> gnu.org:
bug#73216; Package
guix-patches.
(Fri, 13 Sep 2024 17:03:01 GMT)
Full text and
rfc822 format available.
Message #37 received at 73216 <at> debbugs.gnu.org (full text, mbox):
Hello,
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
> * gnu/packages/emacs-xyz.scm (emacs-org) [description]: Add text suggesting
> the use of the 'emacs-org-texlive-collection' meta-package.
>
> Change-Id: Iaba1940843c4de641303b48fa41aa5d036f1cb18
> ---
> gnu/packages/emacs-xyz.scm | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index de42d9ebd9..17a98a4a2e 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -17622,7 +17622,10 @@ (define-public emacs-org
> (description "Org is an Emacs mode for keeping notes, maintaining TODO
> lists, and project planning with a fast and effective lightweight markup
> language. It also is an authoring system with unique support for literate
> -programming and reproducible research.")
> +programming and reproducible research. If you work with the LaTeX output
> +capabilities of Org-mode, you may want to install the
> +@code{emacs-org-texlive-collection} meta-package, which propagates the TexLive
> +components required by the produced @file{.tex} file.")
Nitpick: IMO, this addendum deserves its own paragrah.
Also: I suggest "TeX Live" and "Org mode".
Regards,
--
Nicolas Goaziou
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org.
(Sat, 12 Oct 2024 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.