Commit graph

192 commits

Author SHA1 Message Date
Stefan Monnier
0e1627a71c (tex-font-lock-unfontify-region): Take tex-font-script-display into account.
(tex-font-script-display, tex-font-lock-suscript): Change from a cons
cell to a list of 2 elements to simplify the unfontify code.
2007-08-10 04:16:21 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
5a9dffec38 Switch license to GPLv3 or later. 2007-07-25 04:24:43 +00:00
Stefan Monnier
0f4827ee1d (tex-font-script-display): Change default to 0.2. 2007-07-22 19:20:33 +00:00
Stefan Monnier
c25d0edb6e (tex-verbatim-environments): Add safe-local-variable property.
(tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
when starting font-lock rather than when loading tex-mode.el.
2007-07-16 18:38:05 +00:00
Reiner Steib
2b1567a532 (tex-fontify-script)
(tex-font-script-display): New variables to make display of
superscripts and subscripts customizable.
(tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
2007-07-09 19:14:48 +00:00
Stefan Monnier
1d16f33c78 (tex-font-lock-keywords-2): Add citet and citep
to the list of citation commands.
2007-05-10 06:00:48 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
f2e3589a33 Update copyright years. 2006-12-09 04:06:06 +00:00
Romain Francoise
e924d02104 2006-06-18 Ralf Angeli <angeli@caeruleus.net>
* textmodes/tex-mode.el (tex-font-lock-match-suscript): Remove
	superfluous part of regexp for brace matching which is handled by
	`scan-lists' call.
2006-06-18 08:17:56 +00:00
Stefan Monnier
43c50d22bc (tex-font-lock-match-suscript): Paren typo. 2006-04-17 13:44:56 +00:00
Stefan Monnier
587043f8b7 (tex-font-lock-match-suscript): New function.
(tex-font-lock-keywords-3): Use it.
2006-04-17 12:05:40 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Richard M. Stallman
7c3578942f (tex-font-lock-keywords-2): Undo prev change. 2005-10-17 16:23:28 +00:00
Richard M. Stallman
21ea364992 (tex-font-lock-keywords-2): Fix bug in \bf fontification. 2005-10-15 13:38:59 +00:00
Andreas Schwab
9bf211adf2 (tex-font-lock-keywords-2): Adjust match number. 2005-10-10 09:47:24 +00:00
Stefan Monnier
3307a4fa17 (tex-font-lock-syntactic-face-function):
Don't set any syntax-table property here.
(tex-font-lock-verb): New function.  Do it here.
(tex-font-lock-syntactic-keywords): Use it.
2005-10-04 20:45:58 +00:00
Juanma Barranquero
014e29b972 (tex-insert-quote, latex-indent): Quote face names. 2005-09-26 09:47:11 +00:00
Stefan Monnier
621f893a9d (tex-font-lock-append-prop, tex-font-lock-suscript, tex-insert-quote)
(latex-indent): Adjust to the new symbol used for the tex-verbatim face.
2005-09-24 17:44:30 +00:00
Stefan Monnier
8ca6634880 (tex-send-tex-command, tex-bibtex-file): Undo last change.
Enclosing the result in quotes broke things on Unix since tex-send-command
passes it through shell-quote-argument.
(tex-send-command): Pass `file' through convert-standard-filename if possible.
(tex-uptodate-p): Handle the case where TeX hasn't put additional
info in a transcript.
2005-09-02 18:24:29 +00:00
Juanma Barranquero
2e261f7625 (font-lock-comment-face, font-lock-doc-face): Add defvars. 2005-08-31 10:32:22 +00:00
Eli Zaretskii
966e49906b (tex-bibtex-file, tex-send-tex-command):
Run the argument of tex-shell-cd-command through
convert-standard-filename, to get the correct style of slashes on
Windows, and enclose the result in quotes, in case the file name
includes whitespace or other special characters.
2005-08-20 11:41:23 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Juanma Barranquero
d1218e3e1f (tex-file, tex-run, tex-view): Finish `defgroup' description with period.
(tex-insert-quote, latex-find-indent): "?\ " -> "?\s".
2005-07-04 03:44:33 +00:00
Miles Bader
ad49d9d6ec Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-392
Remove "-face" suffix from tex-mode faces

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/textmodes/tex-mode.el (tex-math, tex-verbatim): Remove "-face"
   suffix from face names.
   (tex-math-face, tex-verbatim-face):
   New backward-compatibility aliases for renamed faces.
   (tex-math-face, tex-verbatim-face): Use renamed tex-mode faces.
   (tex-insert-quote): Use `tex-verbatim-face' variable instead of
   literal face name.
2005-06-10 10:45:56 +00:00
Stefan Monnier
29a47b89ac (tex-guess-mode): Add RequirePackage.
(tex-compile-default): In the absence of any history, use the order in
tex-compile-alist to choose the preferred command.
(tex-compile-commands): Reorder a bit.
2005-06-06 21:15:03 +00:00
Stefan Monnier
d18fc93000 (tex-compile-commands, tex-compile, tex-start-tex): Undo all but the last
part of the 2005-05-28 change.
2005-05-30 20:37:31 +00:00
Karl Berry
b5352ff5ec remove extraneous calls to shell-quote-argument 2005-05-28 16:57:21 +00:00
Lute Kamstra
18a8c7738b (superscript, subscript, tex-math-face)
(tex-verbatim-face, tex-use-reftex): Specify customization group.
2005-05-27 13:00:57 +00:00
David Kastrup
1639cc2e92 (TeX-mode, plain-TeX-mode, LaTeX-mode):
Mention that the autoloaded aliases should be kept for AUCTeX.
2005-04-23 16:45:07 +00:00
Stefan Monnier
797bf075e1 (tex-font-lock-keywords-2): Add \bfseries. 2005-04-06 15:45:00 +00:00
Karl Berry
ace4dad6d2 shell-quote-argument, not comint-quote-filename 2005-03-31 00:24:57 +00:00
Karl Berry
6380e5a709 quote file name arg passed shell (from olive lin) 2005-03-29 14:56:14 +00:00
Eli Zaretskii
3356ce3b56 (tex-view): If tex-shell process is not running, restart it. 2005-03-19 14:45:20 +00:00
Stefan Monnier
6ecedb401f (tex-font-lock-keywords-3): #n is atomic. 2005-02-24 15:34:34 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
053be11a88 Comment change. 2005-01-17 23:49:20 +00:00
Steven Tamm
4042dc2593 * textmodes/tex-mode.el (tex-start-shell): Adding -i to the
tex-shell cause to force interactivity when using pipes.
2005-01-17 17:32:30 +00:00
Stefan Monnier
e67064e2c6 (latex-backward-sexp-1): Handle the special case of \end{verbatim}. 2004-12-11 22:00:38 +00:00
Stefan Monnier
35dccc6287 (tex-validate-region): Obey syntax-table text properties. 2004-12-03 22:22:24 +00:00
Markus Rost
034a48f4d3 (tex-main-file): Add a compatibility with AUCTeX. 2004-12-01 04:08:34 +00:00
Stefan Monnier
b119fdd59d (tex-font-lock-keywords-1): Fix up the spurious
verbatim face on the \ of \end{verbatim}.
2004-10-25 20:35:24 +00:00
Stefan Monnier
13376c7830 (tex-compilation-parse-errors): Don't output messages. 2004-10-21 22:26:06 +00:00
Stefan Monnier
1f4cc03432 (tex-font-lock-append-prop): New fun.
(tex-font-lock-keywords-2): Use it.
(tex-font-lock-syntactic-keywords): Fix the `verbatim' treatment.
2004-10-10 01:51:34 +00:00
Stefan Monnier
dd166d5fa1 (tex-dvi-view-command): Use `yap' on w32.
(tex-font-lock-keywords-1): Add url and nolinkurl for args with `_'.
(latex-block-args-alist): Add minipage and picture.
(latex-block-body-alist): Use reftex-label if enabled.
(latex-insert-block): Don't insert a \n if not necessary.
(tex-compile-commands): Make sure dvips doesn't send to printer.
(tex-compile-default): Handle the case where no executable is found.
(latex-noindent-environments): New var.
(latex-find-indent): Use it.  Take an empty line as an arg-breaker.
If tex-indent-allhanging is non-nil, make sure we only align for macros
at beginning of line.
2004-10-03 19:53:23 +00:00
John Paul Wallington
f04232c3c2 (tex-validate-buffer): Use distinct strings rather than
programatically constructing message.
2004-08-30 19:05:10 +00:00
John Paul Wallington
003274a057 (tex-validate-buffer): Distinguish between 0, 1, and many mismatches.
(tex-start-shell): Use `set-process-query-on-exit-flag'.
2004-08-25 19:05:24 +00:00
Stefan Monnier
cc9f53769f (tex-compilation-parse-errors): Save excursion in source buffer. 2004-05-19 00:24:15 +00:00
Stefan Monnier
3f2c97ea21 (tex-shell): Set error parsing function here.
(tex-send-tex-command): Rather than here.
(tex-compilation-parse-errors): Simplify.
2004-03-18 20:26:01 +00:00