1. 21 Oct, 2004 1 commit
  2. 10 Oct, 2004 1 commit
  3. 03 Oct, 2004 1 commit
    • Stefan Monnier's avatar
      (tex-dvi-view-command): Use `yap' on w32. · dd166d5f
      Stefan Monnier authored
      (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.
      dd166d5f
  4. 30 Aug, 2004 1 commit
  5. 25 Aug, 2004 1 commit
  6. 19 May, 2004 1 commit
  7. 18 Mar, 2004 1 commit
  8. 03 Jan, 2004 1 commit
  9. 27 Nov, 2003 1 commit
  10. 30 Oct, 2003 1 commit
  11. 01 Sep, 2003 1 commit
  12. 05 Aug, 2003 1 commit
  13. 07 Jul, 2003 1 commit
  14. 14 Jun, 2003 1 commit
  15. 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.
      5e56fb53
  16. 08 Jun, 2003 1 commit
  17. 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.
      8084f5d8
  18. 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.
      75035a80
  19. 10 May, 2003 1 commit
  20. 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.
      a3d80d4a
  21. 22 Dec, 2002 1 commit
  22. 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.
      7afecb99
  23. 06 Nov, 2002 1 commit
  24. 02 Nov, 2002 1 commit
  25. 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.
      95a045bd
  26. 01 Jul, 2002 1 commit
  27. 01 May, 2002 1 commit
  28. 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.
      9e0ad27a
  29. 04 Mar, 2002 1 commit
  30. 15 Feb, 2002 1 commit
  31. 15 Jul, 2001 1 commit
  32. 17 Jun, 2001 1 commit
  33. 31 May, 2001 1 commit
  34. 29 May, 2001 1 commit
  35. 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
      indent-for-tab-command.
      (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.
      15ca8de7
  36. 15 Feb, 2001 1 commit
  37. 02 Dec, 2000 1 commit
  38. 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.
      1598a961
  39. 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.
      bdbd9606