Commit graph

129 commits

Author SHA1 Message Date
Richard M. Stallman
9bd4f69c5d (latex-mode): Set fill-nobreak-predicate.
(slitex-mode): Set fill-nobreak-predicate, tex-face-alist,
and imenu-create-index-function.
(latex-fill-nobreak-predicate): New function.
1998-03-09 06:36:25 +00:00
Karl Heuer
2ed2806cd9 (tex-validate-region): Really check
for mismatched parens.
1997-10-31 23:03:30 +00:00
Richard M. Stallman
2be5fefb86 (tex-categorize-whitespace): Use eq, not eql. 1997-07-24 04:21:34 +00:00
Richard M. Stallman
822eddf41c (tex-common-initialization):
Set search-whitespace-regexp locally.
1997-07-04 04:41:46 +00:00
Richard M. Stallman
a53c647b51 (latex-imenu-create-index): Make it much smarter.
(latex-imenu-indent-string): New variable.
1997-06-23 00:30:48 +00:00
Richard M. Stallman
d61140e89d Add defgroup's; use defcustom for user vars. 1997-04-13 07:28:48 +00:00
Richard M. Stallman
6d34c59ffb (tex-region): Correctly handle possible
overlap between first line, header, and region.
New local var ALREADY-OUTPUT makes this general.
Write tex-trailer directly as a string; get rid of temp-buffer.
Make tex-out-file include the .tex suffix.
1997-01-02 01:30:36 +00:00
Richard M. Stallman
725b742881 (tex-first-line-header-regexp): New variable.
(tex-region): Sometimes include the file's first line.
1996-12-29 19:41:52 +00:00
Richard M. Stallman
23b6422580 (tex-file): Fix paren error in last change.
(tex-recenter-output-buffer): Switch windows in a more controlled
fashion, using save-selected-window.
1996-10-31 23:50:02 +00:00
Richard M. Stallman
ebe15e27ee (tex-main-file): Add missing initial value.
(tex-file): Set tex-print-file to source-file always.
1996-09-27 20:42:12 +00:00
Richard M. Stallman
f73741fc23 (tex-main-file): New variable.
(tex-file): Use that.  Rename local var to source-file
so it is obviously local.
1996-08-25 01:25:07 +00:00
Karl Heuer
710a0f533a (tex-validate-region): Skip fwd over whitespace
and punctuation, to find point of mismatch.
(validate-tex-buffer): Don't include the blank lines
before a paragraph in the paragraph being checked.
1996-07-11 23:55:01 +00:00
Richard M. Stallman
cf149bdfae (tex-common-initialization): Set skeleton-further-elements.
(tex-latex-block): Define as a skeleton.
1996-06-25 22:44:10 +00:00
Richard M. Stallman
a5e2ae0112 (latex-imenu-create-index):
Change the regexp to match the * versions of commands.
(latex-mode): Make imenu-create-index-function buffer-local.
1996-05-15 15:17:41 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Richard M. Stallman
6da9bbd6b2 (tex-face-alist, tex-latex-face-alist): New variables.
(tex-common-initialization): Set facemenu-add-face-function,
facemenu-end-add-face, facemenu-remove-face-function.

