[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex dd9adef 21/78: Case-sensitive mode detection + A
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex dd9adef 21/78: Case-sensitive mode detection + AMS-TeX fixes |
Date: |
Mon, 19 Oct 2015 09:10:46 +0000 |
branch: externals/auctex
commit dd9adef7b2fee77fa2da0be5f6891e2d2649a46e
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
Case-sensitive mode detection + AMS-TeX fixes
* tex.el (TeX-tex-mode): Don't ignore case when matching the
TeX-format-list regexes.
(TeX-expand-list): Add expansion of %(PDFout) to -output-format
option for AmS-TeX.
(TeX-command-list): Use it instead of calling the non-existing
pdfamstex command.
---
ChangeLog | 9 +++++++++
tex.el | 10 +++++++---
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e679b54..d57cf18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2015-09-03 Tassilo Horn <address@hidden>
+
+ * tex.el (TeX-tex-mode): Don't ignore case when matching the
+ TeX-format-list regexes.
+ (TeX-expand-list): Add expansion of %(PDFout) to -output-format
+ option for AmS-TeX.
+ (TeX-command-list): Use it instead of calling the non-existing
+ pdfamstex command.
+
2015-09-02 Tassilo Horn <address@hidden>
* font-latex.el: Remove code which set up font-latex for use with
diff --git a/tex.el b/tex.el
index 3e43bb4..7513734 100644
--- a/tex.el
+++ b/tex.el
@@ -132,7 +132,7 @@ If nil, none is specified."
(texinfo-mode) :help "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with HTML output")
- ("AmSTeX" "%(PDF)amstex %(extraopts) %`%S%(PDFout)%(mode)%' %t"
+ ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t"
TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
;; support for ConTeXt --pg
;; first version of ConTeXt to support nonstopmode: 2003.2.10
@@ -455,7 +455,11 @@ string."
"pdf"
"")))
("%(PDFout)" (lambda ()
- (cond ((and (eq TeX-engine 'xetex)
+ (cond ((eq major-mode 'ams-tex-mode)
+ (if TeX-PDF-mode
+ " -output-format=pdf"
+ " -output-format=dvi"))
+ ((and (eq TeX-engine 'xetex)
(not TeX-PDF-mode))
" -no-pdf")
((and (eq TeX-engine 'luatex)
@@ -3398,7 +3402,7 @@ The algorithm is as follows:
(regexp-quote TeX-esc)
"\\)*\\)\\(%+ *\\)"))
(entry TeX-format-list)
- answer)
+ answer case-fold-search)
(while (and entry (not answer))
(if (re-search-forward (nth 2 (car entry))
10000 t)
- [elpa] externals/auctex 57338ec 24/78: Improve my last commit, (continued)
- [elpa] externals/auctex 57338ec 24/78: Improve my last commit, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 400609e 18/78: New TeX--if-macro-fboundp compatibility macro, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 08ab3c1 23/78: Allow hiding ^ and _ script signs, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 0b3a6e8 12/78: Do not indent the content of `Form' environment., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 40963e5 08/78: Check engine before running LaTeX command., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 33cee84 19/78: Allow TeX-command-sequence to process the region, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 513490f 22/78: Implement multi-level script fontification, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 76eb240 25/78: Docfix, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex a07f436 16/78: Implement TeX-update., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex dbc87df 17/78: Generate PDF via dvips+ps2pdf., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex dd9adef 21/78: Case-sensitive mode detection + AMS-TeX fixes,
Tassilo Horn <=
- [elpa] externals/auctex da7419f 42/78: Add new style AlegreyaSans.el., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 9cfd5d8 47/78: Improve LaTeX-find-matching-end, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 647a8fc 29/78: Fixes for "run-all" on current section, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 5ed22c0 45/78: FiX TeX error parsing., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 66b97ff 20/78: Don't add font-latex-setup to latex-mode-hook, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex c3cb0ff 26/78: Rename TeX-update to TeX-command-run-all., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex e2b2413 28/78: Reference TeX-command-run-all in documentation., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 69004bc 33/78: Fix wrong TeX-command-default guess for region files, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 29261e3 34/78: Minor improvements to hyperref.el., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 066cf5a 36/78: Create Italian style file for polyglossia., Tassilo Horn, 2015/10/19