[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 5095f6f 14/14: Merge remote-tracking branch 'ori
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 5095f6f 14/14: Merge remote-tracking branch 'origin/master' into externals/auctex |
Date: |
Thu, 31 Oct 2019 04:23:19 -0400 (EDT) |
branch: externals/auctex
commit 5095f6f58115e0ed58b51f1835e5b11c2379aaab
Merge: eaa83e5 c8911b3
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
Merge remote-tracking branch 'origin/master' into externals/auctex
---
ChangeLog-preview | 4 +
ChangeLog.1 | 1931 ++++++++++++++++++++++++++++++++++++++++++++++++++-
Makefile.in | 2 +-
RELEASE | 101 ++-
configure.ac | 2 +-
doc/auctex.texi | 2 +-
doc/changes.texi | 10 +
doc/tex-ref.tex | 8 +-
latex.el | 36 +-
latex/preview.dtx | 4 +-
preview.el | 2 +-
style/amsmath.el | 292 ++++----
style/ragged2e.el | 5 +
style/xkcdcolors.el | 1005 +++++++++++++++++++++++++++
tex-fold.el | 38 +-
tex-info.el | 2 +-
16 files changed, 3235 insertions(+), 209 deletions(-)
diff --git a/ChangeLog-preview b/ChangeLog-preview
index 6fe6b6b..0096f55 100644
--- a/ChangeLog-preview
+++ b/ChangeLog-preview
@@ -1,3 +1,7 @@
+2019-10-30 Mosè Giordano <address@hidden>
+
+ * Version 12.2 released.
+
2017-12-10 Mosè Giordano <address@hidden>
* Version 12.1 released.
diff --git a/ChangeLog.1 b/ChangeLog.1
index ef22750..3d70c57 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,1932 @@
+2019-10-30 Mosè Giordano <address@hidden>
+
+ * Version 12.2 released.
+
+2019-10-29 Mosè Giordano <address@hidden>
+
+ Prepare for upcoming release
+
+ * RELEASE: Update version number, release notes and list of
contributors.
+ * configure.ac: Update version number.
+ * doc/auctex.texi: Update copyright years.
+ * doc/changes.texi: Mention generic bug fixes.
+ * doc/tex-ref.tex:
+ * latex/preview.dtx: Update version number and copyright years
+
+2019-10-26 Arash Esbati <address@hidden>
+
+ Add new style/xkcdcolors.el
+
+ * Makefile.in (STYLESRC): Add new style.
+
+ * style/xkcdcolors.el: New file.
+
+2019-10-26 Arash Esbati <address@hidden>
+
+ Add check for empty overlay
+
+ * tex-fold.el (TeX-fold-hide-item): Add an extra check to make
+ sure that the function runs when overlay start and end are
+ non-nil. What is done in the end of function isn't useful with
+ evaporated overlays and used to cause bugs because `overlay-start'
+ and `overlay-end' return nil for such overlays, and functions such
+ as `TeX-fold-overfull-p` try to move point to the
+ overlay-end. (bug#37337)
+
+2019-10-20 Arash Esbati <address@hidden>
+
+ * style/amsmath.el ("amsmath"): Improve query strings.
+
+2019-10-19 Stefan Monnier <address@hidden>
+
+ multi-prompt.el, style/beamer*.el: Get copyright just right
+
+2019-10-18 Arash Esbati <address@hidden>
+
+ * doc/changes.texi: Mention changes in News.
+
+2019-10-18 Arash Esbati <address@hidden>
+
+ Add final adjustments for LaTeX 2019-10-01
+
+ * latex.el (LaTeX-env-contents): Adjust function to LaTeX kernel
+ 2019-10-01 release. Remove check for usage within preamble only.
+ Add query for optional argument with completion.
+ (LaTeX-verbatim-environments):
+ (LaTeX-indent-environment-list): Add filecontents(*) environments.
+
+ * style/amsmath.el ("amsmath"): Add support for \overunderset
+ macro. Delete unnecessary `function' before `lambda'. Re-indent
+ the code.
+
+2019-10-15 Ikumi Keita <address@hidden>
+
+ Change default for new Ghostscript
+
+ * preview.el.in (preview-pdf-color-adjust-method): Change the default
+ value to t and adjust doc string.
+ * doc/preview-problems.texi (No images are displayed with gs 9.27 and
+ earlier): Adjust its contents in line with the above change and change
+ the title from "... newer".
+
+2019-10-15 Ikumi Keita <address@hidden>
+
+ Fix for revised file access controls of gs (bug#37719)
+
+ * preview.el.in (preview-prepare-fast-conversion): Add commands for
+ revised file access controls introduced after gs 9.27.
+ (preview-gs-restart): Use "-d" option instead of "-s" because the
+ former does not accept "%d" in OutputFile parameter.
+ Don't wrap the file name into parentheses in line with this change.
+ (preview-gs-flag-error): Adjust the reconstructed gs command line
+ argument so that it matches with the above change.
+ Add comments about limitations of this function.
+
+2019-10-07 Ikumi Keita <address@hidden>
+
+ * preview.el.in (preview-undump-replacements): Fix last commit.
+
+2019-10-07 Ikumi Keita <address@hidden>
+
+ Fix preview-latex for TeXLive 2019 update
+
+ * preview.el.in (preview-LaTeX-command, preview-undump-replacements):
+ Remove the brace around the argument of \input.
+
+2019-09-23 Arash Esbati <address@hidden>
+
+ Add fontification support for ragged2e macros
+
+ * style/ragged2e.el ("ragged2e"): Add provided macros to function
+ keywords class. This is in line with decision in `font-latex.el'
+ for corresponding kernel macros.
+
+2019-09-22 Arash Esbati <address@hidden>
+
+ Delete \Ref and \labelformat from varioref.el
+
+ * style/varioref.el ("varioref"): Delete \Ref and \labelformat
+ from style hook and fontification support.
+
+2019-09-22 Arash Esbati <address@hidden>
+
+ * latex.el (LaTeX-common-initialization): Add \Ref to
`TeX-complete-list'.
+
+2019-09-22 Arash Esbati <address@hidden>
+
+ Support new kernel macros \Ref and \labelformat
+
+ * font-latex.el (font-latex-built-in-keyword-classes): Add \Ref to
+ reference and \labelformat to function class.
+
+ * latex.el (LaTeX-common-initialization): Add support for \Ref and
+ \labelformat which are part of LaTeX kernel 2019-10-01 release.
+
+2019-09-18 Arash Esbati <address@hidden>
+
+ Update style/subcaption.el to package version 1.3
+
+ * style/subcaption.el ("subcaption"): Add support for \subfloat
+ macro.
+
+2019-09-18 Arash Esbati <address@hidden>
+
+ Update style/varioref.el to package version 1.6b
+
+ * style/varioref.el ("varioref"): Rearrange macros acc. to the
+ manual. Add missing starred version of \Vref. Add fontification
+ support for \labelformat.
+ (LaTeX-varioref-package-options): Update package options.
+
+2019-09-14 Arash Esbati <address@hidden>
+
+ Improve detecting of rejected optional arguments
+
+ * style/bicaption.el (LaTeX-arg-bicaption-bicaption):
+ * style/caption.el (LaTeX-arg-caption-captionbox):
+ * style/floatrow.el (LaTeX-floatrow-arg-floatbox):
+ * style/xcolor.el (TeX-arg-xcolor-fcolorbox): Add an additional
+ check for detecting if last optional argument was rejected.
+
+2019-09-08 Arash Esbati <address@hidden>
+
+ Add new style/multitoc.el
+
+ * Makefile.in (STYLESRC): Add new style.
+
+ * style/multitoc.el: New file
+
+2019-08-31 Arash Esbati <address@hidden>
+
+ Make "PDF Tools" viewer available under Windows and macOS
+
+ * tex.el (TeX-view-program-list-builtin): Make entry for "PDF
+ Tools" available under Windows and macOS. (bug#37152)
+
+ * doc/changes.texi: Mention availability of "PDF Tools" under
+ Windows and macOS in `TeX-view-program-list-builtin'.
+
+ * doc/install.texi (Prerequisites): Replace "Mac OS X" with
+ "macOS".
+
+2019-08-22 Arash Esbati <address@hidden>
+
+ Add new style/ltugboat.el
+
+ * Makefile.in (STYLESRC): Add new style.
+
+ * style/ltugboat.el: New file.
+
+2019-08-22 Arash Esbati <address@hidden>
+
+ Add new style/changelog.el
+
+ * Makefile.in (STYLESRC): Add new style.
+
+ * style/changelog.el: New file.
+
+2019-08-22 Arash Esbati <address@hidden>
+
+ Support explicitly numbered group contructs
+
+ * latex.el (LaTeX-extract-key-value-label): Add an optional
+ argument for explicitly numbered group contructs.
+
+2019-08-22 Arash Esbati <address@hidden>
+
+ * doc/changes.texi: Mention fontification improvement for biblatex.
+
+2019-08-21 Arash Esbati <address@hidden>
+
+ * context.el (ConTeXt-environment): Fix docstring.
+
+2019-08-21 Arash Esbati <address@hidden>
+
+ Fix lisp example for `TeX-electric-math'
+
+ * doc/auctex.texi (Quotes): Use `make-local-variable' instead of
+ `make-variable-buffer-local' in lisp example for init file. (bug#37124)
+
+2019-08-21 Ikumi Keita <address@hidden>
+
+ Restore syntax fontify in Texinfo mode
+
+ * tex-info.el (TeX-texinfo-mode): Set `syntax-propertize-function',
+ mimicking texinfo.el. Now comments in Texinfo mode buffer are
+ displayed with comment face again.
+
+2019-08-21 Ikumi Keita <address@hidden>
+
+ Reduce unnecessary local variable safety inquiry
+
+ * tex.el (TeX-add-local-master): Call major mode function only when
+ necessary.
+
+2019-08-18 Arash Esbati <address@hidden>
+
+ Update style/titlesec.el to package version 2.11
+
+ * style/titlesec.el ("titlesec"): Add \nostruts macro.
+ (LaTeX-titlesec-package-options): Add `nostruts' option.
+
+2019-08-17 Arash Esbati <address@hidden>
+
+ Update style/thmtools.el to package version 67
+
+ * style/thmtools.el (LaTeX-thmtools-declaretheoremstyle-regexp)
+ (LaTeX-thmtools-declaretheorem-regexp): Use the function
+ `LaTeX-extract-key-value-label' to build the regexp.
+ (LaTeX-thmtools-listoftheorems-key-val): Add new key `title'.
+ (LaTeX-thmtools-package-options): Add new variable.
+
+2019-08-17 Arash Esbati <address@hidden>
+
+ Update style/fvextra.el to package version 1.4
+
+ * style/fvextra.el (LaTeX-fvextra-key-val-options): Add new keys.
+ ("fvextra"): Add new macros. Add fontification support for
+ \EscVerb macro.
+
+2019-08-15 Arash Esbati <address@hidden>
+
+ Update style/paracol.el to package version 1.35
+
+ * style/paracol.el: Add macro \definecolumnpreamble and the length
+ \belowfootnoteskip.
+
+2019-07-21 Ikumi Keita <address@hidden>
+
+ Change color adjustment method (bug#35571, bug#35696, bug#36039)
+
+ * preview.el.in (preview-pdf-color-adjust-method): New option.
+ (preview-pdf-color-string): Use new code using DELAYBIND feature when
+ the new option is t.
+ (preview-gs-color-string): Add new optional argument to suppress code
+ for explicit colors.
+ (preview-gs-open): Don't adjust color when the latex command produces
+ PDF and `preview-pdf-color-adjust-method' is nil.
+ (preview-pdf2dsc-sentinel): Add "-dDELAYBIND" option to gs invocation
+ when `preview-pdf-color-adjust-method' is t.
+ * doc/changes.texi: Add a new entiry.
+ * doc/preview-problems.texi: Add a section to explain how to do with
+ the case no images are displayed with gs 9.27 and newer.
+
+2019-07-16 Ikumi Keita <address@hidden>
+
+ Enhance support for file names with spaces
+
+ * tex-buf.el (TeX-run-compile): Add an entry for file name with spaces
+ to localized `compilation-error-regexp-alist'.
+
+2019-07-14 Arash Esbati <address@hidden>
+
+ Update style/AnonymousPro.el to package version 2.2
+
+ * style/AnonymousPro.el (LaTeX-AnonymousPro-package-options): Add
+ the `scaled' key.
+
+2019-06-27 Ikumi Keita <address@hidden>
+
+ Conform to `delete-selection-mode' (bug#36385)
+
+ * latex.el (LaTeX-insert-left-brace): Put `delete-selection' property
+ which obeys that of `self-insert-command' when
+ `LaTeX-electric-left-right-brace' feature is inactive.
+
+2019-06-14 Arash Esbati <address@hidden>
+
+ Support cleveref labels
+
+ * style/cleveref.el (TeX-arg-cleveref-crossref-type): New
+ function.
+ (LaTeX-cleveref-label-regexp): New variable for parsing \label
+ macros with an optional argument.
+ ("cleveref"): Add missing package macros.
+ Update expert commands and fontification.
+ Update `reftex-label-regexps' enabling RefTeX to handle \label
+ with an optional argument as well.
+ Update description line and add Commentary section. (bug#36111)
+
+2019-05-21 Ikumi Keita <address@hidden>
+
+ Make navigation function robust
+
+ * tex.el (TeX-find-macro-end-helper): Cater for corner case that the
+ `while' loop is exited or skipped.
+ * tests/tex/navigation.el: Add new test.
+
+2019-05-20 Arash Esbati <address@hidden>
+
+ Update style/babel.el to package version 3.31
+
+ * style/babel.el (LaTeX-babel-language-list): Add azerbaijani and
+ remove frenchb.
+ (LaTeX-babel-babelprovide-key-val-options): New variable.
+ (LaTeX-babel-babeltags-regexp, LaTeX-babel-cleanup-babeltags): Add
+ parsing support for \babeltags macro.
+ (LaTeX-babel-babelfont-regexp, LaTeX-babel-cleanup-babelfont): Add
+ parsing support for \babelfont macro.
+ (TeX-arg-babel-lang): Use the arguments optional and prompt
+ properly.
+ ("babel"): Add missing macros incl. fontification.
+ (LaTeX-babel-package-options): Add missing package options.
+
+2019-05-17 Tassilo Horn <address@hidden>
+
+ Fix autoload generation code (bug#35758)
+
+ * Makefile.in (AUTOLOAD,PREVIEW_AUTOLOAD): Use arg instead of
+ generated-autoload-file (bug#35758).
+
+2019-05-17 Ikumi Keita <address@hidden>
+
+ Fix regression
+
+ * latex.el (LaTeX-arg-usepackage-insert, LaTeX-arg-usepackage): Move
+ `TeX-run-style-hooks' from `LaTeX-arg-usepackage' to
+ `LaTeX-arg-usepackage-insert'. Due to my commit "Defer running style
+ hook until options are given actually", style hooks associated with
+ \usepackage were not run when the document is newly created with
+ `LaTeX-env-document'.
+
+2019-05-17 Arash Esbati <address@hidden>
+
+ Load hyperref.el in `LaTeX-beamer-class-options'
+
+ * style/beamer.el (LaTeX-beamer-class-options): Load "hyperref.el"
+ in order to have `LaTeX-hyperref-package-options-list' defined
+ when the document class is requested and the style hook hasn't run
+ yet. (bug#35649)
+
+2019-05-12 Arash Esbati <address@hidden>
+
+ Improve style/mflogo.el
+
+ * style/mflogo.el ("mflogo"): Ask for Text when \textlogo is
+ invoked. Change \logofamily into a declaration. Add missing
+ macros \MF and \MP. Adjust fontification for \textlogo and
+ \logofamily.
+
+2019-05-12 Ikumi Keita <address@hidden>
+
+ Fix last commit
+
+ * tex-buf.el (TeX-command-expand): Redefine the value of `file' just
+ once per call of `TeX-command-expand'. Previous code could give
+ spurious quote when the given command string contains more than one
+ "%" expanders tied with the symbol `file'.
+
+2019-05-12 Ikumi Keita <address@hidden>
+
+ Stop depreciated usage of undeclared dynamic variable
+
+ * tex-buf.el (TeX--master-or-region-file-with-extra-quotes): Redefine
+ as template. On accepting one of `TeX-master-file', `TeX-region-file'
+ or `TeX-active-master' as its first argument, it becomes a wrapper for
+ those three, like previous definition.
+ (TeX-command-expand): Arrage in accord with the above change.
+ With these two changes, we no longer need implicit dynamic binding of
+ non-special variable `orig-file'.
+ * tex.el (TeX-expand-list-builtin): Update supplementary comment for
+ "%T".
+
+2019-05-09 Ikumi Keita <address@hidden>
+
+ * tex-jp.el (AUCTeX-jp): Add keyword :link to info node.
+
+2019-05-09 Ikumi Keita <address@hidden>
+
+ Fix treatment of class and package options
+
+ * preview.el.in (preview-auctex-font-size): Consult
+ `LaTeX-provided-{class,package}-options' instead of
+ `(TeX-style-list)'. This function has been accidentally disabled
+ since AUCTeX began not to include the class and package options into
+ the styles. Similar problem with bug#25563.
+ * latex.el (LaTeX-match-class-option): Update doc string because the
+ above change depends on its implicit behavior.
+
+2019-05-09 Ikumi Keita <address@hidden>
+
+ Remove obsolete codes
+
+ * preview.el.in (preview-mouse-open-eps): Remove xemacs compatibility
+ code.
+ Don't use obsolete variable `default-major-mode'.
+
+2019-05-09 Ikumi Keita <address@hidden>
+
+ Remove compatibility code for xemacs
+
+ * prv-emacs.el (preview-compatibility-macros): Remove.
+ * preview.el.in (eval-when-compile,makunbound): Remove useless
+ codes.
+
+2019-05-09 Ikumi Keita <address@hidden>
+
+ Remove compatibility code for xemacs
+
+ * prv-emacs.el (preview-mark-active): Remove.
+ (): Update Copyright year.
+ * preview.el.in (LaTeX-preview-setup): Remove the above macro.
+ (): Update Copyright year.
+
+2019-05-08 Mohammad Hossein Bateni <address@hidden>
+
+ Allow the user to customize which TeX commands are available in each
mode.
+
+ Commands such as Biber, DVI2PS, PS2PDF, Index, etc. are not useful in
+ ConTeXt. ConTeXt generates a PDF directly and has its own indexing
+ mechanism.
+
+ In Mark IV (which has been the preferred version for over a decade and
+ is actively developed), a new bibliography package is also available,
+ which can process old bibtex files as well. So there is no need for
+ BibTeX.
+
+ Having so many commands in context-mode clutters the menus. In the
+ definition of TeX-command-list, we either provide a list of relevant
+ modes, or set the value to `t' indicating that this command should
+ always be available. In the latter case, the user cannot customize
+ it. Here we provide sensible defaults as well as the ability for the
+ user to customize.
+
+ * tex.el (TeX-command-list): Hide by default some commands from
context-mode.
+
+2019-04-23 Arash Esbati <address@hidden>
+
+ Add new function `LaTeX-extract-key-value-label'
+
+ * latex.el (LaTeX-extract-key-value-label): Add new utility
+ function to return a regexp string to extract label value in an
+ optional key=val argument.
+
+ * style/breqn.el (LaTeX-breqn-key-val-label-regexp):
+ * style/listings.el (LaTeX-listings-key-val-label-regexp)
+ (LaTeX-listings-auto-cleanup): Use
+ `LaTeX-extract-key-value-label'.
+ Delete now unused variable `LaTeX-listings-key-val-label-extract'.
+
+2019-04-20 Arash Esbati <address@hidden>
+
+ Add support for ChangeLog entries for LaTeX files
+
+ * tex.el (TeX-current-defun-name): New function returning the name
+ of current sectioning command when `C-x 4 a' is invoked.
+
+ * latex.el (LaTeX-common-initialization): Set a local version
+ `add-log-current-defun-function' to `TeX-current-defun-name'.
+
+2019-04-19 Arash Esbati <address@hidden>
+
+ * style/xparse.el ("xparse"): Fix fontification of alternatives.
+
+2019-04-17 Ikumi Keita <address@hidden>
+
+ Reset `TeX-PDF-from-DVI' if xetex engine is in use
+
+ * tex.el (TeX-engine-set): Reset `TeX-PDF-from-DVI' when the new
+ engine is `xetex'. Fix bug#34593.
+
+2019-04-13 Arash Esbati <address@hidden>
+
+ Update keywords to biblatex v3.12
+
+ * font-latex.el (font-latex-built-in-keyword-classes): Update
+ biblatex keywords. For qualified lists, fontify at least 2
+ mandatory arguments.
+
+2019-04-11 Arash Esbati <address@hidden>
+
+ * tex-info.el (TeX-texinfo-mode): Set `add-log-current-defun-function'
locally.
+
+2019-04-06 Ikumi Keita <address@hidden>
+
+ Elaborate LaTeX math insertion command
+
+ * latex.el (LaTeX-math-insert): Put the point after the closing dollar
+ sign when appropriate. This fixes bug#35128.
+ In addtion, wrap the text in the active region suitably.
+
+2019-04-05 Arash Esbati <address@hidden>
+
+ Fix handling of function entries in `TeX-complete-list'
+
+ * tex.el (TeX-complete-symbol): Check if the fourth argument of
+ entry in `TeX-complete-list' is a list and eval it. (Bug#35074)
+
+2019-03-16 Arash Esbati <address@hidden>
+
+ Improve fontification of \href macro
+
+ * style/hyperref.el ("hyperref"): Add "href" to
+ `LaTeX-verbatim-macros-with-braces-local'.
+ Check for feature font-latex and not for functions.
+ Declare and use `font-latex-update-font-lock' instead of
+ `font-latex-set-syntactic-keywords'.
+
+2019-03-09 Tassilo Horn <address@hidden>
+
+ Support up to 12 command arguments.
+
+ * font-latex.el (font-latex-keyword-matcher): Support up to 12 command
+ arguments.
+
+2019-03-04 Arash Esbati <address@hidden>
+
+ Fix fontification of simple macros
+
+ * font-latex.el (font-latex-match-simple-command): Change second
+ part of regexp in order to be less greedy. This function now
+ fontifies only letters and characters defined in
+ `font-latex-match-simple-include-list' (bug#34712).
+ (font-latex-match-simple-include-list): New variable.
+
+ * style/expl3.el ("expl3"): Add "_" and ":" to
+ `font-latex-match-simple-include-list'.
+
+2019-02-24 Tassilo Horn <address@hidden>
+
+ New styles for beamerarticle & beamerswitch triggering beamer
+
+ * style/beamerarticle.el: New style.
+ * style/beamerswitch.el: New style.
+ * Makefile.in (STYLESRC): Enable them.
+
+2019-02-11 Arash Esbati <address@hidden>
+
+ * style/listings.el: Require tex.el.
+
+2019-02-08 Stefan Monnier <address@hidden>
+
+ * auctex.el: Add requireds, keywords, and trailer
+
+ (cherry picked from commit 0c8d6703d16097eb64f014c56e4135a5a1f9600f)
+
+2019-02-08 Arash Esbati <address@hidden>
+
+ Delete auctex-pkg.el which is not needed for ELPA releases
+
+2019-02-08 Arash Esbati <address@hidden>
+
+ Add dependencies file auctex-pkg.el
+
+ * auctex-pkg.el: Add new file containing AUCTeX's dependencies for
+ ELPA releases.
+
+2019-02-02 Arash Esbati <address@hidden>
+
+ Improve indenting and filling in "Form" environments
+
+ * style/hyperref.el ("hyperref"): Add the "Form" environment to
+ `LaTeX-document-regexp'.
+
+2019-01-12 Arash Esbati <address@hidden>
+
+ Add support for w and W column specifiers
+
+ * style/array.el ("array"): Add column specifiers w and W to
+ `LaTeX-array-column-letters'.
+
+ * doc/changes.texi: Mention that counting columns is supported
+ only if the align parameter is enclosed in braces.
+
+2019-01-11 Ikumi Keita <address@hidden>
+
+ Remove combatibility code for older emasen
+
+ * tex.el (put): Don't put unnecessary property on
+ `TeX-source-correlate-mode'.
+ (TeX-clean): Remove fallback code for emacs 21.
+
+2019-01-11 Ikumi Keita <address@hidden>
+
+ Remove compatibility code for older emacsen
+
+ * font-latex.el (put):
+ * tex-style.el (put):
+ Use `booleanp' instead of `TeX-booleanp'.
+ * tex.el (put): Use `booleanp' instead of `TeX-booleanp'.
+ (TeX-booleanp): Remove.
+
+2019-01-11 Ikumi Keita <address@hidden>
+
+ Remove compatibility code for older emacsen
+
+ * context.el (ConTeXt-mode-common-initialization):
+ * latex.el (TeX-latex-mode):
+ * plain-tex.el (TeX-plain-tex-mode, ams-tex-mode):
+ * tex-info.el (TeX-texinfo-mode):
+ Use `run-mode-hooks' instead of `TeX-run-mode-hooks'.
+ * tex.el (TeX-run-mode-hooks): Remove.
+
+2019-01-11 Ikumi Keita <address@hidden>
+
+ Fix test conditions on w32
+
+ * tests/tex/command-expansion.el (TeX-command-detokenize): Correct
+ `system-type' for w32.
+ (TeX-command-expand-skip-file-name, TeX-command-expand-active-master):
+ Skip tests on w32.
+
+2019-01-10 Ikumi Keita <address@hidden>
+
+ Override some bindings in `TeX-mode-map' in Texinfo mode
+
+ * tex-info.el (Texinfo-mode-map): Bind `self-insert-command' to
+ "$", "^", "_" and "\" because they are normal characters in Texinfo
+ documents.
+ Bind `TeX-insert-backslash' to "@" so that users benefit from
+ `TeX-electric-macro' even in Texinfo mode.
+ * tex.el (TeX-electric-escape): Update doc string.
+ * doc/auctex.texi (Completion): Update description.
+ * doc/changes.texi (News in 12.2): Mention the above changes.
+
+2019-01-06 Arash Esbati <address@hidden>
+
+ Update style/enumitem.el to package version 3.6
+
+ * style/enumitem.el (LaTeX-enumitem-key-val-options): Update
+ key=val options to v3.6.
+ (LaTeX-enumitem-auto-cleanup): Use sharp-quote notation.
+ ("enumitem"): Query for trivlist environment depending of package
+ option.
+ Add macro \Drawenumitemlabel and length \labelitem.
+ (LaTeX-enumitem-package-options): Update package options.
+
+2019-01-02 Arash Esbati <address@hidden>
+
+ Skip macros and environments from pythontex
+
+ * tex-ispell.el (TeX-ispell-skip-cmds-list): Add document macros
+ of pythontex package.
+ (TeX-ispell-skip-envs-list): Add environments provided by
+ pythontex package.
+ Add general verbatim macros.
+
+2018-12-15 Arash Esbati <address@hidden>
+
+ Improve completion for \url between url.el and hyperref.el
+
+ * style/hyperref.el ("hyperref"): Comment the entry for "url"
+ since the completion is provided via url.el.
+
+ * style/url.el ("url"): Add a conditional to "url" in order to
+ check if hyperref.el is loaded and then supply the argument in
+ braces.
+ Also check for hyperref.el. before adding "url" to
+ `LaTeX-verbatim-macros-with-delims-local'.
+
+2018-12-14 Arash Esbati <address@hidden>
+
+ Add new style/pythontex.el
+
+ * Makefile.in (STYLESRC): Add new style.
+
+ * style/pythontex.el: New file.
+
+2018-12-11 Ikumi Keita <address@hidden>
+
+ Drop xemacs support and mule check from configure and Makefile
+
+ * aclocal.m4:
+ * configure.ac:
+ * doc/Makefile.in: Drop xemacs support and mule check.
+ * Makefile.in: Merge mule file into main files.
+ Drop xemacs support.
+ * prv-install.el: Remove.
+
+2018-12-11 Ikumi Keita <address@hidden>
+
+ Fix document
+
+ * doc/auctex.texi (Completion): Correct wrong description and typo.
+ (Cleaning): Add mention about variables related to AmSTeX mode.
+
+2018-12-11 Ikumi Keita <address@hidden>
+
+ Use ASCII apostrophe in code expample
+
+ * doc/auctex.texi (): (I/O Correlation): Use APOSTROPHE(U+0027) rather
+ than RIGHT SINGLE QUOTATION MARK(U+2019) in code example.
+ Add coding tag in Local Variables section.
+
+2018-12-10 Ikumi Keita <address@hidden>
+
+ Redefine support for \url in hyperref
+
+ * style/hyperref.el ("hyperref"): Override the entry for \url macro in
+ url.el because hyperref.sty redefines the macro.
+
+2018-12-10 Ikumi Keita <address@hidden>
+
+ Revise description about CJK support
+
+ * doc/auctex.texi (Internationalization): Revise description about CJK
+ support in Emacs and TeX.
+ (Japanese): Fix typo and add index entries.
+
+2018-12-06 Arash Esbati <address@hidden>
+
+ Improve handling of `TeX-insert-macro-default-style' in styles
+
+ * latex.el (LaTeX-check-insert-macro-default-style): Add new
+ macro. This macro is intended for more complex functions in style
+ files querying multiple optional and mandatory arguments and
+ obeying the values of `TeX-insert-macro-default-style' and
+ `current-prefix-arg'.
+
+ * tex.el (TeX-parse-arguments): Add a comment about the new macro.
+
+ * style/bicaption.el (LaTeX-arg-bicaption-bicaption):
+ * style/caption.el (LaTeX-arg-caption-captionbox):
+ * style/color.el (TeX-arg-color, TeX-arg-color-fcolorbox):
+ * style/floatrow.el (LaTeX-floatrow-arg-floatbox):
+ * style/xcolor.el (TeX-arg-xcolor-definecolor)
+ (TeX-arg-xcolor-definecolorset, TeX-arg-xcolor)
+ (TeX-arg-xcolor-fcolorbox): Use
+ `LaTeX-check-insert-macro-default-style'.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Remove compatibility code for older emacsen
+
+ * tex.el: Remove XEmacs compatibility definitions for
+ `TeX-read-string', `TeX-active-mark', `TeX-activate-region',
+ `line-beginning-position', `line-end-position' and
+ `TeX-overlay-prioritize'.
+ (TeX-activate-region): Remove compatibility code for older emacsen.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Remove TeX-maybe-remove-help, TeX-menu-with-help
+
+ * tex.el (TeX-maybe-remove-help, TeX-menu-with-help): Remove.
+ (TeX-mode-specific-command-menu-entries, TeX-fold-menu)
+ (TeX-common-menu-entries):
+ * context.el:
+ * latex.el:
+ * plain-tex.el:
+ * tex-buf.el:
+ * tex-info.el:
+ Remove `TeX-menu-with-help' and fix indent.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Remove TeX-mark-active
+
+ * tex.el (TeX-mark-active): Remove.
+ (TeX-mode-specific-command-menu-entries):
+ * style/dinbrief.el (LaTeX-dinbrief-insert)
+ (LaTeX-dinbrief-env-recipient):
+ Use the variable `mark-active' directly instead of the function
+ `TeX-mark-active'.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Remove TeX-replace-regexp-in-string
+
+ * tex.el (TeX-replace-regexp-in-string): Remove.
+ * latex.el:
+ * style/empheq.el:
+ * style/floatrow.el:
+ * style/tcolorbox.el:
+ * style/xcolor.el:
+ Use `replace-regexp-in-string' instead of
+ `TeX-replace-regexp-in-string'.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Use `write-file-functions'
+
+ * tex.el (VirTeX-common-initialization):
+ * latex.el (BibTeX-auto-store):
+ Use `write-file-functions' instead of obsolete
+ `local-write-file-hooks' and `write-file-hooks'. Also, use local hook.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Remove compatibility face
+
+ * tex-buf.el (TeX-error-description-error)
+ (TeX-error-description-warning, TeX-error-description-tex-said):
+ Remove compatibility alternatives in `defface'.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Remove XEmacs compatibility code in tex-bar.el
+
+ * tex-bar.el (TeX-bar-TeX-buttons, TeX-bar-LaTeX-buttons): Remove
+ Emacs/XEmacs choice of buttons.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ * tex-buf.el (TeX-special-mode): Use `define-derived-mode'.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Remove compatibility code for older emacsen
+
+ * font-latex.el (font-latex-after-hacking-local-variables): Remove
+ fallback code for case `file-local-variables-alist' isn't available.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Remove compatibility code for older emacsen
+
+ * font-latex.el (font-latex-doctex-^^A): Remove fallback for case
+ `string-to-syntax' isn't available.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Remove compatibility code for older emacsen
+
+ * latex.el (LaTeX-fill-region-as-para-do): Drop fallback for case
+ `fill-delete-prefix' isn't available.
+
+2018-12-03 Ikumi Keita <address@hidden>
+
+ Adjust autoload cookie
+
+ * tex-fold.el (TeX-fold-mode): Set autoload cookie directly to
+ `define-minor-mode'.
+
+2018-12-02 Arash Esbati <address@hidden>
+
+ Remove unnecessary parentheses
+
+ * style/geometry.el ("geometry"):
+ * style/graphicx.el ("graphicx"): Remove unnecessary parentheses
+ in option management.
+
+2018-11-29 Ikumi Keita <address@hidden>
+
+ Remove compatibility codes for older emacsen
+
+ * tex-info.el (when, TeX-texinfo-mode):
+ * tex.el (TeX-documentation-texdoc):
+ * plain-tex.el (TeX-plain-tex-mode):
+ * preview.el.in (preview-counter-find):
+ Remove compatibility codes for older emacsen.
+
+2018-11-29 Ikumi Keita <address@hidden>
+
+ Use `declare-function' without `fboundp' test
+
+ * latex.el:
+ * tex-info.el:
+ Use `declare-function' without `fboundp' test.
+
+2018-11-29 Ikumi Keita <address@hidden>
+
+ Remove references to older emacsens in comments and doc strings
+
+ * bib-cite.el:
+ * font-latex.el:
+ * tex-fold.el:
+ * tex-style.el:
+ * style/graphicx.el
+ Remove references on older emacsens in comments and doc strings
+
+2018-11-29 Ikumi Keita <address@hidden>
+
+ Remove references to XEmacs from the manual
+
+ * RELEASE (): Delete the words "or XEmacs" and fill the paragraph.
+ * doc/install.texi (Configure): Delete redundant line and words.
+
+2018-11-29 Ikumi Keita <address@hidden>
+
+ Clean up remnants of previous removal of compatibility codes
+
+ * tex.el (TeX-mode-specific-command-menu): Delete irrelevant comment.
+ * latex.el (LaTeX-indent-line): Clear out unused lines.
+
+2018-11-29 Ikumi Keita <address@hidden>
+
+ Add suggestions for non-privileged installation
+
+ * doc/install.texi (Configure): Reorganize a paragraph and add @ref's.
+ (Installation for non-privileged users): Add paragraphs to suggest to
+ supply options "--with-lispdir" and "--with-texmf-dir" etc. to
+ configure when installing AUCTeX under the user's home directory.
+
+2018-11-26 Ikumi Keita <address@hidden>
+
+ Defer running style hook until options are given actually
+
+ * latex.el (LaTeX-arg-usepackage-read-packages-with-options): Don't
+ run the style hooks before reading package options, just load the
+ style files for completion of package options.
+ (LaTeX-arg-usepackage): Run style hooks actually after the package
+ options are given.
+ (TeX-arg-document): Don't run the style hooks before reading class
+ options, just load the style file for completion of class options.
+ The style hooks are run afterward by `TeX-update-style' anyway.
+ * style/exam.el ("exam"): Prepare `LaTeX-exam-class-options' to have
+ its full values outside the style hook along with the above idea.
+ * style/mathtools.el ("mathtools"):
+ * style/empheq.el ("empheq"):
+ * style/graphics.el ("graphics"): Set `LaTeX-*****-package-options'
+ outside the style hook along with the above idea.
+
+2018-11-26 Ikumi Keita <address@hidden>
+
+ Fix not to run wrong style hooks
+
+ * tex.el (TeX-style-hook-dialect-weight-alist): Add entry for
+ pseudo-dialect `:classopt'.
+ (TeX-style-hook-dialect): Add description for `:classopt' in doc
+ string.
+ * latex.el (LaTeX-common-initialization): Assign style hooks for
+ class options into pseudo-dialect `:classopt'.
+ Don't set `TeX-PDF-from-DVI' in XeLaTeX document.
+ (TeX-latex-mode): Run style hooks for class options in
+ `TeX-update-style-hook', without altering `TeX-active-list'.
+ * style/geometry.el ("geometry"):
+ * style/graphicx.el ("graphicx"): Don't set `TeX-PDF-from-DVI' in
+ XeLaTeX document.
+ * style/hyperref.el ("hyperref"): Set `TeX-PDF-from-DVI' to "Dvipdfmx"
+ when package option "dvipdfmx" is given for non-XeLaTeX document.
+ * tests/latex/latex-test.el (LaTeX-style-hook-with-class-option):
+ Refine tests.
+ * doc/auctex.texi (Simple Style): Add descriptions for available
+ dialects including `:classopt'.
+
+2018-11-24 Arash Esbati <address@hidden>
+
+ Add new style/dashundergaps.el
+
+ * Makefile.in (STYLESRC): Add new style.
+
+ * style/dashundergaps.el: New file.
+
+2018-11-16 Arash Esbati <address@hidden>
+
+ Improve behavior of `TeX-arg-beamer-overlay-spec'
+
+ * style/beamer.el (TeX-arg-beamer-overlay-spec): Use
+ `TeX-argument-insert' in the body of the function and respect the
+ OPTIONAL argument.
+ ("beamer"): Enclose all occurrences of
+ `TeX-arg-beamer-overlay-spec' in brackets in order to mark them as
+ optional.
+
+2018-11-16 Arash Esbati <address@hidden>
+
+ style/enumitem.el ("enumitem"): Use `TeX-argument-prompt' for query.
+
+2018-11-15 Ikumi Keita <address@hidden>
+
+ Surround both \langle and \rangle with math delimiter
+
+ * latex.el (LaTeX-math-insert): Typing "C-u ` (" used to result in
+ "$\langle$\rangle" when `LaTeX-math-mode' and
+ `LaTeX-electric-left-right-brace' are enabled. Fix this to insert
+ "$\langle\rangle$" instead.
+
+2018-11-15 Ikumi Keita <address@hidden>
+
+ Set `TeX-command-buffer' always (bug#33377)
+
+ * tex-buf.el (TeX-command): Make sure to set `TeX-command-buffer'
+ always.
+
+2018-11-10 Ikumi Keita <address@hidden>
+
+ Adjust preview-latex in case sub file isn't in master directory
+
+ * preview.el.in (preview-dvips-abort):
+ (preview-gs-dvips-sentinel):
+ (preview-dvipng-place-all): Make sure directory part of dvi file to be
+ deleted is removed because deletion takes place in master directory.
+ (preview-start-pdf2dsc): Make sure directory part of pdf file is
+ removed so that path for later use is constructed correctly.
+ (preview-cache-preamble):
+ (preview-region):
+ (preview-document): Retain directory part of the file name to be
+ passed to `preview-generate-preview' because `TeX-run-command' in
+ `TeX-inline-preview-internal' doesn't recognize the right path
+ otherwise.
+ (preview-generate-preview): Adjust in accord with the above change.
+
+2018-11-09 Ikumi Keita <address@hidden>
+
+ Don't block emacs during viewing document
+
+ * tex.el (TeX-documentation-texdoc): Use asynchronous proces not to
+ block emacs during viewing document.
+ Supply "%s" to `message' argument in case the shell output contains
+ accidental %-sequence.
+
+2018-11-02 Arash Esbati <address@hidden>
+
+ * style/fancyvrb.el (LaTeX-fancyvrb-key-val-options): Add vspace key.
+
+2018-10-31 Arash Esbati <address@hidden>
+
+ Improve style/fancyvrb.el
+
+ * style/fancyvrb.el (LaTeX-fancyvrb-arg-define-macro): Refactor
+ code. Cater for starred version of user defined macros. Add
+ missing `,' in backquote constructs.
+ (LaTeX-fancyvrb-arg-define-environment): Refactor code.
+ ("fancyvrb"): Add \Verb* macro incl. fontification.
+
+2018-10-31 Ikumi Keita <address@hidden>
+
+ Deal with space in path of MikTeX gs executable (Bug#32251)
+
+ * preview.el.in (preview-gs-command): Wrap gs with
+ `shell-quote-argument' in case it has space in its path.
+
+2018-10-31 Ikumi Keita <address@hidden>
+
+ Change regexp for clarity
+
+ * preview.el.in (preview--decode-^^ab): Change regexp "[\x00-\xFF]+" to
+ "[^[:multibyte:]]+" for clarity that it matches raw 8-bit bytes.
+
+2018-10-30 Ikumi Keita <address@hidden>
+
+ Make style hooks associated with class options valid again
+
+ * latex.el (TeX-latex-mode): Add a function on `TeX-update-style-hook'
+ to run style hooks associated with class options.
+ (LaTeX-common-initialization): Set `TeX-PDF-from-DVI' to suitable
+ value when a class option "dvips" or "dvipdfmx" is given.
+ * style/geometry.el ("geometry"):
+ * style/graphicx.el ("graphicx"): Set `TeX-PDF-from-DVI' to "Dvipdfmx"
+ when a package option "dvipdfmx" is given.
+ * tests/latex/latex-test.el (LaTeX-style-hook-with-class-option): New
+ test.
+
+2018-10-30 Ikumi Keita <address@hidden>
+
+ Deal with partial ^^-quoting in preview-latex
+
+ If latex outputs a multibyte character as a mixture of raw 8-bit byte
+ and byte with ^^-quoting, we have to decode them as a whole.
+
+ * preview.el.in (preview--decode-^^ab): Include raw 8-bit bytes which
+ already exist in the string as well when decoding with the given
+ coding system.
+ * tests/latex/preview-latex-test.el: New test.
+
+2018-10-20 Arash Esbati <address@hidden>
+
+ Extract caption for RefTeX's label context
+
+ * style/listings.el (LaTeX-listings-reftex-label-context-function):
+ New function. Extract the caption in the optional argrument of
+ the lstlisting environment and return it as a string for the
+ context of a label.
+
+2018-09-07 Arash Esbati <address@hidden>
+
+ Update style/lettrine.el to package version 2.21
+
+ * style/lettrine.el (LaTeX-lettrine-key-val-options): Delete
+ "Vone" option.
+ ("lettrine"): Delete \LettrineVonefalse macro.
+
+2018-08-25 Arash Esbati <address@hidden>
+
+ Update style/lettrine.el to package version 2.1
+
+ * style/lettrine.el (LaTeX-lettrine-key-val-options): Add new keys
+ "Vone" and "refstring".
+ ("lettrine"): Add new macros, minor rearrangements.
+
+2018-08-09 Arash Esbati <address@hidden>
+
+ Update style/lettrine.el to package version 2.01
+
+ * style/lettrine.el (LaTeX-lettrine-key-val-options): Update
+ key=val options.
+ ("lettrine"): Use correct functions on counters and
+ lengths/dimensions provided by lettrine.sty.
+ Add support for missing macros.
+
+2018-08-09 Arash Esbati <address@hidden>
+
+ Add new style/ocg-p.el and style/ocgx.el
+
+ * Makefile.in (STYLESRC): Add new styles.
+
+ * style/ocg-p.el:
+ * style/ocgx.el: New files.
+
+2018-07-17 Arash Esbati <address@hidden>
+
+ Add \eqref to RefTeX's reference styles
+
+ * style/amsmath.el ("amsmath"): Add \eqref to
+ `reftex-ref-style-alist' when RefTeX is loaded and activate the
+ reference style.
+
+2018-07-12 Arash Esbati <address@hidden>
+
+ Add new style/thmtools.el and style/thm-restate.el
+
+ * Makefile.in (STYLESRC): Add new styles.
+
+ * style/thmtools.el:
+ * style/thm-restate.el: New files.
+
+2018-07-09 Ikumi Keita <address@hidden>
+
+ Fix regression of `TeX-view'
+
+ * tex-buf.el (TeX-active-master): Add dummy argument for
+ compatibility. In `TeX-view', `TeX-commmand' is called with
+ `TeX-active-master', so the `file' argument is `TeX-active-master'
+ in subsequent call of `TeX-command-expand'. In that case,
+ `TeX--master-or-region-file-with-extra-quotes' calls
+ `TeX-active-master' with three arguments.
+ (TeX--master-or-region-file-with-extra-quotes): Adapt doc string.
+ * tex.el (TeX-expand-list-builtin): Adapt comment.
+ * tests/tex/command-expansion.el (TeX-command-expand-active-master):
+ New test.
+
+2018-07-07 Arash Esbati <address@hidden>
+
+ Add new style/marginnote.el
+
+ * Makefile.in (STYLESRC): Add new style.
+
+ * style/marginnote.el: New file.
+
+2018-07-05 Ikumi Keita <address@hidden>
+
+ Fix possible endless loop
+
+ * tex.el (TeX-expand-list-builtin): Use symbol `file' for the entry
+ "%T" so that special treatment for `file' about advancing matching
+ position in `TeX-command-expand' takes effect.
+ * tests/tex/command-expansion.el (TeX-command-expand-skip-file-name):
+ New test.
+
+2018-06-17 Ikumi Keita <address@hidden>
+
+ Adjust test for known emacs bug
+
+ * tests/latex/latex-test.el (LaTeX-includegraphics-extensions): Mark
+ emacs 26.1 as expected failure.
+
+2018-06-04 Ikumi Keita <address@hidden>
+
+ Make preamble caching robust to LuaLaTeX and (u)pLaTeX
+
+ * preview.el.in (preview-cache-preamble): Modify .ini code so that
+ LaTeX variants even without \pdfoutput can read unusual file names
+ (with space or non-ascii character, or both) when preamble cache is
+ enabled. The modified .ini code is kindly provided by jfbu
+ <address@hidden>.
+ (preview-dump-replacements, preview-undump-replacements): Add
+ -file-line-error option to the undump- variable so that AUCTeX can
+ analyse the output from lualatex even with file name with space.
+ It turned out that -kanji option is needed for platex even when
+ dumping format file if the preamble contains Japanese characters.
+ Thus modify the both variables so that -kanji option, if any, is
+ retained.
+ (TeX-inline-preview-internal): Revert the additional post process of
+ the command line string introduced last year by me because it is no
+ longer necessary by the above change on
+ `preview-undump-replacements'. Though this change disables -jobname
+ option again when lualatex is used with preamble cache, it would be
+ fine because that concerns only very old lualatex binaries and that
+ had always been the state before my commit just a year ago.
+ The above three modifications fix bug#31685 and bug#31686.
+ * tests/japanese/preview-latex.el
+ (japanese-preview-preserve-kanji-option2): Arrange with the above
+ change.
+ (japanese-preview-preserve-kanji-option3): New test.
+ (japanese-preview-error-quote-shift-jis): Remove spurious backslash.
+ * doc/preview-latex.texi (Key bindings and user-level lisp functions):
+ Add description about restriction of preamble cache on LaTeX variants.
+
+2018-06-09 Ikumi Keita <address@hidden>
+
+ Raise robustness of call of dvipng command
+
+ * preview.el.in (preview-dvipng-command): Remove spurious quotes which
+ cause error for file names with space. (bug#31684)
+ (preview-dvipng-color-string): Replace single quotes with double
+ quotes for w32 users.
+ * doc/preview-latex.texi: (The preview images): Add warning that
+ (u)pLaTeX is not compatible with dvipng.
+
+2018-05-31 Ikumi Keita <address@hidden>
+
+ Add note and test about the change involving non-ascii file name
+
+ * doc/changes.texi (News in 12.2): Add note that support for standard
+ LaTeX without e-TeX extension is now very limited.
+ * tests/tex/command-expansion.el (TeX-command-detokenize): New test to
+ check whether \input and \detokenize are supplied when necessary.
+
+2018-05-28 Ikumi Keita <address@hidden>
+
+ TL 2018 non-ascii file name fix for preview-latex
+
+ * preview.el.in (preview-LaTeX-command): Wrap file name after implicit
+ \input in \detokenize{}.
+ (preview-cache-preamble): Arrange the ini file code so that non-ascii
+ file name can be used with generated format file. Be careful not to
+ lose capability of handling file name with space.
+ (preview-undump-replacements): Use new TeX macro defined in the above
+ ini file code to accept even unusual file name with non-ascii
+ character or space.
+ Delegate quoting of format name to `TeX-inline-preview-internal' so
+ that non-ascii character will not be quoted twice.
+ (TeX-inline-preview-internal): Adjust to the above change.
+
+2018-05-28 Ikumi Keita <address@hidden>
+
+ Accept non-ascii file name in accord with change in TL 2018
+
+ * tex.el (TeX-expand-list-builtin): Add new entry %T. Same as %t,
+ except to enclose with \detokenize{} for non UTF-8 LaTeX when \input
+ is supplmented.
+ Adjust the entries %` and %' so that \input is supplemented only when
+ any TeX code is present between them and leave the bind to
+ `TeX-command-text' for later examination.
+ The bind to `TeX-command-pos' is no longer retained.
+ (TeX-command-list): Use %T for "LaTeX".
+ Adjust "TeX" and "AmSTeX" as the same with "LaTeX" in the aspect that
+ user can supply one's own TeX code, as well as any command line
+ options, through `TeX-command-extra-options'.
+ * tex-buf.el (TeX--master-or-region-file-with-extra-quotes): New
+ function to act as a wrapper of `TeX-master-file' and
+ `TeX-region-file' inside `TeX-command-expand'.
+ (TeX-command-expand): Use the above function as the value of `file'
+ and get rid of tricky temporal overriding of `file' with lambda form.
+ (TeX-region-create): Make the first line parsing of %&FORMAT
+ construct, if any, to be valid even for region compilation.
+ Discard text properties when constructing the content of _region_.tex.
+ Drop bind check for `buffer-file-coding-system'.
+ * tests/tex/command-expansion.el (TeX-command-expansion): Reflect the
+ change that \input is not necessarily supplemented now by %`-%' pair
+ in `TeX-command-expand'.
+
+2018-05-28 Ikumi Keita <address@hidden>
+
+ Fix region compilation with \usepackage[utf8]{inputenc}
+
+ * tex-buf.el (TeX-quote-filename): Wrap non-ascii characters in
+ \unexpanded{} for non UTF-8 LaTeX so that raw file name is recovered.
+
+2018-05-27 Arash Esbati <address@hidden>
+
+ Quote %b expansion string for Zathura
+
+ * tex.el (TeX-view-program-list-builtin): Guard %b expansion
+ string for Zathura with quotes for file names with spaces
+ (bug#31451).
+
+2018-05-14 Ikumi Keita <address@hidden>
+
+ Prepare for UTF-8 with BOM
+
+ * tex-buf.el (TeX-adjust-process-coding-system): Don't use
+ `utf-8-with-signature' to encode keyboard input for TeX process.
+ Drop mule feature check.
+
+2018-05-14 Ikumi Keita <address@hidden>
+
+ Drop compatibility code for older emacsen in preview-latex
+
+ We no longer need messy treatment with regard to coding system in
+ preview-latex since xemacs isn't supported anymore.
+
+ * preview.el.in (preview-coding-system): Remove.
+ (preview-error-quote): Simplify. Discard RUN-CODING-SYSTEM argument.
+ (preview--decode-^^ab): Drop mule feature check.
+ (preview--convert-^^ab): Drop compatibility code for older emacsen.
+ (preview-parse-messages): Remove `run-coding-system' argument from
+ calls to `preview-error-quote'.
+ (TeX-inline-preview-internal): Drop codes related to coding system.
+ * prv-emacs.el (preview-buffer-recode-system): Remove.
+ * tests/japanese/preview-latex.el
+ (japanese-preview-error-quote-shift-jis): Remove `shift_jis' argument
+ from call to `preview-error-quote'.
+ Remove unnecessary let bind on
`TeX-japanese-process-output-coding-system'.
+ (japanese-preview-process-coding-system): Remove.
+ (japanese-preview-shift-jis):
+ (japanese-preview-different-coding-system): Use `copy-sequence' on
+ `process-environment' in order to guard it from temporal `setenv'.
+
+2018-05-11 Ikumi Keita <address@hidden>
+
+ Support UTF-8 with BOM in Japanese TeX documents
+
+ * tex-jp.el (japanese-TeX-coding-ejsu): Consider the case the document
+ is encoded in UTF-8 with BOM, which begins to be supported in TeXLive
+ 2018.
+
+2018-05-10 Ikumi Keita <address@hidden>
+
+ Replace another cl function with cl-lib
+
+ * style/pstricks.el (eval-when-compile): Require cl-lib.
+ (LaTeX-pst-cleanup): Replace `caddr' with `cl-caddr'.
+
+2018-05-09 Ikumi Keita <address@hidden>
+
+ Update URLs further
+
+ * COPYING:
+ * Makefile.in:
+ * RELEASE:
+ * bib-cite.el:
+ * build-aux/gitlog-to-auctexlog:
+ * latex/README:
+ * latex/preview.dtx:
+ * preview.el.in:
+ * style/foils.el:
+ * style/hyperref.el:
+ * style/ifluatex.el:
+ * style/luatextra.el:
+ * style/mathtools.el:
+ * style/pstricks.el:
+ * tests/Makefile:
+ * tex-buf.el:
+ * tex.el: Update URLs. Use https: rather than http: or ftp: where
+ possible.
+ * build-aux/gitlog-to-changelog: Update URLs.
+ Use `before-save-hook' instead of obsolete `write-file-hooks' in
+ Local Variables section.
+
+2018-05-07 Ikumi Keita <address@hidden>
+
+ Update URLs
+
+ * tex-site.el.in:
+ * doc/auctex.texi:
+ * doc/fdl.texi:
+ * doc/install.texi:
+ * doc/intro.texi:
+ * doc/preview-readme.texi:
+ * doc/wininstall.texi: Update URLs. Use https: rather than http: or
+ ftp: where possible.
+ * auctex.spec: Update URLs. Use https: rather than http: or
+ ftp: where possible.
+ Remove xemacs support.
+ Update required emacs version.
+
+2018-05-06 Ikumi Keita <address@hidden>
+
+ Adjust coding system for Japanese pTeX engine on w32
+
+ Default coding system of Japanese pTeX engine in w32 TeXLive changed
+ from SHIFT JIS to UTF-8 in 2018. Make tex-jp.el to work with both
+ TeXLive 2017 and 2018 on w32 platform, with higher priority on newer
+ engine with regard to the behavior in non default case.
+
+ * tex-jp.el (japanese-TeX-use-kanji-opt-flag): Set default value to t
+ even on w32 platform.
+ (japanese-TeX-set-process-coding-system): Change coding system for non
+ default case from `shift_jis' to `utf-8' on w32 platform.
+ (TeX-expand-list-builtin): Remove mule feature check.
+
+2018-05-05 Ikumi Keita <address@hidden>
+
+ Remove obsolete option related to Japanese TeX
+
+ * tex-jp.el (japanese-TeX-command-list): Remove. Ataka-san and I
+ (Ikumi) discussed this topic and decided to delete this option.
+ * doc/auctex.texi (Japanese): Mention the above change.
+
+2018-05-04 Ikumi Keita <address@hidden>
+
+ Fix previous removal of xemacs compatibility code
+
+ * toolbar-x.el (toolbarx-default-toolbar-meaning-alist): Remove
+ spurious quote formerly inside "," construct.
+ Replace "`" with "'".
+
+2018-04-26 Ikumi Keita <address@hidden>
+
+ Prevent spurious newlines to be added
+
+ * tex-fold.el (TeX-fold-overfull-p): Restore mandatory `and'. The
+ removal of xemacs compatibility code previously done was a bit too
+ aggressive.
+
+2018-04-16 Arash Esbati <address@hidden>
+
+ Update key=val options to geometry package v5.8
+
+ * style/geometry.el (LaTeX-geometry-preamble-key-val-options): Add
+ new keys luatex, dvipdfmx and xdvipdfmx. Delete duplicate
+ entries.
+
+2018-04-12 Ikumi Keita <address@hidden>
+
+ Correct how `TeX-record-buffer' is used
+
+ * tex-buf.el (TeX-pop-to-buffer): Use `TeX-record-buffer' in accord with
+ the documents.
+ * doc/changes.texi: Mention the change and warn users who have
+ customized the option.
+
+2018-04-12 Ikumi Keita <address@hidden>
+
+ Correct record in changes.texi
+
+ * doc/changes.texi (): Make a new section for release 12.2 and move
+ mention about change made after release 12.1 there.
+
+2018-04-07 Arash Esbati <address@hidden>
+
+ Quote %b expansion string for SumatraPDF
+
+ * tex.el (TeX-view-program-list-builtin): Guard %b expansion
+ string for SumatraPDF with quotes for file names with spaces
+ (bug#30999).
+
+2018-04-01 Ikumi Keita <address@hidden>
+
+ Add support for dvipdfmx to \includegraphics
+
+ * style/graphicx.el (LaTeX-includegraphics-extensions-list): Add
+ support for dvipdfmx.
+ * tests/latex/latex-test.el (LaTeX-includegraphics-extensions): New
+ test to check whether correct extensions are generated.
+
+2018-04-01 Ikumi Keita <address@hidden>
+
+ Use `TeX-search-files-by-type' to assist input \includegraphics
+
+ * style/graphicx.el (LaTeX-includegraphics-extensions-list): New
+ function.
+ (LaTeX-includegraphics-extensions): Delegate most of its task to the
+ above new function and become its wrapper.
+ (LaTeX-includegraphics-global-files): New variable.
+ (LaTeX-includegraphics-read-file-TeX): Use `TeX-search-files-by-type'
+ rather than `TeX-search-files' and cache global value in the above
+ new variable.
+ Reflect the option `LaTeX-includegraphics-strip-extension-flag'.
+ * tex.el (TeX-search-files-type-alist): Remove `graphics' entry,
+ which is supplied in latex-mode by `LaTeX-search-files-type-alist'.
+ (TeX-normal-mode): Add `LaTeX-includegraphics-global-files' to list of
+ variables to be cleared.
+
+2018-04-01 Ikumi Keita <address@hidden>
+
+ Resolve conflict of argument spec between regexp and literal
+
+ * tex.el (TeX-search-files-kpathsea): Treat EXTENSIONS argument as a
+ list of regexps in accordance with other parts of AUCTeX.
+ (TeX-ispell-document): Treat `TeX-file-extensions' as a list of
+ regexps in accordance with other parts of AUCTeX.
+ (TeX-file-extensions, TeX-Biber-file-extensions):
+ (BibTeX-file-extensions, BibLaTeX-style-extensions):
+ (BibTeX-style-extensions): Change custom type to regexp from string.
+ (TeX-doc-extensions): Turn into list of regexps.
+ * latex.el (LaTeX-split-bibs): Treat `TeX-Biber-file-extensions' as a
+ list of regexps in accordance with other parts of AUCTeX.
+
+2018-03-29 Alex Branham <address@hidden>
+
+ Fix TeX-dwim-master
+
+ * tex.el (TeX-dwim-master): `cl-return' is much easier to work with if
+ we're alerady using cl- functions, so convert `dolist' to `cl-loop.'
+
+2018-03-29 Ikumi Keita <address@hidden>
+
+ Make `TeX-clean' to work in ams-tex-mode
+
+ * plain-tex.el (AmSTeX-clean-intermediate-suffixes,
+ AmSTeX-clean-output-suffixes): New customize options.
+ (AmS-TeX-mode-hook): Move from tex.el.
+ (AmSTeX-mode-command-menu, AmSTeX-mode-menu): Fix doc strings.
+ (): Update copyright year.
+ * tex.el (TeX-mode-prefix): Add an entry for AmS-TeX.
+ (AmS-TeX-mode-hook): Move to plain-tex.el.
+
+2018-03-29 Ikumi Keita <address@hidden>
+
+ Make compatible with emacs 24
+
+ * latex.el (TeX-read-label): Use `format' instead of `format-message'
+ if the latter is not available.
+
+2018-03-29 Jonathan Underwood <address@hidden>
+
+ Fix incorrect FSF address
+
+ * multi-prompt.el ():
+ * style/comment.el ():
+ * style/latexinfo.el (): Fix incorrect FSF address and whitespaces.
+
+2018-03-17 Ikumi Keita <address@hidden>
+
+ * style/amsmath.el ("amsmath"): Correct \cfrac spec.
+
+2018-03-16 Alex Branham <address@hidden>
+
+ * tex.el (TeX-dwim-master): Prefer `cl-return' over `return'.
+
+2018-03-12 Arash Esbati <address@hidden>
+
+ * font-latex.el (font-latex--get-script-props): Use `cl-case' instead
of `case'.
+
+2018-03-04 Arash Esbati <address@hidden>
+
+ Add new function `TeX-arg-verb-delim-or-brace'
+
+ * latex.el (TeX-arg-verb-delim-or-brace): New function for \verb
+ like macros which take their argument either in delimiters or in
+ braces.
+
+ * doc/auctex.texi (Adding Macros): Document
+ `TeX-arg-verb-delim-or-brace'.
+
+ * style/listings.el ("listings"): Use
+ `TeX-arg-verb-delim-or-brace' for \lstinline which also takes an
+ optional argument.
+
+ * style/minted.el (LaTeX-minted-auto-cleanup, "minted"): Use
+ `TeX-arg-verb-delim-or-brace' for \mintinline and new macros
+ defined with \newmintinline.
+
+ * style/url.el ("url"): Use `TeX-arg-verb-delim-or-brace' for \url
+ and \path.
+ Remove "{" from fontification or \url and \path.
+
+2018-03-01 Alex Branham <address@hidden>
+
+ Remove cl from AUCTeX
+
+ * tex.el: replace last 'cl with 'cl-lib
+ * latex.el: replace cl function with cl-lib function
+
+2018-03-01 Alex Branham <address@hidden>
+
+ Refine how we setup flymake backend function
+
+ * latex.el: Add LaTeX-flymake to TeX-latex-mode
+ * latex-flymake.el: Don't add to LaTeX-mode-hook
+
+2018-02-21 Alex Branham <address@hidden>
+
+ Improve flymake documentation
+
+ * doc/changes.texi:
+ * doc/auctex.texi (Checking): Add Flymake support to manual.
+
+ * latex-flymake.el: Add copyright notice and fix a quote.
+
+2018-02-20 Arash Esbati <address@hidden>
+
+ * Makefile.in (AUCSRC): Add new file latex-flymake.el.
+
+2018-02-18 Arash Esbati <address@hidden>
+
+ * style/babel.el (LaTeX-babel-active-languages): Use `cl-pushnew'.
+
+2018-02-17 Mosè Giordano <address@hidden>
+
+ Replace cl with cl-lib in other files
+
+ * latex.el (LaTeX-hanging-ampersand-position):
+ * tex-fold.el (require):
+ (TeX-fold-region-macro-or-env):
+ (TeX-fold-update-at-point):
+ * tex-info.el (require):
+ (Texinfo-make-node-list):
+ * toolbar-x.el (require):
+ (toolbarx-good-option-list-p): Replace cl with cl-lib and corresponding
macros.
+
+2018-02-17 Mosè Giordano <address@hidden>
+
+ Explicitly require Emacs 24
+
+ * tex.el: Error when Emacs < 24 is used.
+
+2018-02-17 Alex Branham <address@hidden>
+
+ Support flymake in Emacs 26+ using chktex
+
+ * latex-flymake.el: New file.
+ * latex.el (require): Require `latex-flymake' in Emacs >= 26.
+
+2018-02-17 Alex Branham <address@hidden>
+
+ Replace cl with cl-lib
+
+ * bib-cite.el (require):
+ (psg-list-env):
+ * font-latex.el (require):
+ * latex.el (require):
+ * style/babel.el (require):
+ * style/caption.el (require):
+ (LaTeX-caption-update-key-val-options):
+ * style/empheq.el (require):
+ (LaTeX-empheq-update-key-val-options):
+ * style/enumitem.el (require):
+ (LaTeX-enumitem-update-key-val-options):
+ ("enumitem"):
+ * style/floatrow.el (require):
+ (LaTeX-floatrow-update-key-val-options):
+ * style/fvextra.el (require):
+ (LaTeX-fvextra-update-key-val):
+ * style/listings.el (require):
+ (LaTeX-listings-update-style-key):
+ * style/mdframed.el (require):
+ (LaTeX-mdframed-update-style-key):
+ * style/tcolorbox.el (require):
+ (LaTeX-tcolorbox-update-style-key): Replace cl with cl-lib.
+
+2018-01-25 Alex Branham <address@hidden>
+
+ Remove some obsolete functions
+
+ * font-latex.el (font-latex-syntactic-face-function):
+ * preview.el.in (preview-gs-restart):
+ * tex-buf.el (TeX-run-background):
+ (TeX-run-silent):
+ * tex.el:
+ (TeX-source-correlate-handle-TeX-region):
+ (TeX-insert-macro):
+ (TeX-doc):
+ * texmathp.el (texmathp): Now that AuCTeX requires GNU Emacs 24.1 or
greater, we
+ can remove some functions that are obsolete in Emacs < 24.1
+
+2018-01-12 Mosè Giordano <address@hidden>
+
+ Do not actually write bug report instructions
+
+ * tex.el (TeX-submit-bug-report): Use `propertize' to show instructions
without
+ writing them in the message.
+
+2017-12-29 Ikumi Keita <address@hidden>
+
+ Make sure `process-environment' is recovered after temporal setenv
+
+ * preview.el.in (TeX-inline-preview-internal): Since `setenv' operates
+ destructively on `process-environment', use `copy-sequence' for
+ maximal safety in order to guard its list structure.
+
+2017-12-28 Arash Esbati <address@hidden>
+
+ Add fontification for some core macros
+
+ * font-latex.el (font-latex-built-in-keyword-classes): Add macros
+ \addvspace, \raggedright and \raggedleft to function class.
+
+2017-12-27 Arash Esbati <address@hidden>
+
+ * texmathp.el (texmathp-tex-commands-default): Add entries for
breqn.sty.
+
+2017-12-21 Mosè Giordano <address@hidden>
+
+ Restore some code erroneously removed from font-latex.el
+
+ * font-latex.el (font-latex-make-sectioning-faces):
+ (font-latex-user-keyword-classes):
+ (font-latex-slide-title-face): Restore code.
+
+2017-12-21 Mosè Giordano <address@hidden>
+
+ Restore loading of prv-emacs
+
+ * preview.el.in: Require prv-emacs.
+
+2017-12-20 Mosè Giordano <address@hidden>
+
+ Remove compatibility code for XEmacs in toolbar-x.el
+
+ * toolbar-x.el (toolbarx--if-when-compile): Remove macro no more needed.
+ (toolbarx-emacs-mount-popup-menu):
+ (toolbarx-mount-popup-menu):
+ (toolbarx-test-image-type):
+ (toolbarx-test-button-type):
+ (toolbarx-test-toolbar-type):
+ (toolbarx-find-image):
+ (toolbarx-emacs-add-button):
+ (toolbarx-refresh):
+ (toolbarx-install-toolbar):
+ (toolbarx-default-toolbar-meaning-alist): Remove code for compatibility
with
+ XEmacs.
+ (toolbarx-xemacs-mount-popup-menu):
+ (toolbarx-xemacs-image-properties):
+ (toolbarx-xemacs-button-properties):
+ (toolbarx-xemacs-refresh-process-button-or-insert-list):
+ (toolbarx-xemacs-refresh): Remove functions.
+
+2017-12-20 Mosè Giordano <address@hidden>
+
+ Remove compatibility code for XEmacs in font-latex.el
+
+ * font-latex.el (font-latex-sectioning-5-face):
+ (font-latex-update-sectioning-faces):
+ (font-latex-make-sectioning-faces):
+ (font-latex-user-keyword-classes):
+ (font-latex-fontify-script):
+ (font-latex-verbatim-face):
+ (font-latex-slide-title-face):
+ (font-latex-setup): Remove code for compatibility with XEmacs.
+
+2017-12-20 Mosè Giordano <address@hidden>
+
+ Remove compatibility code for XEmacs in tex-fold.el
+
+ * tex-fold.el (TeX-fold-overfull-p):
+ (TeX-fold-macro-nth-arg):
+ (TeX-fold-hide-item):
+ (TeX-fold-show-item):
+ (TeX-fold-post-command): Remove code for compatibility with XEmacs.
+
+2017-12-20 Mosè Giordano <address@hidden>
+
+ Remove code for compatibility with very old emacsens in bib-cite.el
+
+ * bib-cite.el (bib-cite-minor-mode):
+ (bib-cite-setup-highlight-mouse-keymap):
+ (bib-cite-fontify-help-as-bibtex):
+ (bib-cite-fontify-help-as-latex):
+ (bib-etags):
+ (bib-highlight-mouse):
+ (bib-toggle-highlight):
+ (bib-guess-or-prompt-for-label):
+ (bib-etags-find-noselect): Remove compatibility code.
+
+2017-12-20 Mosè Giordano <address@hidden>
+
+ Delte prv-xemacs.el
+
+ * prv-xemacs.el: Delete file.
+ * preview.el.in (preview): Remove code to load prv-xemacs.
+
+2017-12-20 Ikumi Keita <address@hidden>
+
+ Remove XEmacs compatibility code in tex-jp.el
+
+ * tex-jp.el (japanese-TeX-set-process-coding-system)
+ (japanese-TeX-coding-ejsu): Remove code for compatibility with
+ XEmacs.
+
+2017-12-20 Ikumi Keita <address@hidden>
+
+ Delete unused options
+
+ * tex-jp.el (japanese-TeX-command-default,
+ japanese-LaTeX-command-default): Remove them because they are no
+ longer used anywhere in the current code. Ataka-san and I (Ikumi)
+ discussed this matter and agreed to dismiss them.
+ * doc/auctex.texi: Reflect the above change.
+
+2017-12-19 Ikumi Keita <address@hidden>
+
+ Make sure `LaTeX-default-options' is honored
+
+ * latex.el (TeX-arg-document): Use `LaTeX-default-options' as default
+ of class options even when the respective `LaTeX-XXXX-class-options'
+ is not set.
+
+2017-12-17 Arash Esbati <address@hidden>
+
+ Update style/bidi.el to package version 31.7
+
+ * style/bidi.el (LaTeX-bidi-package-options): Add
+ "extrafootnotefeatures" option.
+ (LaTeX-env-bidi-bib): New function.
+ ("bidi"): Add missing macros and environments. Add fontification
+ support.
+
+2017-12-17 Arash Esbati <address@hidden>
+
+ Add fontification for some core macros
+
+ * font-latex.el (font-latex-built-in-keyword-classes): Fontify
+ core macros \marginpar (reference), \LaTeXe (function) and
+ \bibitem (textual).
+
+2017-12-17 Mosè Giordano <address@hidden>
+
+ Change encoding of Elisp source files to UTF-8
+
+ * style/alphanum.el:
+ * style/dk-bib.el:
+ * style/doc.el:
+ * style/inputenc.el:
+ * style/jura.el:
+ * style/ltx-base.el:
+ * style/ltxdoc.el:
+ * tex-font.el:
+ * tex.el: Change coding of files to UTF-8. Now that we require Emacs
>= 24 it
+ is always possible to use this encoding.
+
+2017-12-17 Mosè Giordano <address@hidden>
+
+ Remove code for compatibility with old Emacsens in tex.el
+
+ * tex.el: Always require `crm', which is available in all supported
version of
+ Emacs.
+ (TeX-completing-read-multiple): Remove function definition for XEmacs.
+ (TeX-view-predicate-list-builtin):
+ (TeX-source-correlate-sync-source):
+ (TeX-tree-expand):
+ (TeX-comment-forward): Remove code for compatibility with old Emacsens.
+
+2017-12-17 Mosè Giordano <address@hidden>
+
+ Remove TeX-line-number-at-pos
+
+ * tex.el (TeX-line-number-at-pos): Remove function and alias.
+ * style/pdfsync.el (LaTeX-pdfsync-output-page):
+ * tex-info.el (Texinfo-make-node-list): Replace
`TeX-line-number-at-pos' with
+ `line-number-at-pos'.
+
+2017-12-17 Mosè Giordano <address@hidden>
+
+ Remove XEmacs compatibility code in tex.el
+
+ * tex.el (TeX-source-correlate-gnuserv-p):
+ (TeX-source-correlate-map):
+ (VirTeX-common-initialization):
+ (TeX-mode-map):
+ (TeX-search-syntax-table): Remove code for compatibility with XEmacs.
+
+2017-12-17 Mosè Giordano <address@hidden>
+
+ Remove TeX-how-many function
+
+ * tex.el (TeX-how-many): Remove function.
+ * latex.el (LaTeX-hanging-ampersand-position): Replace `TeX-how-many'
with
+ `how-many'.
+
+2017-12-17 Mosè Giordano <address@hidden>
+
+ Remove TeX-assoc-string
+
+ * tex.el (TeX-assoc-string): Remove alias.
+ (TeX-add-style-hook):
+ (TeX-unload-style):
+ (TeX-run-style-hooks):
+ * tex-info.el (Texinfo-nodename-de-escape):
+ (Texinfo-nodename-escape): Replace `TeX-assoc-string' with
`assoc-string'.
+
+2017-12-17 Mosè Giordano <address@hidden>
+
+ Remove TeX-deactivate-mark
+
+ * tex.el (TeX-deactivate-mark): Remove function.
+ (TeX-argument-insert):
+ * latex.el (LaTeX-env-item):
+ * style/currvita.el (LaTeX-currvita-env-with-label):
+ * style/dinbrief.el (LaTeX-dinbrief-insert):
+ (LaTeX-dinbrief-env-recipient):
+ * style/enumitem.el (LaTeX-enumitem-env-with-opts):
+ * style/moodle.el (LaTeX-moodle-question-env-with-args):
+ * style/tcolorboxlib-raster.el (LaTeX-tcolorbox-lib-raster-env-item):
Replace
+ `TeX-deactivate-mark' with `deactivate-mark'.
+
+2017-12-17 Mosè Giordano <address@hidden>
+
+ Remove old compat functions for commenting and uncommenting
+
+ * tex.el (TeX-comment-regio):
+ (TeX-comment-or-uncomment-region):
+ (TeX-uncomment-region): Remove old compatibility functions.
+ * context.el (ConTeXt-mode-menu):
+ * latex.el (LaTeX-mode-menu):
+ * plain-tex.el (plain-TeX-menu-entries):
+ * tex-info.el (Texinfo-mode-menu):
+ * tex.el (TeX-mode-map):
+ (TeX-in-comment):
+ (TeX-in-commented-line): Replace compat functions with standard
functions.
+
+2017-12-16 Mosè Giordano <address@hidden>
+
+ Remove XEmacs compatibility code in latex.el
+
+ * latex.el (LaTeX-largest-level-set):
+ (LaTeX-after-insert-env-hook):
+ (LaTeX-indent-line):
+ (LaTeX-fill-region-as-paragraph):
+ (LaTeX-fill-newline):
+ (LaTeX-common-initialization): Remove code for compatibility with
XEmacs.
+ (LaTeX-fill-delete-newlines): Remove function, no more needed.
+ (LaTeX-fill-region-as-para-do): Replace `LaTeX-fill-delete-newlines'
with
+ `fill-delete-newlines'.
+
+2017-12-16 Mosè Giordano <address@hidden>
+
+ Remove XEmacs compatibility code in tex-buf.el
+
+ * tex-buf.el (TeX-record-buffer): Always define this option.
+ (TeX-recenter-output-buffer):
+ (TeX-previous-error):
+ (TeX-parse-TeX): Remove code for compatibility with XEmacs.
+ (TeX-parse-error): Fix a bug in the regexp.
+ (TeX-error-overview): Remove check for Emacs version. Now this works
in all
+ supported versions.
+
2017-12-10 Mosè Giordano <address@hidden>
* Version 12.1 released.
@@ -22482,7 +24411,7 @@
This file records repository revisions from
commit c865982cacab289f4480f9145b3438ec06824232 (exclusive) to
-commit d02d4f47af04d97a6f066b5cfdbf88954f64a38f (inclusive).
+commit 9a319640636d49ebe98b9f1ba2f176fa3c8b468d (inclusive).
;; Local Variables:
;; coding: utf-8
diff --git a/Makefile.in b/Makefile.in
index bee090e..95bc0eb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -170,7 +170,7 @@ STYLESRC = style/prosper.el \
style/ocg-p.el style/ocgx.el style/thm-restate.el \
style/pythontex.el style/dashundergaps.el style/beamerarticle.el \
style/changelog.el style/ltugboat.el style/beamerswitch.el \
- style/multitoc.el
+ style/multitoc.el style/xkcdcolors.el
STYLEELC = $(STYLESRC:.el=.elc)
diff --git a/RELEASE b/RELEASE
index 763957e..7ad98bf 100644
--- a/RELEASE
+++ b/RELEASE
@@ -1,4 +1,4 @@
-Release notes for AUCTeX 12.1 with preview-latex
+Release notes for AUCTeX 12.2 with preview-latex
================================================
AUCTeX provides by far the most wide-spread and sophisticated
@@ -24,12 +24,73 @@ sleuth work, testing.
New features and fixed bugs in this release
-------------------------------------------
-AUCTeX now requires GNU Emacs 24 or higher. Support for XEmacs has
-been dropped.
-
-Besides the change in the supported version of Emacs, there has
-been no functional change in this release, which is equivalent to
-version 11.92.
+AUCTeX reflects the changes in LaTeX2e 2019-10-01 release.
+'filecontents' environment now takes an optional argument and can
+be used anywhere in a document. The macros '\Ref' and
+'\labelformat' are moved from 'varioref.sty' to LaTeX kernel.
+amsmath has a new macro '\overunderset'.
+
+A new method is implemented in preview-latex to adjust the
+foreground colors of generated images to those of Emacs, when the
+LaTeX command produces PDF. The traditional method became invalid
+because of the change introduced in Ghostscript 9.27.
+Unfortunately, the new method doesn't work due to a bug in
+Ghostscript 9.27 and is valid only for Ghostscript > 9.27. There
+is also a fallback method for gs 9.27 users which displays plain
+"black on white" images. For successful function of preview-latex,
+the users are encouraged to set up the new user option
+'preview-pdf-color-adjust-method' to choose appropriate option
+among the three: new, traditional and fallback method.
+
+AUCTeX has support for the Flymake package in Emacs 26 or newer.
+To enable, call 'M-x flymake-mode RET' or add this to your '.emacs'
+file:
+ (add-hook 'LaTeX-mode-hook #'flymake-mode)
+
+The way the option '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.
+
+A former customize option '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.
+
+Support for standard LaTeX without e-TeX extension is now very
+limited. It doesn't work if raw TeX code is put on the command
+line to invoke 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.
+
+Key binds in Texinfo mode are improved. Typing '$', '^', '_' and
+'\' now just self-inserts without pointless side effects in Texinfo
+mode.
+
+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.
+
+Fontification support for 'biblatex' package is improved and
+updated to macros provided by package version 3.12. For qualified
+lists, at least 2 mandatory arguments are fontified.
+
+Support for column specifiers 'w' and 'W' provided by 'array'
+package is added to 'array.el'. The correct counting of columns
+only works when the 'align' parameter is enclosed in braces, e.g.,
+'w{l}{3cm}'. The short version 'wl{3cm}' is not supported.
+
+Entries for 'PDF Tools' are added in
+'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")))
+
+Several other bugs were fixed, many minor features were added.
Requirements
------------
@@ -79,19 +140,19 @@ bugs and suggesting improvements, but the most effective
way of
helping AUCTeX development remains volunteering for tasks.
The following people contributed to this release series (in
-alphabetical order): Ivan Andrus, Ralf Angeli, Masayuki Ataka, Fabrice
-Ben Hamouda, Thomas Baumann, Vincent Bela�che, Berend de Boer, Uwe
-Brauer, Ken Brown, Joshua Buhl, Patrice Dumas, Arash Esbati, Werner
-Fink, Miguel Frasson, Peter S. Galbraith, Mos� Giordano, Patrick
-Gundlach, Jobst Hoffmann, Tassilo Horn, Yvon Hevel, Orlando Iovino,
-Mads Jensen, Arne J�rgensen, David Kastrup, Ikumi Keita, Philip Kime,
-Oleh Krehel, Joost Kremers, Frank K�ster, Jan-�ke Larsson, Matthew
-Leach, Antoine Levitt, Leo Liu, Vladimir Lomov, Stefan Monnier, Dan
-Nicolaescu, Piet van Oostrum, Nicolas Richard, Augusto Ritter Stoffel,
-Florent Rougon, Santiago Saavedra, Davide G. M. Salvetti, R�diger
-Sonderfeld, Holger Sparr, Mike Sperber, Reiner Steib, Christian
-Schlauer, Shiro Takeda, Mark Trettin (Please accept our apologies if
-we forgot somebody.)
+alphabetical order): Ivan Andrus, Ralf Angeli, Masayuki Ataka,
+Mohammad Hossein Bateni, Fabrice Ben Hamouda, Thomas Baumann, Vincent
+Bela�che, Berend de Boer, Alex Branham, Uwe Brauer, Ken Brown, Joshua
+Buhl, Jean-Fran�ois Burnol, Patrice Dumas, Arash Esbati, Werner Fink,
+Miguel Frasson, Peter S. Galbraith, Mos� Giordano, Patrick Gundlach,
+Jobst Hoffmann, Tassilo Horn, Yvon Hevel, Orlando Iovino, Mads Jensen,
+Arne J�rgensen, David Kastrup, Ikumi Keita, Philip Kime, Oleh Krehel,
+Joost Kremers, Frank K�ster, Jan-�ke Larsson, Matthew Leach, Antoine
+Levitt, Leo Liu, Vladimir Lomov, Stefan Monnier, Dan Nicolaescu, Piet
+van Oostrum, Nicolas Richard, Augusto Ritter Stoffel, Florent Rougon,
+Santiago Saavedra, Davide G. M. Salvetti, R�diger Sonderfeld, Holger
+Sparr, Mike Sperber, Reiner Steib, Christian Schlauer, Shiro Takeda,
+Mark Trettin (Please accept our apologies if we forgot somebody.)
Footnotes:
diff --git a/configure.ac b/configure.ac
index 4ba8b57..566378d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ dnl along with AUCTeX; see the file COPYING. If not, write
to the Free
dnl Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
dnl MA 02110-1301, USA.
-AC_INIT(auctex,12.1,address@hidden)
+AC_INIT(auctex,12.2,address@hidden)
AC_CHECK_PROGS_REQUIRED(MAKECMD, make, [make not found, aborting!])
AC_PROG_MAKE_SET
diff --git a/doc/auctex.texi b/doc/auctex.texi
index cb25757..e8a99b4 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -12,7 +12,7 @@ This manual is for @AUCTeX{}
(version @value{VERSION} from @value{UPDATED}),
a sophisticated TeX environment for Emacs.
-Copyright @copyright{} 1992-1995, 2001, 2002, 2004-2018
+Copyright @copyright{} 1992-1995, 2001, 2002, 2004-2019
Free Software Foundation, Inc.
@quotation
diff --git a/doc/changes.texi b/doc/changes.texi
index 41e73da..47e1a06 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -12,6 +12,13 @@
@itemize @bullet
@item
+@AUCTeX{} reflects the changes in LaTeX2e 2019-10-01 release.
+@samp{filecontents} environment now takes an optional argument and can
+be used anywhere in a document. The macros @samp{\Ref} and
+@samp{\labelformat} are moved from @file{varioref.sty} to @LaTeX{}
+kernel. amsmath has a new macro @samp{\overunderset}.
+
+@item
A new method is implemented in @previewlatex{} to adjust the foreground
colors of generated images to those of Emacs, when the @LaTeX{} command
produces @acronym{PDF}. The traditional method became invalid because
@@ -83,6 +90,9 @@ in an init file:
@lisp
(setq TeX-view-program-selection '((output-pdf "PDF Tools")))
@end lisp
+
+@item
+Several other bugs were fixed, many minor features were added.
@end itemize
@heading News in 12.1
diff --git a/doc/tex-ref.tex b/doc/tex-ref.tex
index c34e38a..b022df9 100644
--- a/doc/tex-ref.tex
+++ b/doc/tex-ref.tex
@@ -42,9 +42,9 @@
% Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
% for creating the GNU Emacs Reference Card from which this was mutated
-\def\versionnumber{12.1}
-\def\year{2017}
-\def\version{December \year\ v\versionnumber}
+\def\versionnumber{12.2}
+\def\year{2019}
+\def\version{October \year\ v\versionnumber}
\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
\centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
@@ -53,7 +53,7 @@
\def\copyrightnotice{%
\vskip 1ex plus 2 fill\begingroup\small
\centerline{Copyright \copyright\ 1987, 1992-1994, 2004-2006, 2008, 2010,}
-\centerline{2012, 2014-2017 Free Software Foundation, Inc.}
+\centerline{2012, 2014-2017, 2019 Free Software Foundation, Inc.}
\centerline{for AUC\TeX\ version \versionnumber}
Permission is granted to make and distribute copies of
diff --git a/latex.el b/latex.el
index 514ffbb..aaa4a1f 100644
--- a/latex.el
+++ b/latex.el
@@ -1227,14 +1227,22 @@ Just like array and tabular."
(LaTeX-insert-item))
(defun LaTeX-env-contents (environment)
- "Insert ENVIRONMENT with filename for contents."
- (save-excursion
- (when (re-search-backward LaTeX-header-end nil t)
- (error "Put %s environment before \\begin{document}" environment)))
- (LaTeX-insert-environment environment
- (concat TeX-grop
- (TeX-read-string "File: ")
- TeX-grcl))
+ "Insert ENVIRONMENT with optional argument and filename for contents."
+ (let* ((opt '("overwrite" "force" "nosearch"))
+ (arg (mapconcat #'identity
+ (TeX-completing-read-multiple
+ (TeX-argument-prompt t nil "Options")
+ (if (string= environment "filecontents*")
+ opt
+ (cons "noheader" opt)))
+ ",")))
+ (LaTeX-insert-environment environment
+ (concat
+ (when (and arg (not (string= arg "")))
+ (concat LaTeX-optop arg LaTeX-optcl))
+ TeX-grop
+ (TeX-read-string "File: ")
+ TeX-grcl)))
(delete-horizontal-space))
(defun LaTeX-env-args (environment &rest args)
@@ -3023,7 +3031,7 @@ including values of the variable
#'TeX--list-of-string-p)
(defcustom LaTeX-verbatim-environments
- '("verbatim" "verbatim*")
+ '("verbatim" "verbatim*" "filecontents" "filecontents*")
"Verbatim environments.
Programs should not use this variable directly but the function
@@ -3196,6 +3204,8 @@ consideration just as is in the non-commented source
code."
(defcustom LaTeX-indent-environment-list
'(("verbatim" current-indentation)
("verbatim*" current-indentation)
+ ("filecontents" current-indentation)
+ ("filecontents*" current-indentation)
("tabular" LaTeX-indent-tabular)
("tabular*" LaTeX-indent-tabular)
("align" LaTeX-indent-tabular)
@@ -3210,15 +3220,15 @@ consideration just as is in the non-commented source
code."
("equation*")
("picture")
("tabbing"))
- "Alist of environments with special indentation.
+ "Alist of environments with special indentation.
The second element in each entry is the function to calculate the
indentation level in columns.
Environments present in this list are not filled by filling
functions, see `LaTeX-fill-region-as-paragraph'."
- :group 'LaTeX-indentation
- :type '(repeat (list (string :tag "Environment")
- (option function))))
+ :group 'LaTeX-indentation
+ :type '(repeat (list (string :tag "Environment")
+ (option function))))
(defcustom LaTeX-indent-environment-check t
"*If non-nil, check for any special environments."
diff --git a/latex/preview.dtx b/latex/preview.dtx
index b6f109f..a2f3db6 100644
--- a/latex/preview.dtx
+++ b/latex/preview.dtx
@@ -3,7 +3,7 @@
%% Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
%
% Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
-% 2010, 2017 Free Software Foundation
+% 2010, 2017-2019 Free Software Foundation
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
@@ -439,7 +439,7 @@
\NeedsTeXFormat{LaTeX2e} \def\reserved@a #1#2$#3:
#4${\xdef#1{\reserved@c #2#4 $}} \def\reserved@c #1 #2${#1}
\begingroup \catcode`\_=12
-\reserved@a\pr@version $Name: release_12_1 $ \ifx\pr@version\@empty
+\reserved@a\pr@version $Name: release_12_2 $ \ifx\pr@version\@empty
\reserved@a\pr@version CVS-$Revision: 1.126 $ \endgroup \else
\def\next release_{} \lccode`\_=`.
\edef\next{\lowercase{\endgroup
diff --git a/preview.el b/preview.el
index a507369..e9f7101 100644
--- a/preview.el
+++ b/preview.el
@@ -1262,7 +1262,7 @@ Try \\[ps-run-start] \\[ps-run-buffer] and \
(defun preview-gs-flag-error (ov err)
"Make an eps error flag in overlay OV for ERR string."
;; N.B. Although this code shows command line of gs invocation and
- ;; error together via mouse popup menu, they are not necessarilly
+ ;; error together via mouse popup menu, they are not necessarily
;; associated with each other. There is a case that the command
;; line is for "[...].prv/tmpXXXXXX/pr1-2.png" while the error is
;; raised for "[...].prv/tmpXXXXXX/pr1-1.png". (c.f. bug#37719)
diff --git a/style/amsmath.el b/style/amsmath.el
index 4a2a399..7114b51 100644
--- a/style/amsmath.el
+++ b/style/amsmath.el
@@ -1,6 +1,6 @@
;;; amsmath.el --- Style hook for the AMS-LaTeX amsmath package.
-;; Copyright (C) 2002, 2005-2007, 2012-2014, 2017-2018
+;; Copyright (C) 2002, 2005-2007, 2012-2014, 2017-2019
;; Free Software Foundation, Inc.
;; FIXME: What about the copyright for <= 2001?
@@ -30,150 +30,150 @@
;;; Code:
-(TeX-add-style-hook "amsmath"
- (function
- (lambda ()
-
- (LaTeX-add-environments
- '("align" LaTeX-env-label)
- '("gather" LaTeX-env-label)
- '("flalign" LaTeX-env-label)
- '("multline" LaTeX-env-label)
- '("alignat" LaTeX-amsmath-env-alignat)
- '("alignat*" LaTeX-amsmath-env-alignat)
- '("xalignat" LaTeX-amsmath-env-alignat)
- '("xalignat*" LaTeX-amsmath-env-alignat)
- '("xxalignat" LaTeX-amsmath-env-alignat)
- '("aligned" ["Vertical position (t or b)"])
- '("gathered" ["Vertical position (t or b)"])
- '("alignedat" LaTeX-amsmath-env-alignedat)
- "align*" "gather*" "flalign*" "multline*" "equation*"
- "split"
- "cases"
- "matrix" "smallmatrix" "pmatrix" "bmatrix" "Bmatrix" "vmatrix" "Vmatrix"
- "subequations"
- '("subarray" "Alignment"))
-
- (TeX-add-symbols
- '("eqref" TeX-arg-ref)
- '("numberwithin" TeX-arg-counter "Section level")
- '("raisetag" "Dimension")
- '("shoveright" t) '("shoveleft" t)
- '("intertext" t)
- '("hdotsfor" ["Stretch"] "Number of columns to cover")
- '("xleftarrow" ["Below"] "Above")
- '("xrightarrow" ["Below"] "Above")
- '("overset" "Accent symbol" "Symbol")
- '("underset" "Accent symbol" "Symbol")
- '("dfrac" 2)
- '("tfrac" 2)
- '("binom" 2)
- '("dbinom" 2)
- '("tbinom" 2)
- '("genfrac" "Left delimiter" "Right delimiter" "Thickness"
- "Mathstyle" 2)
- '("cfrac" ["position (l or r)"] 2)
- '("smash" ["where (t or b)"] t)
- '("sideset" "Left" "Right")
- '("tag" "(Tag)")
- '("tag*" "Tag")
- '("displaybreak" ["Weight (0..4)"])
- '("allowdisplaybreaks" ["Weight (1..4)"])
- '("substack" t)
- '("leftroot" "Push root index left by")
- '("uproot" "Push root index upward by")
- '("boxed" t)
- '("mspace" t)
- '("mod" t)
- '("pmod" t)
- '("pod" t)
- '("overleftrightarrow" t)
- '("underleftarrow" t)
- '("underrightarrow" t)
- '("underleftrightarrow" t)
- '("dddot" t)
- '("ddddot" t)
- "bmod" "notag"
- "dots" "dotsb" "dotsc" "dotsi" "dotsm" "dotso" "nobreakdash"
- '("lvert" TeX-arg-insert-right-brace-maybe)
- '("lVert" TeX-arg-insert-right-brace-maybe)
- "rvert" "rVert"
- "iint" "iiint" "iiiint" "idotsint")
-
- (setq LaTeX-item-list
- (append '(("split" . LaTeX-item-equation)
- ("multline" . LaTeX-item-equation)
- ("multline*" . LaTeX-item-equation)
- ("gather" . LaTeX-item-equation)
- ("gather*" . LaTeX-item-equation)
- ("gathered" . LaTeX-item-equation)
- ("align" . LaTeX-item-equation)
- ("align*" . LaTeX-item-equation)
- ("aligned" . LaTeX-item-equation)
- ("alignat" . LaTeX-item-equation-alignat)
- ("alignat*" . LaTeX-item-equation-alignat)
- ("xalignat" . LaTeX-item-equation-alignat)
- ("xalignat*" . LaTeX-item-equation-alignat)
- ("xxalignat" . LaTeX-item-equation-alignat)
- ("alignedat" . LaTeX-item-equation-alignat)
- ("flalign" . LaTeX-item-equation)
- ("flalign*" . LaTeX-item-equation)
- ("matrix" . LaTeX-item-equation)
- ("pmatrix" . LaTeX-item-equation)
- ("bmatrix" . LaTeX-item-equation)
- ("Bmatrix" . LaTeX-item-equation)
- ("vmatrix" . LaTeX-item-equation)
- ("Vmatrix" . LaTeX-item-equation)
- ("subarray" . LaTeX-item-equation)
- ("cases" . LaTeX-item-equation))
- LaTeX-item-list))
-
- ;; When `LaTeX-amsmath-label' is nil, use value of LaTeX-equation-label:
- (unless LaTeX-amsmath-label
- (setq LaTeX-amsmath-label LaTeX-equation-label))
-
- (setq LaTeX-label-alist
- ;; Append amsmath environments to `LaTeX-label-alist', in order not to
- ;; override possible custome values.
- (append LaTeX-label-alist
- '(("align" . LaTeX-amsmath-label)
- ("alignat" . LaTeX-amsmath-label)
- ("xalignat" . LaTeX-amsmath-label)
- ("multline" . LaTeX-amsmath-label)
- ("flalign" . LaTeX-amsmath-label)
- ("gather" . LaTeX-amsmath-label))))
-
- (set (make-local-variable 'TeX-braces-association)
- (append '(("\\lvert" . "\\rvert")
- ("\\lVert" . "\\rVert"))
- TeX-braces-association))
- (set (make-local-variable 'TeX-left-right-braces)
- (append '(("\\lvert") ("\\rvert") ("\\lVert") ("\\rVert"))
- TeX-left-right-braces))
-
- ;; amsmath includes amstext, amsbsy, & amsopn.
- ;; So we run their hooks, too.
- (TeX-run-style-hooks "amstext" "amsbsy" "amsopn")
-
- ;; RefTeX support: Tell RefTeX about amsmath environments.
- (when (fboundp 'reftex-add-to-label-alist)
- (reftex-add-to-label-alist '(AMSTeX)))
-
- ;; Add \eqref to `reftex-ref-style-alist' and associate it to `e'
- (when (and (boundp 'reftex-ref-style-alist)
- ;; check if Emacs is already equipped with this
- (not (assoc "AMSmath" reftex-ref-style-alist)))
- ;; Append it to a local version in order to avoid a clash with
- ;; user settings
- (add-to-list (make-local-variable 'reftex-ref-style-alist)
- '("AMSmath" "amsmath" (("\\eqref" ?e)))
- t))
-
- ;; Activate `AMSmath' when `LaTeX-reftex-ref-style-auto-activate'
- ;; is non-nil
- (and LaTeX-reftex-ref-style-auto-activate
- (fboundp 'reftex-ref-style-activate)
- (reftex-ref-style-activate "AMSmath"))))
+(TeX-add-style-hook
+ "amsmath"
+ (lambda ()
+ (LaTeX-add-environments
+ '("align" LaTeX-env-label)
+ '("gather" LaTeX-env-label)
+ '("flalign" LaTeX-env-label)
+ '("multline" LaTeX-env-label)
+ '("alignat" LaTeX-amsmath-env-alignat)
+ '("alignat*" LaTeX-amsmath-env-alignat)
+ '("xalignat" LaTeX-amsmath-env-alignat)
+ '("xalignat*" LaTeX-amsmath-env-alignat)
+ '("xxalignat" LaTeX-amsmath-env-alignat)
+ '("aligned" ["Vertical position (t or b)"])
+ '("gathered" ["Vertical position (t or b)"])
+ '("alignedat" LaTeX-amsmath-env-alignedat)
+ "align*" "gather*" "flalign*" "multline*" "equation*"
+ "split"
+ "cases"
+ "matrix" "smallmatrix" "pmatrix" "bmatrix" "Bmatrix" "vmatrix" "Vmatrix"
+ "subequations"
+ '("subarray" "Alignment"))
+
+ (TeX-add-symbols
+ '("eqref" TeX-arg-ref)
+ '("numberwithin" TeX-arg-counter "Section level")
+ '("raisetag" "Dimension")
+ '("shoveright" t) '("shoveleft" t)
+ '("intertext" t)
+ '("hdotsfor" ["Stretch"] "Number of columns to cover")
+ '("xleftarrow" ["Below"] "Above")
+ '("xrightarrow" ["Below"] "Above")
+ '("overset" "Above symbol" "Symbol")
+ '("underset" "Below symbol" "Symbol")
+ '("overunderset" "Above symbol" "Below symbol" "Symbol")
+ '("dfrac" 2)
+ '("tfrac" 2)
+ '("binom" 2)
+ '("dbinom" 2)
+ '("tbinom" 2)
+ '("genfrac" "Left delimiter" "Right delimiter" "Thickness"
+ "Mathstyle" 2)
+ '("cfrac" ["position (l or r)"] 2)
+ '("smash" ["where (t or b)"] t)
+ '("sideset" "Left" "Right")
+ '("tag" "(Tag)")
+ '("tag*" "Tag")
+ '("displaybreak" ["Weight (0..4)"])
+ '("allowdisplaybreaks" ["Weight (1..4)"])
+ '("substack" t)
+ '("leftroot" "Push root index left by")
+ '("uproot" "Push root index upward by")
+ '("boxed" t)
+ '("mspace" t)
+ '("mod" t)
+ '("pmod" t)
+ '("pod" t)
+ '("overleftrightarrow" t)
+ '("underleftarrow" t)
+ '("underrightarrow" t)
+ '("underleftrightarrow" t)
+ '("dddot" t)
+ '("ddddot" t)
+ "bmod" "notag"
+ "dots" "dotsb" "dotsc" "dotsi" "dotsm" "dotso" "nobreakdash"
+ '("lvert" TeX-arg-insert-right-brace-maybe)
+ '("lVert" TeX-arg-insert-right-brace-maybe)
+ "rvert" "rVert"
+ "iint" "iiint" "iiiint" "idotsint")
+
+ (setq LaTeX-item-list
+ (append '(("split" . LaTeX-item-equation)
+ ("multline" . LaTeX-item-equation)
+ ("multline*" . LaTeX-item-equation)
+ ("gather" . LaTeX-item-equation)
+ ("gather*" . LaTeX-item-equation)
+ ("gathered" . LaTeX-item-equation)
+ ("align" . LaTeX-item-equation)
+ ("align*" . LaTeX-item-equation)
+ ("aligned" . LaTeX-item-equation)
+ ("alignat" . LaTeX-item-equation-alignat)
+ ("alignat*" . LaTeX-item-equation-alignat)
+ ("xalignat" . LaTeX-item-equation-alignat)
+ ("xalignat*" . LaTeX-item-equation-alignat)
+ ("xxalignat" . LaTeX-item-equation-alignat)
+ ("alignedat" . LaTeX-item-equation-alignat)
+ ("flalign" . LaTeX-item-equation)
+ ("flalign*" . LaTeX-item-equation)
+ ("matrix" . LaTeX-item-equation)
+ ("pmatrix" . LaTeX-item-equation)
+ ("bmatrix" . LaTeX-item-equation)
+ ("Bmatrix" . LaTeX-item-equation)
+ ("vmatrix" . LaTeX-item-equation)
+ ("Vmatrix" . LaTeX-item-equation)
+ ("subarray" . LaTeX-item-equation)
+ ("cases" . LaTeX-item-equation))
+ LaTeX-item-list))
+
+ ;; When `LaTeX-amsmath-label' is nil, use value of LaTeX-equation-label:
+ (unless LaTeX-amsmath-label
+ (setq LaTeX-amsmath-label LaTeX-equation-label))
+
+ (setq LaTeX-label-alist
+ ;; Append amsmath environments to `LaTeX-label-alist', in order not to
+ ;; override possible custome values.
+ (append LaTeX-label-alist
+ '(("align" . LaTeX-amsmath-label)
+ ("alignat" . LaTeX-amsmath-label)
+ ("xalignat" . LaTeX-amsmath-label)
+ ("multline" . LaTeX-amsmath-label)
+ ("flalign" . LaTeX-amsmath-label)
+ ("gather" . LaTeX-amsmath-label))))
+
+ (set (make-local-variable 'TeX-braces-association)
+ (append '(("\\lvert" . "\\rvert")
+ ("\\lVert" . "\\rVert"))
+ TeX-braces-association))
+ (set (make-local-variable 'TeX-left-right-braces)
+ (append '(("\\lvert") ("\\rvert") ("\\lVert") ("\\rVert"))
+ TeX-left-right-braces))
+
+ ;; amsmath includes amstext, amsbsy, & amsopn.
+ ;; So we run their hooks, too.
+ (TeX-run-style-hooks "amstext" "amsbsy" "amsopn")
+
+ ;; RefTeX support: Tell RefTeX about amsmath environments.
+ (when (fboundp 'reftex-add-to-label-alist)
+ (reftex-add-to-label-alist '(AMSTeX)))
+
+ ;; Add \eqref to `reftex-ref-style-alist' and associate it to `e'
+ (when (and (boundp 'reftex-ref-style-alist)
+ ;; check if Emacs is already equipped with this
+ (not (assoc "AMSmath" reftex-ref-style-alist)))
+ ;; Append it to a local version in order to avoid a clash with
+ ;; user settings
+ (add-to-list (make-local-variable 'reftex-ref-style-alist)
+ '("AMSmath" "amsmath" (("\\eqref" ?e)))
+ t))
+
+ ;; Activate `AMSmath' when `LaTeX-reftex-ref-style-auto-activate'
+ ;; is non-nil
+ (and LaTeX-reftex-ref-style-auto-activate
+ (fboundp 'reftex-ref-style-activate)
+ (reftex-ref-style-activate "AMSmath")))
LaTeX-dialect)
(defun LaTeX-amsmath-env-alignat (env)
@@ -240,6 +240,6 @@ START and END."
"alignedleftspaceyes"
"alignedleftspaceno"
"alignedleftspaceyesifneg")
- "Package options for the amsmath package.")
+ "Package options for the amsmath package.")
;;; amsmath.el ends here.
diff --git a/style/ragged2e.el b/style/ragged2e.el
index fd6fd1b..3f8932b 100644
--- a/style/ragged2e.el
+++ b/style/ragged2e.el
@@ -29,6 +29,11 @@
;;; Code:
+;; Silence the compiler:
+(declare-function font-latex-add-keywords
+ "font-latex"
+ (keywords class))
+
(TeX-add-style-hook
"ragged2e"
(lambda ()
diff --git a/style/xkcdcolors.el b/style/xkcdcolors.el
new file mode 100644
index 0000000..acacfe2
--- /dev/null
+++ b/style/xkcdcolors.el
@@ -0,0 +1,1005 @@
+;;; xkcdcolors.el --- AUCTeX style for `xkcdcolors.sty' (v1.0.1)
+
+;; Copyright (C) 2019 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2019-10-26
+;; Keywords: tex
+
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with AUCTeX; see the file COPYING. If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Commentary:
+
+;; This file adds support for `xkcdcolors.sty' (v1.0.1) from
+;; 2019/10/21. `xkcdcolors.sty' is part of TeXLive.
+
+;;; Code:
+
+;; Silence the compiler:
+(declare-function LaTeX-add-xcolor-definecolors
+ "xcolor"
+ (&rest xcolor-definecolors))
+
+(defvar LaTeX-xkcdcolors-colornames
+ (eval-when-compile
+ (mapcar (lambda (x) (concat "xkcd" x))
+ '("CloudyBlue"
+ "DarkPastelGreen"
+ "Dust"
+ "ElectricLime"
+ "FreshGreen"
+ "LightEggplant"
+ "NastyGreen"
+ "ReallyLightBlue"
+ "Tea"
+ "WarmPurple"
+ "YellowishTan"
+ "Cement"
+ "DarkGrassGreen"
+ "DustyTeal"
+ "GreyTeal"
+ "MacaroniAndCheese"
+ "PinkishTan"
+ "Spruce"
+ "StrongBlue"
+ "ToxicGreen"
+ "WindowsBlue"
+ "BlueBlue"
+ "BlueWithAHintOfPurple"
+ "Booger"
+ "BrightSeaGreen"
+ "DarkGreenBlue"
+ "DeepTurquoise"
+ "GreenTeal"
+ "StrongPink"
+ "Bland"
+ "DeepAqua"
+ "LavenderPink"
+ "LightMossGreen"
+ "LightSeafoamGreen"
+ "OliveYellow"
+ "PigPink"
+ "DeepLilac"
+ "Desert"
+ "DustyLavender"
+ "PurpleyGrey"
+ "Purply"
+ "CandyPink"
+ "LightPastelGreen"
+ "BoringGreen"
+ "KiwiGreen"
+ "LightGreyGreen"
+ "OrangePink"
+ "TeaGreen"
+ "VeryLightBrown"
+ "EggShell"
+ "EggplantPurple"
+ "PowderPink"
+ "ReddishGrey"
+ "BabyShitBrown"
+ "Liliac"
+ "StormyBlue"
+ "UglyBrown"
+ "Custard"
+ "DarkishPink"
+ "DeepBrown"
+ "GreenishBeige"
+ "Manilla"
+ "OffBlue"
+ "BattleshipGrey"
+ "BrownyGreen"
+ "Bruise"
+ "KelleyGreen"
+ "SicklyYellow"
+ "SunnyYellow"
+ "Azul"
+ "Darkgreen"
+ "GreenYellow"
+ "Lichen"
+ "LightLightGreen"
+ "PaleGold"
+ "SunYellow"
+ "TanGreen"
+ "Burple"
+ "Butterscotch"
+ "Toupe"
+ "DarkCream"
+ "IndianRed"
+ "LightLavendar"
+ "PoisonGreen"
+ "BabyPukeGreen"
+ "BrightYellowGreen"
+ "CharcoalGrey"
+ "Squash"
+ "Cinnamon"
+ "LightPeaGreen"
+ "RadioactiveGreen"
+ "RawSienna"
+ "BabyPurple"
+ "Cocoa"
+ "LightRoyalBlue"
+ "Orangeish"
+ "RustBrown"
+ "SandBrown"
+ "Swamp"
+ "TealishGreen"
+ "BurntSiena"
+ "Camo"
+ "DuskBlue"
+ "Fern"
+ "OldRose"
+ "PaleLightGreen"
+ "PeachyPink"
+ "RosyPink"
+ "LightBluishGreen"
+ "LightBrightGreen"
+ "LightNeonGreen"
+ "LightSeafoam"
+ "TiffanyBlue"
+ "WashedOutGreen"
+ "BrownyOrange"
+ "NiceBlue"
+ "Sapphire"
+ "GreyishTeal"
+ "OrangeyYellow"
+ "Parchment"
+ "Straw"
+ "VeryDarkBrown"
+ "Terracota"
+ "UglyBlue"
+ "ClearBlue"
+ "Creme"
+ "FoamGreen"
+ "GreyGreen"
+ "LightGold"
+ "SeafoamBlue"
+ "Topaz"
+ "VioletPink"
+ "Wintergreen"
+ "YellowTan"
+ "DarkFuchsia"
+ "IndigoBlue"
+ "LightYellowishGreen"
+ "PaleMagenta"
+ "RichPurple"
+ "SunflowerYellow"
+ "GreenBlue"
+ "Leather"
+ "RacingGreen"
+ "VividPurple"
+ "DarkRoyalBlue"
+ "Hazel"
+ "MutedPink"
+ "BoogerGreen"
+ "Canary"
+ "CoolGrey"
+ "DarkTaupe"
+ "DarkishPurple"
+ "TrueGreen"
+ "CoralPink"
+ "DarkSage"
+ "DarkSlateBlue"
+ "FlatBlue"
+ "Mushroom"
+ "RichBlue"
+ "DirtyPurple"
+ "Greenblue"
+ "IckyGreen"
+ "LightKhaki"
+ "WarmBlue"
+ "DarkHotPink"
+ "DeepSeaBlue"
+ "Carmine"
+ "DarkYellowGreen"
+ "PalePeach"
+ "PlumPurple"
+ "GoldenRod"
+ "NeonRed"
+ "OldPink"
+ "VeryPaleBlue"
+ "BloodOrange"
+ "Grapefruit"
+ "SandYellow"
+ "ClayBrown"
+ "DarkBlueGrey"
+ "FlatGreen"
+ "LightGreenBlue"
+ "WarmPink"
+ "DodgerBlue"
+ "GrossGreen"
+ "Ice"
+ "MetallicBlue"
+ "PaleSalmon"
+ "SapGreen"
+ "Algae"
+ "BlueyGrey"
+ "GreenyGrey"
+ "HighlighterGreen"
+ "LightLightBlue"
+ "LightMint"
+ "RawUmber"
+ "VividBlue"
+ "DeepLavender"
+ "DullTeal"
+ "LightGreenishBlue"
+ "MudGreen"
+ "Pinky"
+ "RedWine"
+ "ShitGreen"
+ "TanBrown"
+ "Darkblue"
+ "Rosa"
+ "Lipstick"
+ "PaleMauve"
+ "Claret"
+ "Dandelion"
+ "Orangered"
+ "PoopGreen"
+ "Ruby"
+ "Dark"
+ "GreenishTurquoise"
+ "PastelRed"
+ "PissYellow"
+ "BrightCyan"
+ "DarkCoral"
+ "AlgaeGreen"
+ "DarkishRed"
+ "ReddyBrown"
+ "BlushPink"
+ "CamouflageGreen"
+ "LawnGreen"
+ "Putty"
+ "VibrantBlue"
+ "DarkSand"
+ "PurpleBlue"
+ "Saffron"
+ "Twilight"
+ "WarmBrown"
+ "Bluegrey"
+ "BubbleGumPink"
+ "DuckEggBlue"
+ "GreenishCyan"
+ "Petrol"
+ "Royal"
+ "Butter"
+ "DustyOrange"
+ "OffYellow"
+ "PaleOliveGreen"
+ "Orangish"
+ "Leaf"
+ "LightBlueGrey"
+ "DriedBlood"
+ "LightishPurple"
+ "RustyRed"
+ "LavenderBlue"
+ "LightGrassGreen"
+ "LightMintGreen"
+ "Sunflower"
+ "Velvet"
+ "BrickOrange"
+ "LightishRed"
+ "PureBlue"
+ "TwilightBlue"
+ "VioletRed"
+ "YellowyBrown"
+ "Carnation"
+ "MuddyYellow"
+ "DarkSeafoamGreen"
+ "DeepRose"
+ "DustyRed"
+ "GreyBlue"
+ "LemonLime"
+ "PurplePink"
+ "BrownYellow"
+ "PurpleBrown"
+ "Wisteria"
+ "BananaYellow"
+ "LipstickRed"
+ "WaterBlue"
+ "BrownGrey"
+ "VibrantPurple"
+ "BabyGreen"
+ "BarfGreen"
+ "EggshellBlue"
+ "SandyYellow"
+ "CoolGreen"
+ "Pale"
+ "BlueGrey"
+ "HotMagenta"
+ "Greyblue"
+ "Purpley"
+ "BabyShitGreen"
+ "BrownishPink"
+ "DarkAquamarine"
+ "Diarrhea"
+ "LightMustard"
+ "PaleSkyBlue"
+ "TurtleGreen"
+ "BrightOlive"
+ "DarkGreyBlue"
+ "GreenyBrown"
+ "LemonGreen"
+ "LightPeriwinkle"
+ "SeaweedGreen"
+ "SunshineYellow"
+ "UglyPurple"
+ "MediumPink"
+ "PukeBrown"
+ "VeryLightPink"
+ "Viridian"
+ "Bile"
+ "FadedYellow"
+ "VeryPaleGreen"
+ "VibrantGreen"
+ "BrightLime"
+ "Spearmint"
+ "LightAquamarine"
+ "LightSage"
+ "Yellowgreen"
+ "BabyPoo"
+ "DarkSeafoam"
+ "DeepTeal"
+ "Heather"
+ "RustOrange"
+ "DirtyBlue"
+ "FernGreen"
+ "BrightLilac"
+ "WeirdGreen"
+ "PeacockBlue"
+ "AvocadoGreen"
+ "FadedOrange"
+ "GrapePurple"
+ "HotGreen"
+ "LimeYellow"
+ "Mango"
+ "Shamrock"
+ "Bubblegum"
+ "PurplishBrown"
+ "VomitYellow"
+ "PaleCyan"
+ "KeyLime"
+ "TomatoRed"
+ "Lightgreen"
+ "Merlot"
+ "NightBlue"
+ "PurpleishPink"
+ "Apple"
+ "BabyPoopGreen"
+ "GreenApple"
+ "Heliotrope"
+ "YellowGreen"
+ "AlmostBlack"
+ "CoolBlue"
+ "LeafyGreen"
+ "MustardBrown"
+ "Dusk"
+ "DullBrown"
+ "FrogGreen"
+ "VividGreen"
+ "BrightLightGreen"
+ "FluroGreen"
+ "Kiwi"
+ "Seaweed"
+ "NavyGreen"
+ "UltramarineBlue"
+ "Iris"
+ "PastelOrange"
+ "YellowishOrange"
+ "Perrywinkle"
+ "Tealish"
+ "DarkPlum"
+ "Pear"
+ "PinkishOrange"
+ "MidnightPurple"
+ "LightPurple"
+ "DarkMint"
+ "GreenishTan"
+ "LightBurgundy"
+ "TurquoiseBlue"
+ "UglyPink"
+ "Sandy"
+ "ElectricPink"
+ "MutedPurple"
+ "MidGreen"
+ "Greyish"
+ "NeonYellow"
+ "Banana"
+ "CarnationPink"
+ "Tomato"
+ "Sea"
+ "MuddyBrown"
+ "TurquoiseGreen"
+ "Buff"
+ "Fawn"
+ "MutedBlue"
+ "PaleRose"
+ "DarkMintGreen"
+ "Amethyst"
+ "BlueGreen"
+ "Chestnut"
+ "SickGreen"
+ "Pea"
+ "RustyOrange"
+ "Stone"
+ "RoseRed"
+ "PaleAqua"
+ "DeepOrange"
+ "Earth"
+ "MossyGreen"
+ "GrassyGreen"
+ "PaleLimeGreen"
+ "LightGreyBlue"
+ "PaleGrey"
+ "Asparagus"
+ "Blueberry"
+ "PurpleRed"
+ "PaleLime"
+ "GreenishTeal"
+ "Caramel"
+ "DeepMagenta"
+ "LightPeach"
+ "MilkChocolate"
+ "Ocher"
+ "OffGreen"
+ "PurplyPink"
+ "Lightblue"
+ "DuskyBlue"
+ "Golden"
+ "LightBeige"
+ "ButterYellow"
+ "DuskyPurple"
+ "FrenchBlue"
+ "UglyYellow"
+ "GreenyYellow"
+ "OrangishRed"
+ "ShamrockGreen"
+ "OrangishBrown"
+ "TreeGreen"
+ "DeepViolet"
+ "Gunmetal"
+ "BluePurple"
+ "Cherry"
+ "SandyBrown"
+ "WarmGrey"
+ "DarkIndigo"
+ "Midnight"
+ "BlueyGreen"
+ "GreyPink"
+ "SoftPurple"
+ "Blood"
+ "BrownRed"
+ "MediumGrey"
+ "Berry"
+ "Poo"
+ "PurpleyPink"
+ "LightSalmon"
+ "Snot"
+ "EasterPurple"
+ "LightYellowGreen"
+ "DarkNavyBlue"
+ "Drab"
+ "LightRose"
+ "Rouge"
+ "PurplishRed"
+ "SlimeGreen"
+ "BabyPoop"
+ "IrishGreen"
+ "PinkPurple"
+ "DarkNavy"
+ "GreenyBlue"
+ "LightPlum"
+ "PinkishGrey"
+ "DirtyOrange"
+ "RustRed"
+ "PaleLilac"
+ "OrangeyRed"
+ "PrimaryBlue"
+ "KermitGreen"
+ "BrownishPurple"
+ "MurkyGreen"
+ "Wheat"
+ "VeryDarkPurple"
+ "BottleGreen"
+ "Watermelon"
+ "DeepSkyBlue"
+ "FireEngineRed"
+ "YellowOchre"
+ "PumpkinOrange"
+ "PaleOlive"
+ "LightLilac"
+ "LightishGreen"
+ "CarolinaBlue"
+ "Mulberry"
+ "ShockingPink"
+ "Auburn"
+ "BrightLimeGreen"
+ "Celadon"
+ "PinkishBrown"
+ "PooBrown"
+ "BrightSkyBlue"
+ "Celery"
+ "DirtBrown"
+ "Strawberry"
+ "DarkLime"
+ "Copper"
+ "MediumBrown"
+ "MutedGreen"
+ "Robin'sEgg"
+ "BrightAqua"
+ "BrightLavender"
+ "Ivory"
+ "VeryLightPurple"
+ "LightNavy"
+ "PinkRed"
+ "OliveBrown"
+ "PoopBrown"
+ "MustardGreen"
+ "OceanGreen"
+ "VeryDarkBlue"
+ "DustyGreen"
+ "LightNavyBlue"
+ "MintyGreen"
+ "Adobe"
+ "Barney"
+ "JadeGreen"
+ "BrightLightBlue"
+ "LightLime"
+ "DarkKhaki"
+ "OrangeYellow"
+ "Ocre"
+ "Maize"
+ "FadedPink"
+ "BritishRacingGreen"
+ "Sandstone"
+ "MudBrown"
+ "LightSeaGreen"
+ "RobinEggBlue"
+ "AquaMarine"
+ "DarkSeaGreen"
+ "SoftPink"
+ "OrangeyBrown"
+ "CherryRed"
+ "BurntYellow"
+ "BrownishGrey"
+ "Camel"
+ "PurplishGrey"
+ "Marine"
+ "GreyishPink"
+ "PaleTurquoise"
+ "PastelYellow"
+ "BlueyPurple"
+ "CanaryYellow"
+ "FadedRed"
+ "Sepia"
+ "Coffee"
+ "BrightMagenta"
+ "Mocha"
+ "Ecru"
+ "Purpleish"
+ "Cranberry"
+ "DarkishGreen"
+ "BrownOrange"
+ "DuskyRose"
+ "Melon"
+ "SicklyGreen"
+ "Silver"
+ "PurplyBlue"
+ "PurpleishBlue"
+ "HospitalGreen"
+ "ShitBrown"
+ "MidBlue"
+ "Amber"
+ "EasterGreen"
+ "SoftBlue"
+ "CeruleanBlue"
+ "GoldenBrown"
+ "BrightTurquoise"
+ "RedPink"
+ "RedPurple"
+ "GreyishBrown"
+ "Vermillion"
+ "Russet"
+ "SteelGrey"
+ "LighterPurple"
+ "BrightViolet"
+ "PrussianBlue"
+ "SlateGreen"
+ "DirtyPink"
+ "DarkBlueGreen"
+ "Pine"
+ "YellowyGreen"
+ "DarkGold"
+ "Bluish"
+ "DarkishBlue"
+ "DullRed"
+ "PinkyRed"
+ "Bronze"
+ "PaleTeal"
+ "MilitaryGreen"
+ "BarbiePink"
+ "BubblegumPink"
+ "PeaSoupGreen"
+ "DarkMustard"
+ "Shit"
+ "MediumPurple"
+ "VeryDarkGreen"
+ "Dirt"
+ "DuskyPink"
+ "RedViolet"
+ "LemonYellow"
+ "Pistachio"
+ "DullYellow"
+ "DarkLimeGreen"
+ "DenimBlue"
+ "TealBlue"
+ "LightishBlue"
+ "PurpleyBlue"
+ "LightIndigo"
+ "SwampGreen"
+ "BrownGreen"
+ "DarkMaroon"
+ "HotPurple"
+ "DarkForestGreen"
+ "FadedBlue"
+ "DrabGreen"
+ "LightLimeGreen"
+ "SnotGreen"
+ "Yellowish"
+ "LightBlueGreen"
+ "Bordeaux"
+ "LightMauve"
+ "Ocean"
+ "Marigold"
+ "MuddyGreen"
+ "DullOrange"
+ "Steel"
+ "ElectricPurple"
+ "FluorescentGreen"
+ "YellowishBrown"
+ "Blush"
+ "SoftGreen"
+ "BrightOrange"
+ "Lemon"
+ "PurpleGrey"
+ "AcidGreen"
+ "PaleLavender"
+ "VioletBlue"
+ "LightForestGreen"
+ "BurntRed"
+ "KhakiGreen"
+ "Cerise"
+ "FadedPurple"
+ "Apricot"
+ "DarkOliveGreen"
+ "GreyBrown"
+ "GreenGrey"
+ "TrueBlue"
+ "PaleViolet"
+ "PeriwinkleBlue"
+ "LightSkyBlue"
+ "Blurple"
+ "GreenBrown"
+ "Bluegreen"
+ "BrightTeal"
+ "BrownishYellow"
+ "PeaSoup"
+ "Forest"
+ "BarneyPurple"
+ "Ultramarine"
+ "Purplish"
+ "PukeYellow"
+ "BluishGrey"
+ "DarkPeriwinkle"
+ "DarkLilac"
+ "Reddish"
+ "LightMaroon"
+ "DustyPurple"
+ "TerraCotta"
+ "Avocado"
+ "MarineBlue"
+ "TealGreen"
+ "SlateGrey"
+ "LighterGreen"
+ "ElectricGreen"
+ "DustyBlue"
+ "GoldenYellow"
+ "BrightYellow"
+ "LightLavender"
+ "Umber"
+ "Poop"
+ "DarkPeach"
+ "JungleGreen"
+ "Eggshell"
+ "Denim"
+ "YellowBrown"
+ "DullPurple"
+ "ChocolateBrown"
+ "WineRed"
+ "NeonBlue"
+ "DirtyGreen"
+ "LightTan"
+ "IceBlue"
+ "CadetBlue"
+ "DarkMauve"
+ "VeryLightBlue"
+ "GreyPurple"
+ "PastelPink"
+ "VeryLightGreen"
+ "DarkSkyBlue"
+ "Evergreen"
+ "DullPink"
+ "Aubergine"
+ "Mahogany"
+ "ReddishOrange"
+ "DeepGreen"
+ "VomitGreen"
+ "PurplePink"
+ "DustyPink"
+ "FadedGreen"
+ "CamoGreen"
+ "PinkyPurple"
+ "PinkPurple"
+ "BrownishRed"
+ "DarkRose"
+ "Mud"
+ "Brownish"
+ "EmeraldGreen"
+ "PaleBrown"
+ "DullBlue"
+ "BurntUmber"
+ "MediumGreen"
+ "Clay"
+ "LightAqua"
+ "LightOliveGreen"
+ "BrownishOrange"
+ "DarkAqua"
+ "PurplishPink"
+ "DarkSalmon"
+ "GreenishGrey"
+ "Jade"
+ "UglyGreen"
+ "DarkBeige"
+ "Emerald"
+ "PaleRed"
+ "LightMagenta"
+ "Sky"
+ "LightCyan"
+ "YellowOrange"
+ "ReddishPurple"
+ "ReddishPink"
+ "Orchid"
+ "DirtyYellow"
+ "OrangeRed"
+ "DeepRed"
+ "OrangeBrown"
+ "CobaltBlue"
+ "NeonPink"
+ "RosePink"
+ "GreyishPurple"
+ "Raspberry"
+ "AquaGreen"
+ "SalmonPink"
+ "Tangerine"
+ "BrownishGreen"
+ "RedBrown"
+ "GreenishBrown"
+ "Pumpkin"
+ "PineGreen"
+ "Charcoal"
+ "BabyPink"
+ "Cornflower"
+ "BlueViolet"
+ "Chocolate"
+ "GreyishGreen"
+ "Scarlet"
+ "GreenYellow"
+ "DarkOlive"
+ "Sienna"
+ "PastelPurple"
+ "Terracotta"
+ "AquaBlue"
+ "SageGreen"
+ "BloodRed"
+ "DeepPink"
+ "Grass"
+ "Moss"
+ "PastelBlue"
+ "BluishGreen"
+ "GreenBlue"
+ "DarkTan"
+ "GreenishBlue"
+ "PaleOrange"
+ "Vomit"
+ "ForrestGreen"
+ "DarkLavender"
+ "DarkViolet"
+ "PurpleBlue"
+ "DarkCyan"
+ "OliveDrab"
+ "Pinkish"
+ "Cobalt"
+ "NeonPurple"
+ "LightTurquoise"
+ "AppleGreen"
+ "DullGreen"
+ "Wine"
+ "PowderBlue"
+ "OffWhite"
+ "ElectricBlue"
+ "DarkTurquoise"
+ "BluePurple"
+ "Azure"
+ "BrightRed"
+ "PinkishRed"
+ "CornflowerBlue"
+ "LightOlive"
+ "Grape"
+ "GreyishBlue"
+ "PurplishBlue"
+ "YellowishGreen"
+ "GreenishYellow"
+ "MediumBlue"
+ "DustyRose"
+ "LightViolet"
+ "MidnightBlue"
+ "BluishPurple"
+ "RedOrange"
+ "DarkMagenta"
+ "Greenish"
+ "OceanBlue"
+ "Coral"
+ "Cream"
+ "ReddishBrown"
+ "BurntSienna"
+ "Brick"
+ "Sage"
+ "GreyGreen"
+ "White"
+ "Robin'sEggBlue"
+ "MossGreen"
+ "SteelBlue"
+ "Eggplant"
+ "LightYellow"
+ "LeafGreen"
+ "LightGrey"
+ "Puke"
+ "PinkishPurple"
+ "SeaBlue"
+ "PalePurple"
+ "SlateBlue"
+ "BlueGrey"
+ "HunterGreen"
+ "Fuchsia"
+ "Crimson"
+ "PaleYellow"
+ "Ochre"
+ "MustardYellow"
+ "LightRed"
+ "Cerulean"
+ "PalePink"
+ "DeepBlue"
+ "Rust"
+ "LightTeal"
+ "Slate"
+ "Goldenrod"
+ "DarkYellow"
+ "DarkGrey"
+ "ArmyGreen"
+ "GreyBlue"
+ "Seafoam"
+ "Puce"
+ "SpringGreen"
+ "DarkOrange"
+ "Sand"
+ "PastelGreen"
+ "Mint"
+ "LightOrange"
+ "BrightPink"
+ "Chartreuse"
+ "DeepPurple"
+ "DarkBrown"
+ "Taupe"
+ "PeaGreen"
+ "PukeGreen"
+ "KellyGreen"
+ "SeafoamGreen"
+ "BlueGreen"
+ "Khaki"
+ "Burgundy"
+ "DarkTeal"
+ "BrickRed"
+ "RoyalPurple"
+ "Plum"
+ "MintGreen"
+ "Gold"
+ "BabyBlue"
+ "YellowGreen"
+ "BrightPurple"
+ "DarkRed"
+ "PaleBlue"
+ "GrassGreen"
+ "Navy"
+ "Aquamarine"
+ "BurntOrange"
+ "NeonGreen"
+ "BrightBlue"
+ "Rose"
+ "LightPink"
+ "Mustard"
+ "Indigo"
+ "Lime"
+ "SeaGreen"
+ "Periwinkle"
+ "DarkPink"
+ "OliveGreen"
+ "Peach"
+ "PaleGreen"
+ "LightBrown"
+ "HotPink"
+ "Black"
+ "Lilac"
+ "NavyBlue"
+ "RoyalBlue"
+ "Beige"
+ "Salmon"
+ "Olive"
+ "Maroon"
+ "BrightGreen"
+ "DarkPurple"
+ "Mauve"
+ "ForestGreen"
+ "Aqua"
+ "Cyan"
+ "Tan"
+ "DarkBlue"
+ "Lavender"
+ "Turquoise"
+ "DarkGreen"
+ "Violet"
+ "LightPurple"
+ "LimeGreen"
+ "Grey"
+ "SkyBlue"
+ "Yellow"
+ "Magenta"
+ "LightGreen"
+ "Orange"
+ "Teal"
+ "LightBlue"
+ "Red"
+ "Brown"
+ "Pink"
+ "Blue"
+ "Green"
+ "Purple")))
+ "List of colors provided by xkcdcolors package.")
+
+(TeX-add-style-hook
+ "xkcdcolors"
+ (lambda ()
+ ;; Run the style hook for xcolor.sty:
+ (TeX-run-style-hooks "xcolor")
+ ;; Make the colors defined in xkcdcolors.sty available:
+ (apply #'LaTeX-add-xcolor-definecolors LaTeX-xkcdcolors-colornames))
+ LaTeX-dialect)
+
+(defvar LaTeX-xkcdcolors-package-options nil
+ "Package options for the xkcdcolors package.")
+
+;;; xkcdcolors.el ends here
diff --git a/tex-fold.el b/tex-fold.el
index f66776d..b14ec73 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -797,7 +797,7 @@ That means, put respective properties onto overlay OV."
(TeX-fold-expand-spec spec ov-start ov-end))
((functionp spec)
(let (arg arg-list
- (n 1))
+ (n 1))
(while (setq arg (TeX-fold-macro-nth-arg
n ov-start ov-end))
(unless (member (car arg) arg-list)
@@ -811,23 +811,25 @@ That means, put respective properties onto overlay OV."
"[Error: No content found]"))))
(display-string (if (listp computed) (car computed) computed))
(face (when (listp computed) (cadr computed))))
- ;; Cater for zero-length display strings.
- (when (string= display-string "") (setq display-string TeX-fold-ellipsis))
- ;; Add a linebreak to the display string and adjust the overlay end
- ;; in case of an overfull line.
- (when (TeX-fold-overfull-p ov-start ov-end display-string)
- (setq display-string (concat display-string "\n"))
- (move-overlay ov ov-start (save-excursion
- (goto-char ov-end)
- (skip-chars-forward " \t")
- (point))))
- (overlay-put ov 'mouse-face 'highlight)
- (overlay-put ov 'display display-string)
- (when font-lock-mode
- (overlay-put ov 'face TeX-fold-folded-face))
- (unless (zerop TeX-fold-help-echo-max-length)
- (overlay-put ov 'help-echo (TeX-fold-make-help-echo
- (overlay-start ov) (overlay-end ov))))))
+ ;; Do nothing if the overlay is empty.
+ (when (and ov-start ov-end)
+ ;; Cater for zero-length display strings.
+ (when (string= display-string "") (setq display-string
TeX-fold-ellipsis))
+ ;; Add a linebreak to the display string and adjust the overlay end
+ ;; in case of an overfull line.
+ (when (TeX-fold-overfull-p ov-start ov-end display-string)
+ (setq display-string (concat display-string "\n"))
+ (move-overlay ov ov-start (save-excursion
+ (goto-char ov-end)
+ (skip-chars-forward " \t")
+ (point))))
+ (overlay-put ov 'mouse-face 'highlight)
+ (overlay-put ov 'display display-string)
+ (when font-lock-mode
+ (overlay-put ov 'face TeX-fold-folded-face))
+ (unless (zerop TeX-fold-help-echo-max-length)
+ (overlay-put ov 'help-echo (TeX-fold-make-help-echo
+ (overlay-start ov) (overlay-end ov)))))))
(defun TeX-fold-show-item (ov)
"Show a single LaTeX macro or environment.
diff --git a/tex-info.el b/tex-info.el
index 4f8165d..22e726e 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -1,7 +1,7 @@
;;; tex-info.el --- Support for editing Texinfo source.
;; Copyright (C) 1993, 1994, 1997, 2000, 2001, 2004, 2005, 2006,
-;; 2011-2015, 2017, 2018 Free Software Foundation, Inc.
+;; 2011-2015, 2017-2019 Free Software Foundation, Inc.
;; Maintainer: address@hidden
;; Keywords: tex
- [elpa] externals/auctex e111d19 01/14: Add final adjustments for LaTeX 2019-10-01, (continued)
- [elpa] externals/auctex e111d19 01/14: Add final adjustments for LaTeX 2019-10-01, Tassilo Horn, 2019/10/31
- [elpa] externals/auctex 39463a6 05/14: ; * preview.el.in (preview-gs-flag-error): Fix typo in comment., Tassilo Horn, 2019/10/31
- [elpa] externals/auctex 79074d6 06/14: ; Fix syntax error in amsmath.el, Tassilo Horn, 2019/10/31
- [elpa] externals/auctex 342fa71 08/14: Add check for empty overlay, Tassilo Horn, 2019/10/31
- [elpa] externals/auctex 7ce74a5 09/14: ; * style/ragged2e.el (font-latex-add-keywords): Silence the compiler., Tassilo Horn, 2019/10/31
- [elpa] externals/auctex f7972dd 07/14: * style/amsmath.el ("amsmath"): Improve query strings., Tassilo Horn, 2019/10/31
- [elpa] externals/auctex c8911b3 13/14: ; Release_12.2, Tassilo Horn, 2019/10/31
- [elpa] externals/auctex 9a31964 11/14: Prepare for upcoming release, Tassilo Horn, 2019/10/31
- [elpa] externals/auctex 097d04f 10/14: Add new style/xkcdcolors.el, Tassilo Horn, 2019/10/31
- [elpa] externals/auctex f06fcb0 12/14: ; make change-history-commit, Tassilo Horn, 2019/10/31
- [elpa] externals/auctex 5095f6f 14/14: Merge remote-tracking branch 'origin/master' into externals/auctex,
Tassilo Horn <=