1. 19 May, 2004 1 commit
  2. 18 Mar, 2004 1 commit
  3. 03 Jan, 2004 1 commit
  4. 27 Nov, 2003 1 commit
  5. 30 Oct, 2003 1 commit
  6. 01 Sep, 2003 1 commit
  7. 05 Aug, 2003 1 commit
  8. 07 Jul, 2003 1 commit
  9. 14 Jun, 2003 1 commit
  10. 09 Jun, 2003 1 commit
    • Stefan Monnier's avatar
      (tex-search-noncomment): New macro. · 5e56fb53
      Stefan Monnier authored
      (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.
  11. 08 Jun, 2003 1 commit
  12. 30 May, 2003 1 commit
    • Stefan Monnier's avatar
      (latex-block-args-alist, latex-block-body-alist): New vars. · 8084f5d8
      Stefan Monnier authored
      (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.
  13. 15 May, 2003 1 commit
    • Stefan Monnier's avatar
      (tex-compile-history, tex-input-files-re) · 75035a80
      Stefan Monnier authored
      (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.
  14. 10 May, 2003 1 commit
  15. 14 Apr, 2003 1 commit
    • Stefan Monnier's avatar
      (latex-mode-map): Bind latex-split-block to C-c C-s. · a3d80d4a
      Stefan Monnier authored
      (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.
  16. 22 Dec, 2002 1 commit
  17. 08 Nov, 2002 1 commit
    • Stefan Monnier's avatar
      (latex-standard-block-names): Rename from standard-latex-block-names. · 7afecb99
      Stefan Monnier authored
      (tex-font-lock-keywords-1): Add providecommand, renewenvironment, and
      renewtheorem.  Highlight \it and \bf separately since they may overlap.
      (tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs.
      (tex-font-lock-keywords-3, tex-verbatim-environments)
      (tex-font-lock-syntactic-keywords): New vars.
      (superscript, subscript, tex-verbatim-face): New faces.
      (tex-font-lock-syntactic-face-function): Handle \verb construct.
      (tex-common-initialization): Update font-lock-defaults setting.
      (tex-insert-braces): Make it into a skeleton.
      (latex-fill-nobreak-predicate): Don't break after \.
      (latex-insert-block): Rename from tex-latex-block.
      (latex-down-list): Use tex-mode-syntax-table when skipping parens
      rather than the indentation syntax-table.
      (latex-close-block): Rename from tex-close-latex-block.
      (latex-split-block): New fun.
      (latex-indent): Don't indent inside a verbatim block.
      (latex-find-indent): Stick \begin{verbatim} to the margin.
  18. 06 Nov, 2002 1 commit
  19. 02 Nov, 2002 1 commit
  20. 14 Jul, 2002 1 commit
    • Stefan Monnier's avatar
      Set encoding to utf-8. · 95a045bd
      Stefan Monnier authored
      (tex-start-options): Make it into always-a-string.
      Remove silly custom options that are covered by the other var.
      (tex-start-commands): Fix docstring.
      (tex-open-quote, tex-close-quote): Add options.
      (tex-command): Provide default.
      (tex-font-lock-keywords-1): Highlight $$...$$.
      (tex-font-lock-keywords-2): Fix latin-1 chars.
      (tex-mode-map): Remove redundant \t binding.
      (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
      (latex-mode): Use add-hook for fill-nobreak-predicate.
      (tex-common-initialization): Set indent-tabs-mode to nil.
      (tex-insert-quote): Undo magic if invoked twice in a row.
      (latex-fill-nobreak-predicate): Don't use narrowing.
      (tex-latex-block): Don't cons uselessly.
      (tex-last-unended-begin): Signal user-friendlier error.
      (tex-goto-last-unclosed-latex-block): Don't catch signal.
      (tex-start-tex): Switch order of tex-start-options and
      tex-start-commands to make it obey docstrings.
  21. 01 Jul, 2002 1 commit
  22. 01 May, 2002 1 commit
  23. 26 Apr, 2002 1 commit
    • Richard M. Stallman's avatar
      (tex-start-options): New variable. · 9e0ad27a
      Richard M. Stallman authored
      (tex-start-commands): New variable.
      (tex-start-options-string): Variable deleted.
      (tex-start-tex): Use tex-start-options and tex-start-commands,
      not tex-start-options-string.
      (tex-command): Doc fix.
  24. 04 Mar, 2002 1 commit
  25. 15 Feb, 2002 1 commit
  26. 15 Jul, 2001 1 commit
  27. 17 Jun, 2001 1 commit
  28. 31 May, 2001 1 commit
  29. 29 May, 2001 1 commit
  30. 25 May, 2001 1 commit
    • Stefan Monnier's avatar
      (tex-mode-syntax-table): Add ^. · 15ca8de7
      Stefan Monnier authored
      (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
      Allow spaces around macro arguments.
      (tex-mode-map): Inherit from text-mode-map, but rebind \t to
      (latex-mode-map, plain-tex-mode-map): New keymaps.
      Inherit from tex-mode-map.
      (tex-common-initialization): Don't setup the keymap any more
      since it's now done right by define-derived-mode.
      (latex-mode): Set skeleton-end-hook to nil.
      (latex-skeleton-end-hook): Remove.
      (tex-latex-block, latex-insert-item): Simplify.
      (latex-syntax-after): Use following-char rather than char-after.
      (tex-discount-args-cmds, tex-count-words): New functions.
  31. 15 Feb, 2001 1 commit
  32. 02 Dec, 2000 1 commit
  33. 22 Nov, 2000 1 commit
    • Stefan Monnier's avatar
      (tex-font-lock-keywords-1): Fix ARG regexp to skip quoted braces. · 1598a961
      Stefan Monnier authored
      (tex-font-lock-keywords-2): Fix ARG regexp to skip quoted braces.
      Remove `bf' and `it' from `bold' and `italic' (they were wrong and
      are (correctly) handled separately).
      Remove `caption' and `footnote' from `citations': they contain text.
      Don't highlight `textmd', `texttt' and `textrm' with bold-italic.
      (latex-skeleton-end-hook): New function.
      (latex-mode): Use it.
      (tex-start-tex-marker): Remove.
      (tex-send-tex-command): Don't set tex-start-tex-marker.
      (tex-error-parse-syntax-table): New var.
      (tex-compilation-parse-errors): Use it.
      Ignore tex-start-tex-marker.  Don't bother with marker-position.
      (tex-validate-buffer): Don't bother with marker-position.
  34. 14 Nov, 2000 2 commits
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      (tex-font-lock-keywords-1): Use `keep' · bdbd9606
      Stefan Monnier authored
      rather than `prepend' and add an interesting comment.
      (tex-math-face, tex-font-lock-syntactic-face-function):
      New face and function to use it.
      (tex-define-common-keys, tex-mode-map): Use menu-item rather
      than `menu-enable' symbol property.
      (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
      (tex-mode): Add some latex-mode commands for auto-selection.
      Use tex-font-lock-syntactic-face-function.
      (tex-insert-quote): Simplify.
      (tex-shell): New mode.
      (tex-start-shell): Use it.
      (tex-shell-proc, tex-shell-buf): New functions.
      (tex-send-command): Use it.
      (tex-main-file): Fix the meaning of the new arg REALFILE.
      (tex-send-tex-command): New function split from `tex-start-tex'.
      Set compilation-last-buffer and compilation-parsing-end.
  35. 10 Nov, 2000 1 commit
    • Stefan Monnier's avatar
      (standard-latex-block-names): Add "math". · dd459839
      Stefan Monnier authored
      (latex-mode): Tweak tex-*-(head|trail)er regexps.
      Tweak paragraph regexps to allow a leading [ \t]*.
      (tex-latex-block): Insert a newline if necessary.
      (latex-insert-item): Only insert a newline if necessary.
      (tex-guess-main-file): New function.
      (tex-main-file): Use it.  Add arg `realfile'.  Trim `.tex'.
      Set tex-main-file if TeX-master is provided.
      (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
  36. 31 Oct, 2000 1 commit
  37. 15 Oct, 2000 1 commit
    • Stefan Monnier's avatar
      Require CL when compiling. · ea590e1c
      Stefan Monnier authored
      (tex-mode-syntax-table): Init immediately.
      (tex-mode-map): Bind M-RET to latex-insert-item.
      (latex-mode): Set indent-line-function to latex-indent.
      (tex-common-initialization): Don't setup the syntax-table any more.
      (latex-insert-item): New skeleton.
      (tex-next-unmatched-end): Fix copy/paste braino.
      (latex-syntax-after, latex-skip-close-parens, latex-down-list)
      (latex-indent, latex-find-indent): New functions.
      (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
      (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
      (tex-compilation-parse-errors): Use with-syntax-table.
  38. 01 Oct, 2000 1 commit
    • Stefan Monnier's avatar
      (latex-metasection-list): New var. · 53c4fe47
      Stefan Monnier authored
      (latex-imenu-create-index): Use it.
      Move the regexp construction outside loops (and use push).
      (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
      (tex-font-lock-keywords): Moved from font-lock.el.
      (tex-comment-indent): Remove.
      (tex-common-initialization): Don't set comment-indent-function.
      (latex-block-default): New var.
      (tex-latex-block): Use it to provide a default choice.
      Add any unknown choice to latex-block-names.
      Insert [...] after {...}.
      (tex-last-unended-begin): Simplify regexp.
      (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
      (latex-forward-sexp-1, latex-forward-sexp): New functions.
      (latex-mode): Set forward-sexp-function.
  39. 29 Sep, 2000 1 commit