(slitex-mode): Fix misspelling in value.
1996-01-26 19:57:45 +00:00
Karl Heuer
c93931c390 (tex-send-command): Give meaningful error message. 1995-11-04 00:39:25 +00:00
Richard M. Stallman
898b9ac102 (tex-start-of-header): Now a regexp.
(tex-end-of-header): Likewise.
(plain-tex-mode, latex-mode, slitex-mode, tex-region): Changed accordingly.
1995-10-19 00:48:12 +00:00
Karl Heuer
0fb4f2457b (latex-imenu-generic-expression): Var defined.
(latex-mode): Set imenu-generic-expression.
1995-07-28 00:26:37 +00:00
Richard M. Stallman
2b7971c930 (tex-view): Nice error if tex-dvi-view-command is nil. 1995-04-29 16:32:03 +00:00
Karl Heuer
f8c25f1b67 Update copyright. 1995-04-07 02:21:52 +00:00
Boris Goldowsky
0220283937 (tex-common-initialization, latex-mode, slitex-mode): Remove ^ from
paragraph-start & paragraph-separate.
1995-03-02 15:52:37 +00:00
Richard M. Stallman
7d0ca249c8 (tex-append): Try splitting on last period, then
try splitting on first period.
1995-02-17 23:25:17 +00:00
Richard M. Stallman
51b2c84172 (tex-display-shell): Pass nil as arg to
tex-recenter-output-buffer.
(tex-region, tex-file, tex-show-print-queue, tex-bibtex-file):
Put the call to tex-display-shell essentially last.
1995-01-27 23:08:49 +00:00
Richard M. Stallman
45c3304d43 (tex-print): Better check for when to print current
buffer's file over last processed file.
1995-01-05 00:23:50 +00:00
Richard M. Stallman
c0bcb2393b (tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}. 1995-01-03 22:28:50 +00:00
Richard M. Stallman
e4d02e0473 (tex-mode): \begin at start of file implies Latex. 1995-01-02 23:07:36 +00:00
Richard M. Stallman
002b0d0012 (tex-mode-map): Add BibTeX File menu item. 1994-12-30 23:02:43 +00:00
Richard M. Stallman
70f2097350 Comment change. 1994-12-22 22:05:52 +00:00
Richard M. Stallman
191cda94a8 (tex-start-shell): Use inheritance. 1994-12-21 20:08:17 +00:00
Edward M. Reingold
dca5ea48d9 Make keymap for tex-shell the shell-mode-map. 1994-12-21 15:54:30 +00:00
Edward M. Reingold
e8c04c88ef Be consistent in use of comint (instead of shell) mode. 1994-12-19 19:09:39 +00:00
Richard M. Stallman
22378c0edb (latex-mode): Recognize \item etc. that have no arg
because only a comment follows.
1994-10-23 20:39:25 +00:00
Richard M. Stallman
0d548e5d7b (compare-windows-whitespace): Eliminate initial value.
(tex-region): Don't delete temp files if we do
one buffer twice in a row.
1994-10-11 18:51:29 +00:00
Richard M. Stallman
dbfaa1b1ff (tex-start-shell): Inherit comint-mode-map, don't copy. 1994-09-18 20:30:01 +00:00
Richard M. Stallman
0edb981589 (tex-mode): Allow for documentclass options when checking for SliTeX. 1994-08-17 20:30:22 +00:00
Richard M. Stallman
98b29a3edb (tex-mode): Accept documentclass when checking Slitex. 1994-08-07 06:47:57 +00:00
Richard M. Stallman
f3d79de9e7 (tex-mode): Check for documentclass like documentstyle. 1994-08-06 03:22:23 +00:00
Richard M. Stallman
039ecbae40 (latex-mode, slitex-mode): In paragraph-separate,
delete spurious \\\\ from char set.
1994-06-11 19:19:31 +00:00
Richard M. Stallman
d974af3044 (tex-start-shell): Add autoload. 1994-06-10 20:28:52 +00:00
Richard M. Stallman
54626b604c (tex-show-print-queue): Display the tex shell buffer.
(tex-file, tex-bibtex-file): Likewise.
(latex-mode, slitex-mode): Treat \] as paragraph starter.
1994-06-07 16:51:20 +00:00
Karl Heuer
adf6b7f952 (tex-delete-last-temp-files): Don't fail on non-existent directory. 1994-05-18 01:13:09 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Edward M. Reingold
6a900cf14e (tex-goto-last-unclosed-latex-block): New function. Bound to C-c C-u in
tex-mode.
1994-05-03 21:15:27 +00:00
Richard M. Stallman
81c735c099 Doc fixes. 1994-05-02 22:26:50 +00:00
Edward M. Reingold
a0e9c22aad (tex-start-shell): Use shell-mode-map (instead of comint-mode-map) because
it's bit a nicer.

Change the "require" from comint to shell for the same reason.
1994-04-01 16:57:56 +00:00
Richard M. Stallman
a15849cbd8 (tex-delete-last-temp-files): New arg NOT-ALL.
(tex-region): Pass new arg.
1994-03-23 18:19:20 +00:00
Richard M. Stallman
2e0b53ad3d (tex-common-initialization): Make parse-sexp-ignore-comments t. 1994-01-03 20:06:28 +00:00
Richard M. Stallman
ab2c9f5425 (slitex-mode, latex-mode): Set paragraph-start and
paragraph-separate to a specific list of control sequences.

(tex-common-initialization): Make paragraph-start
and paragraph-separate match a line of $$.
1994-01-03 11:36:14 +00:00
Richard M. Stallman
64db24613f (tex-common-initialization): Make paragraph-start
and paragraph-separate match a line of $$.

(tex-send-command): New local var BUF.
Use it when calling buffer-modified-tick.

(tex-send-command):
Switch to buffer before checking for subproc output in it.
1993-12-23 02:48:56 +00:00