[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gc-cons-percentage
to a
higher value during parsing which speeds up the process significantly.
The memory pressure should still be acceptable, even on older machines.
preview-scale-function
is now allowed as a file-local
variable where the assigned value can only be between 0.1 and 10.
You can keep the former behavior by enabling the new customize option
TeX-refuse-unmatched-dollar
.
TeX-symbol-list
and LaTeX-environment-list
.
font-latex-underline-face
. The
corresponding keyword class is called underline-command
.
See Fontification of macros
if you dislike this feature and wish to deactivate it.
TeX-arg-length
is altered. The old argument list was:
(defun TeX-arg-length (optional &optional prompt initial-input definition default) |
whereas the new one is:
(defun TeX-arg-length (optional &optional prompt default initial-input definition) |
Note the position change of DEFAULT
.
TeX-indent-open-delimiters
and
TeX-indent-close-delimiters
.
See Indenting.
(require 'tex-buf)
, one of the following
prescriptions would serve.
(require 'tex-buf)
.
(require 'tex)
.
(require 'latex)
.
TeX-parse-self
and TeX-auto-save
options are enabled. Now you can have support ‘.el’ file saved under
‘auto’ subdirectory of each directory of the sub file when the sub
files aren’t located at the master directory.
To achieve that, set new user option TeX-auto-save-aggregate
to
nil
.
The functions in TeX-region-hook
could access the free variables
master-buffer
and orig-buffer
. Those are now named
TeX-region-master-buffer
and TeX-region-orig-buffer
,
respectively.
If you want filling in such environments, customize
LaTeX-indent-environment-list
to remove them.
Auto fill continues to work in such environment anyway.
In addition, AUCTeX adds support of alignment at ‘&’ sign in ‘align’-like environments such as ‘alignat’, ‘aligned’ and so on, as well as ‘matrix’-like environments such as ‘pmatrix’, ‘bmatrix’ and so on.
texindex
on index files and ‘Texi2dvi’ runs
pdftexi2dvi
or texi2dvi
according to the value of
TeX-PDF-mode
.
So you can typeset Texinfo documents into PDF or DVI format from within AUCTeX.
Due to this change, customize option TeX-error-description-list
can
no longer have a fallback entry that matches any error. If your
customized value includes such entry, typically ‘(".*" . "No help
available")’, please remove it.
TeX-split-string
and TeX-assoc
are now
obsolete and will be removed in future release. If your personal code
uses these functions, use split-string
and assoc-string
instead.
TeX-read-key-val
now accepts a function call as second
argument. This change should help AUCTeX style writers who use
TeX-arg-key-val
and have to deal with dynamic key-values. Example
of usage:
(TeX-add-style-hook "foo" (lambda () (TeX-add-symbols '("bar" (TeX-arg-key-val (function-returning-key-val)))))) |
TeX-auto-save
option.
This bug was fixed.
TeX-output-view-style
and TeX-view-style
have
no effect now. The former placeholders ‘%v’ and ‘%vv’ in
TeX-command-list
are ignored.
TeX-expand-list
also
had access to variables command
and pos
. Those are now
properly declared and named TeX-expand-command
and
TeX-expand-pos
.
TeX-expand-list
had
access to a variable file
which was bound to
TeX-active-master
, i.e., it evaluated to either the master or
region file. This usage must be replaced with either
TeX-active-master
or TeX-active-master-with-quotes
.
TeX-view-program-list
also had access to a
variable file
which was bound to the name of the master or region
file without extension. Instead, the function TeX-active-master
has to be used now.
exit-mark
to the buffer position where point should be left after all arguments
have been read. This variable is now named TeX-exit-mark
.
LaTeX-section-hook
had access or modified the
previously undeclared variables title
, name
, level
,
done-mark
, and toc
. These variables are now properly
declared and have the ‘LaTeX-’ prefix, e.g.,
LaTeX-done-mark
.
ConTeXt-numbered-section-hook
and
ConTeXt-unnumbered-section-hook
had access or modified the
previously undeclared variables title
, name
, level
,
done-mark
, and reference
. These variables are now
properly declared and have the ‘ConTeXt-’ prefix, e.g.,
ConTeXt-title
.
TeX-translate-location-hook
could access and
modify the free variables file
, line
, error
,
offset
, context
, and string
. Those are now properly
declared variables with the prefix ‘TeX-translate-location-’, e.g.,
TeX-translate-location-file
.
LaTeX-dialect
has been renamed to TeX-dialect
and moved from ‘latex.el’ to ‘tex.el’. LaTeX-dialect
now is an obsolete alias.
TeX-output-dir
to the absolute path of the output directory or a
relative path which would be interpreted as being relative to the master
file in a multifile document.
Note that this feature doesn’t work if the document includes sub file placed in sub directory below the main file via ‘\include’ command.
TeX-PDF-from-DVI
option so that
PDF output is generated when TeX-PDF-mode
is enabled
(default). Users who want DVI output should disable PDF mode
explicitly by file local variable, or customize TeX-PDF-mode
to
nil
.
font-latex-update-font-lock
has been obsoleted in
order to fix ‘bug#37945’. That function was used by several style
files in order to refresh fontification after adding new symbols or
verbatim constructs. It is better to call font-lock-flush
in the
former case and font-latex-set-syntactic-keywords
in the latter
case. The function font-latex-update-font-lock
still exists as a
no-op which only shows a warning explaining how to update font-lock as
mentioned above.
In addition, it is no longer recommended to customize
font-latex-math-environments
. Use texmathp-tex-commands
instead.
See Fontification of math.
Macros previously provided by ‘textcomp.sty’ are now part of LaTeX kernel. AUCTeX tracks this change as well and support for the new macro ‘\legacyoldstylenums’ is added.
preview-pdf-color-adjust-method
to choose appropriate
option among the three: new, traditional and fallback method.
(add-hook 'LaTeX-mode-hook #'flymake-mode) |
TeX-record-buffer
is used was corrected. It
was used in just the opposite way as the document says. Erase the
customization if you have customized this option since it now acts in
reverse to your expectation.
japanese-TeX-command-list
is removed.
Use japanese-TeX-engine-default
, or if it’s really necessary,
customize TeX-command-list
directly if the task which the option
used to carry is required.
latex
command. It also fails for region compilation (C-c
C-r and so on) with documents of non-ascii file name. In addition, it
no longer works with preview-latex. We consider this incompatibility
is permissible because e-TeX extension is enabled for standard
LaTeX by default long ago. LaTeX variants such as XeLaTeX and
LuaLaTeX are not affected.
In addition, the option TeX-electric-escape
is now effective in
Texinfo mode. When it is enabled, typing @ will invoke
TeX-electric-macro
offering completion in similar style with
other TeX modes of AUCTeX.
TeX-view-program-list-builtin
for Windows and macOS. This viewer
can be configured under these operating systems with an entry like this
in an init file:
(setq TeX-view-program-selection '((output-pdf "PDF Tools"))) |
TeX-math-input-method-off-regexp
. When you begin to input a math
formula, the current input method is turned off if its name matches this
regular expression.
In fact this variable was introduced long before, but has not been
documented in info files nor turned into a customize option with
defcustom
until this release.
TeX-view-evince-keep-focus
is non-nil.
upmendex
, an extension of makeindex
capable of sorting indexes by unicode based ICU.
TeX-command-list
runs the command
makeglossaries
.
font-latex-match-simple-exclude-list
do not receive any
fontification. In DocTeX mode, the character ‘_’ is removed
from font-latex-match-simple-exclude-list
in order to fontify
macros like ‘\__module_foo:nnn’ correctly.
TeX-ispell-verb-delimiters
.
This string contains usual characters used as delimiters for in-line
verbatim macros like ‘\verb’. Text between delimiters after an
in-line verbatim macro will be skipped during spell checking.
LaTeX-env-label-as-keyval
. A new customize option
LaTeX-listing-label
is available as prefix to labels in code
typesetting environments, e.g. ‘lstlisting’ environment provided by
‘listings’ package. LaTeX-listing-label
defaults to
lst:
. Parsing of labels for later referencing relies on two
requirements:
\begin{lstlisting}[caption=Some Caption,label={lst:foo}] ... \end{lstlisting} |
LaTeX-label
now takes a second optional argument
NO-INSERT
. When non-nil
, LaTeX-label
reads a label
and returns it as a string. This argument is also passed to any
function bound to LaTeX-label-function
(see next item).
LaTeX-label-function
has changed. The
function bound to this variable is now expected to take an optional
second argument NO-INSERT
. When this argument is non-nil
,
the function should read and only return a label as a string; insertion
is done by another function.
japanese-latex-mode
and japanese-plain-tex-mode
. This bug
was fixed. (This was actually done in AUCTeX 11.90, but not
advertised)
TeX-complete-symbol
,
AUCTeX now also supports the new Emacs standard completion-at-point
facility (see the Emacs command completion-at-point
). This also
means that modern completion UIs like company-mode work out of the
box in TeX and LaTeX buffers.
See Completion, for details.
font-latex-fontify-script
(especially the new values
multi-level
and invisible
) and
font-latex-fontify-script-max-level
. Also, the script characters
‘^’ and ‘_’ are also fontified with a special face named
font-latex-script-char-face
.
See Fontification of math, for details.
LaTeX-insert-item
(C-c <LFD>)
inserts suitable number of ampersands for ‘*{num}{cols}’
constructs. Style files for LaTeX packages ‘tabularx’,
‘tabulary’, ‘longtable’, ‘dcolumn’ and ‘siunitx’ are
adapted to take advantage of this improvement.
TeX-ispell-extend-skip-list
, which is set to t
and
activated by default.
TeX-raise-frame-function
that is currently only used by Evince and Atril inverse search to raise
the Emacs frame.
LaTeX-short-caption-prompt-length
.
TeX-ignore-warnings
and
TeX-suppress-ignored-warnings
, allow ignoring certain warnings
after compilation of the document.
See Ignoring warnings, for details.
TeX-PDF-from-DVI
, controls if and how to produce a
PDF file by converting a DVI file. This supersedes
TeX-PDF-via-dvips-ps2pdf
which is still recognized but marked as
obsolete and may be removed in future releases.
TeX-source-correlate-method
is set to use ‘source-specials’
for DVI, e.g.:
(setq TeX-source-correlate-method '((dvi . source-specials) (pdf . synctex))) |
which is the default.
TeX-documentation-texdoc
, for reading
documentation with ‘texdoc’ has been added. TeX-doc
is
still available but now C-c ? runs
TeX-documentation-texdoc
.
LaTeX-reftex-cite-format-auto-activate
which controls the
automatic activation of citation formats provided by RefTeX when a style
file is loaded and RefTeX is enabled. Currently, ‘biblatex.el’,
‘harvard.el’, ‘jurabib.el’ and ‘natbib.el’ use this
feature. If you have customized reftex-cite-format
and want to
use your settings, you should set this variable to nil
.
LaTeX-includegraphics-options-alist
is now no-op and is removed
from ‘tex-style.el’. You can safely remove any customization of it
from your init file. The mandatory argument of ‘\includegraphics’
knows about image file extensions supported by the used engine and
offers them for inclusion.
TeX-command-run-all
, bound to
C-c C-a.
LaTeX-command-section
and
LaTeX-command-section-change-level
.
See Starting a Command, for details.
TeX-PDF-via-dvips-ps2pdf
it is possible to
compile a document to DVI and then convert it to PDF
using dvips
–ps2pdf
before viewing it.
TeX-file-line-error
allows to select file:line:error
style for error messages.
makeindex
when appropriate.
TeX-view-program-list
can contain, as third optional element of
each item, the name of the executable(s) needed to open the viewer.
TeX-expand-list
variable has been split into
TeX-expand-list
and TeX-expand-list-builtin
. Only the
former is intended to be customized by the user, the latter contains
built-in expanders. You might want to keep in TeX-expand-list
only new expansion strings.
TeX-check-TeX
is non-nil, it will test whether a
working TeX distribution is actually present in the system and
available to Emacs. Instead, when TeX-check-engine
is non-nil,
before running LaTeX commands AUCTeX will check whether the
correct engine has been set, based upon known restrictions posed by
LaTeX packages.
ConTeXt-Mark-version
, and AUCTeX is able to catch error
messages in the output log of a Mark IV document.
TeX-PDF-mode
is now enabled by default.
TeX-previous-error
works with TeX commands if the new
option TeX-parse-all-errors
is non-nil, which is the default.
When this option is non-nil, an overview of errors and warnings reported
by the TeX compiler can be opened with M-x TeX-error-overview
<RET>.
See Debugging, for details.
TeX-declare-expert-macros
and
LaTeX-declare-expert-environments
.
Users can then restrict completion using
TeX-complete-expert-commands
.
TeX-math-close-double-dollar
was removed.
See Quotes, for details.
TeX-arg-input-file-search
variable is
non-nil. Completion for class options of the standard LaTeX classes
is provided as well.
LaTeX-default-author
,
LaTeX-fontspec-arg-font-search
,
LaTeX-fontspec-font-list-default
, TeX-date-format
, and
TeX-insert-braces-alist
. A new possible value
(show-all-optional-args
) for
TeX-insert-macro-default-style
was added. The default value of
TeX-source-correlate-method
has been changed.
LaTeX-biblatex-use-Biber
variable was changed to
be file local only and is no more customizable.
LaTeX-environment
(C-c C-e) when the current environment is
‘document’ was changed. With ‘beamer’ class the default
environment is ‘frame’, with ‘letter’ it is ‘letter’,
with ‘slides’ it is ‘slide’.
TeX-insert-macro
.
For example, C-c <RET> bigl <RET> ( <RET> inserts
‘\bigl(\bigr)’.
You can insert brace pair ‘()’, ‘{}’ and ‘[]’ by typing
a single left brace if the new user option
LaTeX-electric-left-right-brace
is enabled.
Macros ‘\langle’, ‘\lfloor’ and ‘\lceil’, which produce
the left part of the paired braces, are treated similarly as ‘(’,
‘{’ and ‘[’ during the course of TeX-insert-macro
.
See Quotes, for details.
Similar supports are provided for various ‘amsmath’ environments.
See Tabular-like, for details.
TeX-narrow-to-group
) and to
LaTeX environments (LaTeX-narrow-to-environment
) were added.
TeX-command-extra-options
option.
See Processor Options, for details.
TeX-add-style-hook
has now a third argument to tell AUCTeX for
which dialect (LaTeX, Texinfo or BibTeX) the style hook is
registers. Labelling style hook by dialect will avoid applying them not
in the right context.
TeX-next-error
;
a problem for example encountered when using MiKTeX 2.8. In addition
quoted file names as emitted by MiKTeX are now supported.
with-kpathsea-sep
has been removed; the
setting is now usually determined at runtime.
Due to this and other problems, preview-latex in the released XEmacs package failed under Windows or with anything except recent 21.5 XEmacsen.
polish
language option of the babel LaTeX package as well as
the polski LaTeX package are now supported. Most notably this means
that AUCTeX will help to insert quotation marks as defined by ‘polish.sty’
("`..."'
) and ‘polski.sty’ (,,...''
).
TeX-doc
for Emacs 21.
TeX-doc
provides easy access to documentation
about commands and packages or information related to TeX and friends
in general.
See Documentation.
TeX-command-list
accessible with C-c C-c or the Command
menu.
See Cleaning.
Adding support for this feature required the default value of the
variable TeX-output-view-style
to be changed. Please make sure
you either remove any customizations overriding the new default or
incorporate the changes into your customizations if you want to use this
feature.
TeX-toggle-debug-warnings
(C-c C-t C-w) or
TeX-toggle-debug-bad-boxes
(C-c C-t C-b). In this case
TeX-next-error
will find these warnings in addition to normal
errors.
The key binding C-c C-w for TeX-toggle-debug-bad-boxes
(which was renamed from TeX-toggle-debug-boxes
) now is
deprecated.
TeX-electric-sub-and-superscript
is set to a non-nil value.
\og ...\fg
) which can now be
inserted by typing <">.
(load "auctex.el" nil
t t)
instead of the former (require 'tex-site)
. Related to this
change ‘tex-mik.el’ does not load ‘tex-site.el’ anymore. That
means if you used only (require 'tex-mik)
in order to activate
AUCTeX, you have to add (load "auctex.el" nil t t)
before the
latter statement.
See Loading the package.
font-latex-verb-like-commands
, font-latex-verbatim-macros
,
and font-latex-verbatim-environments
being removed and the more
general variables LaTeX-verbatim-macros-with-delims
,
LaTeX-verbatim-macros-with-braces
, and
LaTeX-verbatim-environments
being added.
font-latex-title-fontify
were removed. Use
font-latex-fontify-sectioning
instead.
LaTeX-mark-section
now marks subsections of a given section as
well. The former behavior is available via the prefix argument.
Also note that the way AUCTeX is supposed to be activated changed.
Instead of (require 'tex-site)
you should now use (load
"auctex.el" nil t t)
. While the former method may still work, the new
method has the advantage that you can deactivate a preactivated
AUCTeX with the statement (unload-feature 'tex-site)
before
any of its modes have been used. This may be important especially for
site-wide installations.
TeX-fold-force-fontify
.
LaTeX-german-open-quote
,
LaTeX-german-close-quote
, LaTeX-german-quote-after-quote
,
LaTeX-italian-open-quote
, LaTeX-italian-close-quote
, and
LaTeX-italian-quote-after-quote
are now obsolete. If you are not
satisfied with the default settings, you should customize
TeX-quote-language-alist
instead.
font-latex-fontify-sectioning
.
This variable was previously called font-latex-title-fontify
; In
this release we provide an alias but this will disappear in one of the
the next releases. The faces for the sectioning commands are now called
font-latex-sectioning-N-face
(N=0…5) instead of
font-latex-title-N-face
(N=1…4). Analogously
the names of the variables holding the related keyword lists were
changed from font-latex-title-N-keywords
to
font-latex-sectioning-N-keywords
.
See Font Locking, for details.
Make sure to adjust your customizations.
font-latex-slide-title-face
. You can
add macros to be highlighted with this face to
font-latex-match-slide-title-keywords
.
show-trailing-whitespace
to t
. If
you want to delete all trailing whitespace in a buffer, type M-x
delete-trailing-whitespace <RET>.
TeX-macro-global
is not determined during
configuration anymore but at load time of AUCTeX. Consequently the
associated configuration option ‘--with-tex-input-dirs’ was
removed.
TeX-auto-generate-global
) was extended
to recognize keywords common in LaTeX packages and classes, like
“\DeclareRobustCommand” or “\RequirePackage”. Additionally a bug
was fixed which led to duplicate entries in AUCTeX style files.
TeX-fold-dwim
command content can both be hidden and shown with a single key binding.
In course of these changes new key bindings for unfolding commands where
introduced. The old bindings are still present but will be phased out
in future releases.
(add-hook 'LaTeX-mode-hook 'LaTeX-install-toolbar) |
to your init file.
font-latex-user-keyword-classes
. The customization
options can be found in the customization group
font-latex-keywords
.
LaTeX-includegraphics-read-file
.
LaTeX-float
to nil
now means that you
will not be prompted for the float position of figures and tables. You
can get the old behaviour of nil
by setting the variable to
""
, i.e. an empty string.
See also Floats.
overlays-at
was fixed.
LaTeX-math-menu-unicode
, Mathematics.
start
is used for the viewer for MiKTeX and fpTeX.
TeX-fold-preserve-comments
can now be customized to
deactivate folding in comments.
TeX-fold
now supports folding of environments in Texinfo mode.
TeX-source-specials
minor mode
which can be toggled via an entry in the Command menu or the key binding
C-c C-t C-s. If you have customized the variable
TeX-command-list
, you have to re-initialize it for this to work.
This means to open a customization buffer for the variable by typing
M-x customize-variable <RET> TeX-command-list <RET>, selecting
“Erase Customization” and do your customization again with the new
default.
TeX-command-list
has to be erased. Otherwise the command menu
and the customization will not work correctly.
TeX-newline-function
, Indenting.
doc.sty
and ltxdoc.cls
(‘dtx’
files) was added. The new docTeX mode provides functionality for
editing documentation parts. This includes formatting (indenting and
filling), adding and completion of macros and environments while staying
in comments as well as syntax highlighting. (Please note that the mode
is not finished yet. For example syntax highlighting does not work yet
in XEmacs.)
TeX-master
is set to t
, AUCTeX will now query for a
master file only when a new file is opened. Existing files will be left
alone. The new function TeX-master-file-ask
(bound to C-c
_ is provided for adding the variable manually.
font-latex-title-fontify
can be customized to restore the old
appearance, i.e. the usage of a different color instead of a change in
size.
alphanum.sty
, beamer.cls
, booktabs.sty
,
captcont.sty
, emp.sty
, paralist.sty
,
subfigure.sty
and units.sty
/nicefrac.sty
was added.
Credits go to the authors mentioned in the respective AUCTeX style
files.
LaTeX-includegraphics-options-alist
.
LaTeX-default-position
is nil
, don’t prompt for
position arguments in Tabular-like
environments, see Tabular-like.
font-latex-quotes
.
font-latex-match-function-keywords
,
font-latex-match-reference-keywords
,
font-latex-match-variable-keywords
and
font-latex-match-warning-keywords
.
LaTeX-german-open-quote
,
LaTeX-german-close-quote
and
LaTeX-german-quote-after-quote
instead of TeX-open-quote
,
TeX-close-quote
and TeX-quote-after-quote
if you want to
influence the type of quote insertion.
TeX-output-view-style
.
TeX-insert-macro
(C-c <RET>) ask for
all optional arguments by customizing the variable
TeX-insert-macro-default-style
, Completion.
TeX-run-discard
is now able to completely detach a process that
it started.
autoconf
making installing AUCTeX a mostly automatic process. See
Installation and Installation under MS Windows
for details.
comment-region
now inserts %% by default.
Suggested by "Davide G. M. Salvetti" salve@debian.org>.
TeX-install-font-lock
for this.
LaTeX-top-caption-list
specifies environments
where the caption should go at top.
Contributed by ataka@milk.freemail.ne.jp (Masayuki Ataka).
See the file ‘history.texi’ for older changes.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on January 17, 2024 using texi2html 1.82.