Commit graph

179 commits

Author SHA1 Message Date
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
Richard M. Stallman
21749f14c7 (latex-find-indent): Avoid error at end of buf. 2004-01-03 21:15:28 +00:00
Stefan Monnier
d9cbee570f (latex-mode): `tex-trailer' is not a regexp. 2003-11-27 23:05:42 +00:00
Stefan Monnier
e70ff1af70 (tex-compile-commands): Add yap' and ps2pdf'.
(tex-main-file): Don't add .tex if the extension is already present.
(tex-uptodate-p): Don't recurse indefinitely in the presence of symlinks.
2003-10-30 22:29:47 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
4372483c63 (tex-dvi-view-command): Fix quoted quotes. 2003-08-05 15:07:38 +00:00
Richard M. Stallman
96c0d9e953 (tex-main-file): Use with-no-warnings. 2003-07-07 20:52:27 +00:00
Stefan Monnier
bf4ec22239 (tex-compile-commands): Handle tex-start-commands like tex-start-tex does. 2003-06-14 19:56:50 +00:00
Stefan Monnier
5e56fb5380 (tex-search-noncomment): New macro.
(tex-last-unended-begin, tex-next-unmatched-end): Use it
so we don't get confused by \begin and \end in comments.
(tex-compile): Change dir before calling tex-compile-default.
2003-06-09 17:42:22 +00:00
Stefan Monnier
8a591d5242 (tex-mode-syntax-table, tex-latex-indent-syntax-table):
Don't use easy-mmode-defsyntax.
2003-06-08 00:49:38 +00:00
Stefan Monnier
8084f5d87c (latex-block-args-alist, latex-block-body-alist): New vars.
(latex-insert-block): Use them.
(tex-string-prefix-p): New fun.
(tex-guess-main-file): Use it to detect when the main file
is in a parent directory.
(tex-main-file): Try to find a main-file in parent directories.
(tex-compile-default): Don't use `gv' on pdf files just because
`gv' was used recently on a ps file.  Remove unused arg `dir'.
Reuse a previous command as-is if it applied to the same file.
(tex-compile): Use the right file name when file is not in dir.
2003-05-30 18:52:46 +00:00
Stefan Monnier
75035a8056 (tex-compile-history, tex-input-files-re)
(tex-use-reftex, tex-compile-commands): New vars.
(tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
(tex-command-executable, tex-command-active-p, tex-compile-default)
New functions.
(tex-compile): New command.
(tex-mode-map): Bind it to C-c C-c.
2003-05-15 01:29:53 +00:00
Stefan Monnier
bca7a08bf6 (tex-mode-syntax-table): ~ is not whitespace.
(tex-guess-mode): Add `renewcommand'.
(tex-mode): Move the autoload so we get the correct docstring and usage.
2003-05-10 18:54:13 +00:00
Stefan Monnier
a3d80d4a08 (latex-mode-map): Bind latex-split-block to C-c C-s.
(tex-font-lock-keywords-2): Comment out unused var `type'.
(tex-guess-mode): New name for old `tex-mode'.
(tex-mode): Make it a derived mode of text-mode.
(plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode.
(tex-common-initialization): Don't setup syntax-table any more.
(tex-validate-buffer): Remove unused var `oend'.
Use with-current-buffer and line-beginning-position.
(tex-recenter-output-buffer): Remove unused var `old-buffer'.
(latex-indent): Return `noindent' if no indentation can happen.
(doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function)
(doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords)
(doctex-mode): New funs for DocTeX mode, derived from LaTeX mode.
2003-04-14 19:58:05 +00:00