This package provides ClutTeX support for AUCTeX package.
- 2021/02/26:
auctex-cluttex-modeis now buffer-local (not global) minor mode. Check setup below and modify your settings.
- Run
cluttexcommand withC-c C-c ClutTeX(M-x TeX-command-master ClutTeX)- with suitable command-line options (e.g.
-e pdflatex,-e uplatex --bibtex=upbibtex, ...) - with
--synctex=1option ifTeX-source-correlate-modeis enabled.
- with suitable command-line options (e.g.
- Colorize
cluttexlog buffer (which can be seen withC-c C-l(M-x TeX-recenter-output-buffer))
Make sure that you install these requirements.
- Emacs 24.4 or higher
- AUCTeX 12.2 or higher
- ClutTeX 0.4 or higher
M-x package-install auctex-cluttex to install auctex-cluttex from MELPA.
Add the following to your init file:
(add-to-list 'load-path "/path/to/auctex-cluttex/") ; add auctex-cluttex.el's directory to the load-path
(require 'auctex-cluttex) ; load auctex-cluttexTo use this package, add following code to your init file:
(add-hook 'plain-TeX-mode-hook
#'auctex-cluttex-mode)
(add-hook 'LaTeX-mode-hook
#'auctex-cluttex-mode)You can use ClutTeX as default command of C-c C-c (M-x TeX-command-master).
(require 'tex-site)
(with-eval-after-load 'tex
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(TeX-source-correlate-mode))
(add-hook 'plain-TeX-mode-hook
#'auctex-cluttex-mode)
(add-hook 'LaTeX-mode-hook
#'auctex-cluttex-mode)Enjoy C-c C-c ClutTeX!