[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 5d73084 12/17: Some minor followu
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 5d73084 12/17: Some minor followups |
Date: |
Fri, 2 Apr 2021 04:13:20 -0400 (EDT) |
branch: externals/auctex
commit 5d73084fbae0b96a17bd3be4500163e10b7f75f8
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Some minor followups
* doc/tex-ref.tex: Fix markups as well as a few errors.
Remove mention about xemacs.
* tex.el (TeX-expand-list-builtin): Simplify.
* tests/make-test-deps.emacs-lisp: Enable lexical binding.
Update Copyright year.
---
doc/tex-ref.tex | 36 +++++++++++++++++++-----------------
tests/make-test-deps.emacs-lisp | 4 ++--
tex.el | 4 ++--
3 files changed, 23 insertions(+), 21 deletions(-)
diff --git a/doc/tex-ref.tex b/doc/tex-ref.tex
index c16f312..026f64d 100644
--- a/doc/tex-ref.tex
+++ b/doc/tex-ref.tex
@@ -194,6 +194,8 @@ are preserved on all copies.
\def\<#1>{$\langle${\rm #1}$\rangle$}
\def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
+\def\var#1{{\tt #1}}
+\def\file#1{{\tt #1}}
\def\beginexample{\par\leavevmode\begingroup
\obeylines\obeyspaces\parskip0pt\tt}
@@ -341,10 +343,10 @@ indicated in the mode line.
\section{Variables}
All math mode commands are under the prefix key specified by
-LaTeX-math-abbrev-prefix, default is "`".
+\var{LaTeX-math-abbrev-prefix}, default is ``\kbd{`}''.
You can define your own math mode commands by setting the variable
-LaTeX-math-list before loading LaTeX-math-mode.
+\var{LaTeX-math-list} before enabling \var{LaTeX-math-mode}.
\section{Greek Letters}
@@ -450,7 +452,7 @@ LaTeX-math-list before loading LaTeX-math-mode.
\previewlatex\ is part of AUC\TeX. If it is active, you should see an
entry ``Preview'' in the menu bar when editing \LaTeX{} files. If you
have a ``LaTeX'', but no ``Preview'' menu, add the following to your
-{\tt .emacs} file:
+init file (usually \file{\string~/.emacs.d/init.el}):
\beginexample
(load "preview-latex.el" nil t t)
\endexample
@@ -479,29 +481,29 @@ area up to the next preview.
\key{Copy region as MML}{C-c C-p C-w}
The last keysequence will copy a region with previews into the kill
-buffer in a form fit for sending in Emacs' message-mode.
+ring in a form fit for sending in Emacs' {\tt message-mode}.
\section{Customization within Emacs}
You can use \kbd{M-x customize-variable RET} or the ``Preview\slash
Customize'' menu for customization. Worthwhile settings:
-\halign to \hsize{\tabskip=1ptplus1fil\relax#\hfil&\hfil\kbd{#}\tabskip0pt\cr
+\halign to \hsize{\tabskip=1ptplus1fil\relax#\hfil&\hfil\var{#}\tabskip0pt\cr
\noalign{\medskip If you have dvipng available:}
Set to \kbd{dvipng}&preview-image-type\cr
\noalign{\medskip \vbox{Keep counter values when regenerating
single previews:}}
Set to \kbd{t}&preview-preserve-counters\cr
\noalign{\medskip \vbox{Cache/Don't cache preamble without query
-(preamble caching is done using {\tt mylatex.ltx} and might not always
+(preamble caching is done using \file{mylatex.ltx} and might not always
work. Use the appropriate key sequences for overriding the following
setting):}}
Set to \kbd{t}/\kbd{nil}&preview-auto-cache-preamble\cr}
\section{Customization from \LaTeX{}}
-Customization is done in the document preamble (you need to load {\tt
-preview.sty} explicitly) or in {\tt prauctex.cfg} (which should load
-the system {prauctex.cfg} first). Commands:
+Customization is done in the document preamble (you need to load
+\file{preview.sty} explicitly) or in \file{prauctex.cfg} (which should
+load the system \file{prauctex.cfg} first). Commands:
\halign to \hsize{\tabskip=1ptplus1fil\relax#\hfil&\hfil\kbd{#}\tabskip0pt\cr
Preview macro&\string\PreviewMacro[\{\<args>\}]\{\<macro>\}\cr
@@ -523,7 +525,7 @@ Skip next token&-\cr
Transformation&\#\{\<macro args>\}\{\<replacement>\}\cr
}
-More options and explanations can be found in {\tt preview.dvi} or the
+More options and explanations can be found in \file{preview.pdf} or the
Texinfo manual.
\vskip 5ex plus 6ex minus 1ex
@@ -549,8 +551,8 @@ Texinfo manual.
AUC\TeX\ supports outline mode by defining section, subsection,
etc. as heading levels. You can use \kbd{M-x outline-minor-mode RET}
to toggle outline minor mode. All outline minor mode commands are
-under the prefix key specified by outline-minor-mode-prefix, default
-is ``C-c @''.
+under the prefix key specified by \var{outline-minor-mode-prefix}, default
+is \kbd{C-c @}.
\key{Hide all of buffer except headings}{C-c @ C-t}
\key{Show all text in buffer}{C-c @ C-a}
@@ -574,8 +576,8 @@ is ``C-c @''.
\section{Activation}
-RefTeX is part of [X]Emacs. To activate and make it interact with
-AUCTeX, insert the following lines in .emacs.
+RefTeX is part of Emacs. To activate and make it interact with
+AUCTeX, insert the following lines in \file{init.el}.
\vskip-3mm
\beginexample
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
@@ -616,7 +618,7 @@ RefTeX's special buffers have many active keys. The common
ones are:
\section{Multifile actions}
Since RefTeX scans the entire (multifile) document, it can provide
-commands that act on all files of a document. Check the {\tt
+commands that act on all files of a document. Check the \kbd{
Ref->Global Actions} menu for these commands.
\section{Variables}
@@ -640,12 +642,12 @@ consistent.
\csname title\endcsname{RefTeX}
-\section{Activation in .emacs}
+\section{Activation in init.el}
\vskip-4mm
\beginexample
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
-(setq reftex-plug-into-auctex t)
+(setq reftex-plug-into-AUCTeX t)
\endexample
\section{Table of Contents}
diff --git a/tests/make-test-deps.emacs-lisp b/tests/make-test-deps.emacs-lisp
index 17a88f4..cce5720 100644
--- a/tests/make-test-deps.emacs-lisp
+++ b/tests/make-test-deps.emacs-lisp
@@ -1,6 +1,6 @@
-;; -*- emacs-lisp -*-
+;; -*- mode: emacs-lisp; lexical-binding: t; -*-
-;; Copyright (C) 2017 Free Software Foundation, Inc.
+;; Copyright (C) 2017, 2021 Free Software Foundation, Inc.
;; This file is part of AUCTeX.
diff --git a/tex.el b/tex.el
index 064703f..b4a76b9 100644
--- a/tex.el
+++ b/tex.el
@@ -562,8 +562,8 @@ string."
("%(cntxcom)" ConTeXt-expand-command)
("%(execopts)" ConTeXt-expand-options)
("%(extraopts)" (lambda () TeX-command-extra-options))
- ("%(output-dir)" (lambda () (TeX--output-dir-arg "--output-directory=")))
- ("%(o-dir)" (lambda () (TeX--output-dir-arg "-o ")))
+ ("%(output-dir)" TeX--output-dir-arg "--output-directory=")
+ ("%(o-dir)" TeX--output-dir-arg "-o ")
("%S" TeX-source-correlate-expand-options)
("%dS" TeX-source-specials-view-expand-options)
("%cS" TeX-source-specials-view-expand-client)
- [AUCTeX-diffs] [elpa] externals/auctex updated (7423267 -> d1047f3), Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 896346a 01/17: Fix preview-latex and regression tests, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 70029e0 02/17: Fix preamble cache, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 0ce30c1 03/17: * tests/japanese/preview-latex.el: Make cleanup forms more robust, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 404aea2 11/17: Fix broken test, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 36369f6 05/17: Reduce byte compiler warning, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 91ac45a 07/17: Reduce byte compiler warning, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 7049512 04/17: Reduce byte compiler warning, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 5d73084 12/17: Some minor followups,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex c2a40eb 13/17: Use built-in functions for similar functions, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex b2383d5 15/17: Remove xemacs compat elements, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex dda4932 14/17: Add new fontification test, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex c35f0d1 06/17: Use #' instead of ' to quote function where possible, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 5696f07 08/17: Reduce byte compiler warning, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex a83033a 10/17: Fix doc string, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex ab161ba 09/17: ; Convert tabs to spaces, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex d1047f3 17/17: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2021/04/02
- [AUCTeX-diffs] [elpa] externals/auctex 3750d1a 16/17: Resolve unnecassary back quote, Tassilo Horn, 2021/04/02