* [bug#53851] [PATCH] gnu: Add emacs-latex-preview-pane.
@ 2022-02-07 16:22 Jai Vetrivelan
2022-02-08 0:16 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Jai Vetrivelan @ 2022-02-07 16:22 UTC (permalink / raw)
To: 53851
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-emacs-latex-preview-pane.patch --]
[-- Type: text/x-patch, Size: 2176 bytes --]
From 470a2605d4adf98e77aee9171e4292e9e7c41561 Mon Sep 17 00:00:00 2001
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
Date: Mon, 7 Feb 2022 21:44:36 +0530
Subject: [PATCH] gnu: Add emacs-latex-preview-pane.
* gnu/packages/emacs-xyz.scm (emacs-latex-preview-pane): new variable.
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bec613e381..5251e503c9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -19018,6 +19018,34 @@ (define-public emacs-lacarte
(description "Execute menu items as commands, with completion.")
(license license:gpl3)))
+(define-public emacs-latex-preview-pane
+ (let ((commit "5297668a89996b50b2b62f99cba01cc544dbed2e")
+ (revision "0"))
+ (package
+ (name "emacs-latex-preview-pane")
+ (version (git-version "20151021" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jsinglet/latex-preview-pane")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1m4f5p53275k8i9p0y105kkrp9nx1bwn6726my9s5dwnjhr5dnp2"))))
+ (build-system emacs-build-system)
+ (arguments
+ ;; The welcome and error message templates are in .txt format.
+ '(#:include '("\\.el$" "\\.txt$")))
+ (home-page "https://www.emacswiki.org/emacs/LaTeXPreviewPane")
+ (synopsis "Makes LaTeX editing less painful by providing a updatable
+preview pane")
+ (description "@code{latex-preview-pane} is a minor mode for Emacs that
+enables you to preview your LaTeX files directly in Emacs. It supports PDF
+previews, your choice of pdflatex or xelatex, and it highlights errors in your
+LaTeX buffer.")
+ (license license:gpl3+))))
+
(define-public emacs-isearch-prop
(let ((commit "4a2765f835dd115d472142da05215c4c748809f4")
(revision "2"))
base-commit: 4396fef04717eebb061b2c808087ca638f87a826
--
2.34.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#53851] [PATCH] gnu: Add emacs-latex-preview-pane.
2022-02-07 16:22 [bug#53851] [PATCH] gnu: Add emacs-latex-preview-pane Jai Vetrivelan
@ 2022-02-08 0:16 ` Nicolas Goaziou
2022-02-08 0:54 ` Jai Vetrivelan
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2022-02-08 0:16 UTC (permalink / raw)
To: Jai Vetrivelan; +Cc: 53851
Hello,
Jai Vetrivelan <jaivetrivelan@gmail.com> writes:
> Subject: [PATCH] gnu: Add emacs-latex-preview-pane.
Thank you.
>
> * gnu/packages/emacs-xyz.scm (emacs-latex-preview-pane): new variable.
Nitpick: capitalize "New".
> + (arguments
> + ;; The welcome and error message templates are in .txt format.
> + '(#:include '("\\.el$" "\\.txt$")))
You can switch to G-expressions:
(arguments
(list
#:include #~(list "\\.el$" "\\.txt$")))
This is a bit more verbose, tho.
> + (home-page "https://www.emacswiki.org/emacs/LaTeXPreviewPane")
Why is the home-page pointing to EmacsWiki? Shouldn't it point to the
repository instead?
> + (synopsis "Makes LaTeX editing less painful by providing a updatable
> +preview pane")
I suggest something shorter and more neutral:
"Preview pane to ease LaTeX editing in Emacs"
> + (description "@code{latex-preview-pane} is a minor mode for Emacs that
> +enables you to preview your LaTeX files directly in Emacs. It supports PDF
> +previews, your choice of pdflatex or xelatex, and it highlights errors in your
> +LaTeX buffer.")
Nitpick: I would remove all "your" references…
"@code{latex-preview-pane} is a minor mode for previewing LaTeX files
directly in Emacs. It supports PDF previews, with either
@command{pdflatex} or @command{xelatex}, and highlights errors in the
LaTeX buffer.
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#53851] [PATCH] gnu: Add emacs-latex-preview-pane.
2022-02-08 0:16 ` Nicolas Goaziou
@ 2022-02-08 0:54 ` Jai Vetrivelan
2022-02-08 17:23 ` bug#53851: " Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Jai Vetrivelan @ 2022-02-08 0:54 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: 53851
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-emacs-latex-preview-pane.patch --]
[-- Type: text/x-patch, Size: 2204 bytes --]
From c543f0911bd3498213e72fb631353a8f58925c9c Mon Sep 17 00:00:00 2001
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
Date: Tue, 8 Feb 2022 06:14:46 +0530
Subject: [PATCH] gnu: Add emacs-latex-preview-pane.
* gnu/packages/emacs-xyz.scm (emacs-latex-preview-pane): New variable.
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 679c50845b..50cd6dee74 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -19018,6 +19018,34 @@ (define-public emacs-lacarte
(description "Execute menu items as commands, with completion.")
(license license:gpl3)))
+(define-public emacs-latex-preview-pane
+ (let ((commit "5297668a89996b50b2b62f99cba01cc544dbed2e")
+ (revision "0"))
+ (package
+ (name "emacs-latex-preview-pane")
+ (version (git-version "20151021" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jsinglet/latex-preview-pane")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256n
+ (base32
+ "1m4f5p53275k8i9p0y105kkrp9nx1bwn6726my9s5dwnjhr5dnp2"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ ;; The welcome and error message templates are in .txt format.
+ #:include #~(list "\\.el$" "\\.txt$")))
+ (home-page "https://github.com/jsinglet/latex-preview-pane")
+ (synopsis "Preview pane to ease LaTeX editing in Emacs")
+ (description "@code{latex-preview-pane} is a minor mode for previewing
+LaTeX files directly in Emacs. It supports PDF previews, with either
+@command{pdflatex} or @command{xelatex}, and highlights errors in the LaTeX
+buffer.")
+ (license license:gpl3+))))
+
(define-public emacs-isearch-prop
(let ((commit "4a2765f835dd115d472142da05215c4c748809f4")
(revision "2"))
base-commit: 64c599c9a33e83d64609a8791fcd8685fc1b9b61
prerequisite-patch-id: 019ac4d3b1d8438a3018d10851691e62fce6f1f4
--
2.34.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-02-08 19:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-07 16:22 [bug#53851] [PATCH] gnu: Add emacs-latex-preview-pane Jai Vetrivelan
2022-02-08 0:16 ` Nicolas Goaziou
2022-02-08 0:54 ` Jai Vetrivelan
2022-02-08 17:23 ` bug#53851: " Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).