From: Shakthi Kannan <shakthimaan@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Documenting NEWS features for 25.1
Date: Wed, 30 Dec 2015 11:10:22 +0530 [thread overview]
Message-ID: <CABG-yt11vJTpLymecEimJT7O52FMmwYd74VPKyU+u1WwQAS0SQ@mail.gmail.com> (raw)
In-Reply-To: <83h9j1dwcu.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 359 bytes --]
Hi,
--- On Tue, Dec 29, 2015 at 10:29 PM, Eli Zaretskii <eliz@gnu.org> wrote:
| Thanks. A few comments below.
\--
I have made the following changes, and re-attached the patch:
* Two spaces between sentences.
* Used @TeX{}.
* Use @dots{} for "...".
* "Unicode" is capitalized.
* Used @file{.pdf}
Regards,
SK
--
Shakthi Kannan
http://www.shakthimaan.com
[-- Attachment #2: 0001-Document-TeX-mode-custom-variable-and-prettify-symbo.patch --]
[-- Type: text/x-patch, Size: 3846 bytes --]
From f71133addf24182b7e88ebc374b635d30632df36 Mon Sep 17 00:00:00 2001
From: Shakthi Kannan <author@shakthimaan.com>
Date: Wed, 30 Dec 2015 11:07:57 +0530
Subject: [PATCH] Document TeX mode custom variable and prettify symbols
---
doc/emacs/programs.texi | 18 ++++++++++--------
doc/emacs/text.texi | 8 +++++++-
etc/NEWS | 2 ++
3 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 8423b70..83695b1 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -1530,14 +1530,16 @@ Misc for Programs
Prettify Symbols mode is a buffer-local minor mode that replaces
certain strings with more attractive versions for display purposes.
For example, in Emacs Lisp mode, it replaces the string @samp{lambda}
-with the Greek lambda character @samp{λ}. You may wish to use this in
-non-programming modes as well. You can customize the mode by adding
-more entries to @code{prettify-symbols-alist}. More elaborate
-customization is available via customizing
-@code{prettify-symbols-compose-predicate} if its default value
-@code{prettify-symbols-default-compose-p} is not appropriate. There
-is also a global version, @code{global-prettify-symbols-mode}, which
-enables the mode in all buffers that support it.
+with the Greek lambda character @samp{λ}. In a @TeX{} buffer, it will
+replace @samp{\alpha} @dots{} @samp{\omega} and other math macros with
+their Unicode characters. You may wish to use this in non-programming
+modes as well. You can customize the mode by adding more entries to
+@code{prettify-symbols-alist}. More elaborate customization is
+available via customizing @code{prettify-symbols-compose-predicate} if
+its default value @code{prettify-symbols-default-compose-p} is not
+appropriate. There is also a global version,
+@code{global-prettify-symbols-mode}, which enables the mode in all
+buffers that support it.
The symbol at point can be shown in its original form. This is
controlled by the variable @code{prettify-symbols-unprettify-at-point}:
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi
index bab660e..d18c3c7 100644
--- a/doc/emacs/text.texi
+++ b/doc/emacs/text.texi
@@ -1717,6 +1717,7 @@ TeX Print
@vindex latex-run-command
@vindex tex-dvi-view-command
@vindex tex-dvi-print-command
+@vindex tex-print-file-extension
The buffer's @TeX{} variant determines what shell command @kbd{C-c
C-b} actually runs. In Plain @TeX{} mode, it is specified by the
variable @code{tex-run-command}, which defaults to @code{"tex"}. In
@@ -1725,7 +1726,12 @@ TeX Print
to view the @file{.dvi} output is determined by the variable
@code{tex-dvi-view-command}, regardless of the @TeX{} variant. The
shell command that @kbd{C-c C-p} runs to print the output is
-determined by the variable @code{tex-dvi-print-command}.
+determined by the variable @code{tex-dvi-print-command}. The variable
+@code{tex-print-file-extension} can be set to the required file
+extension for viewing and printing @Tex{}-compiled files. For
+example, you can set it to @file{.pdf}, and update
+@code{tex-dvi-view-command} and @code{tex-dvi-print-command}
+accordingly.
Normally, Emacs automatically appends the output file name to the
shell command strings described in the preceding paragraph. For
diff --git a/etc/NEWS b/etc/NEWS
index 1aeab35..76d6df2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -879,9 +879,11 @@ name patterns (e.g. all "FOR_DOXYGEN_ONLY_*") to be excluded.
** TeX mode
++++
*** New custom variable `tex-print-file-extension' to help users who
use PDF instead of DVI.
++++
*** TeX mode now supports Prettify Symbols mode. When enabling
`prettify-symbols-mode' in a tex-mode buffer, \alpha ... \omega, and
many other math macros are displayed using unicode characters.
--
2.1.4
next prev parent reply other threads:[~2015-12-30 5:40 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20151212115202.16784.72345@vcs.savannah.gnu.org>
[not found] ` <E1a7iiY-0004NK-Ky@vcs.savannah.gnu.org>
2015-12-15 1:36 ` [Emacs-diffs] emacs-25 3e14bad: Document new features of Prettify Mode John Wiegley
2015-12-15 3:39 ` Eli Zaretskii
2015-12-15 6:10 ` John Wiegley
2015-12-15 17:51 ` Shakthi Kannan
2015-12-15 17:58 ` Documenting NEWS features for 25.1 (was: [Emacs-diffs] emacs-25 3e14bad: Document new features of Prettify Mode) John Wiegley
2015-12-15 18:34 ` Eli Zaretskii
2015-12-16 6:09 ` Shakthi Kannan
2015-12-16 6:44 ` Documenting NEWS features for 25.1 John Wiegley
2015-12-16 7:59 ` Shakthi Kannan
2015-12-16 10:20 ` Eli Zaretskii
2015-12-16 10:36 ` Shakthi Kannan
2015-12-16 11:11 ` Eli Zaretskii
2015-12-16 12:29 ` Shakthi Kannan
2015-12-21 17:09 ` Shakthi Kannan
2015-12-21 17:28 ` Eli Zaretskii
2015-12-24 16:49 ` Shakthi Kannan
2015-12-25 14:24 ` Eli Zaretskii
2015-12-28 17:25 ` Shakthi Kannan
2015-12-29 16:59 ` Eli Zaretskii
2015-12-29 17:05 ` Spaces after periods (was: Documenting NEWS features for 25.1) John Wiegley
2015-12-29 17:30 ` Spaces after periods David Kastrup
2015-12-29 17:32 ` Spaces after periods (was: Documenting NEWS features for 25.1) Nikolai Weibull
2015-12-29 17:58 ` Ingo Lohmar
2015-12-29 19:05 ` Marcin Borkowski
2015-12-29 21:05 ` Nikolai Weibull
2015-12-30 7:46 ` Spaces after periods Random832
2015-12-30 7:59 ` Nikolai Weibull
2015-12-29 18:15 ` Spaces after periods (was: Documenting NEWS features for 25.1) Eli Zaretskii
2015-12-29 19:56 ` Spaces after periods John Wiegley
2015-12-30 5:40 ` Shakthi Kannan [this message]
2015-12-30 17:49 ` Documenting NEWS features for 25.1 Eli Zaretskii
2015-12-31 5:33 ` Shakthi Kannan
2016-01-11 12:02 Shakthi Kannan
2016-01-11 18:20 ` Eli Zaretskii
2016-01-12 4:28 ` Shakthi Kannan
2016-01-12 15:45 ` Eli Zaretskii
2016-01-12 15:55 ` Shakthi Kannan
2016-01-12 16:08 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2016-01-19 16:49 Shakthi Kannan
2016-01-19 18:39 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABG-yt11vJTpLymecEimJT7O52FMmwYd74VPKyU+u1WwQAS0SQ@mail.gmail.com \
--to=shakthimaan@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.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).