Skip to content

tsuu32/auctex-cluttex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auctex-cluttex.el

MELPA CI

This package provides ClutTeX support for AUCTeX package.

Incompatible change

  • 2021/02/26: auctex-cluttex-mode is now buffer-local (not global) minor mode. Check setup below and modify your settings.

Features

  • Run cluttex command with C-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=1 option if TeX-source-correlate-mode is enabled.
  • Colorize cluttex log buffer (which can be seen with C-c C-l (M-x TeX-recenter-output-buffer))

Requirements

Make sure that you install these requirements.

  • Emacs 24.4 or higher
  • AUCTeX 12.2 or higher
  • ClutTeX 0.4 or higher

Installation

From MELPA

M-x package-install auctex-cluttex to install auctex-cluttex from MELPA.

Manually

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-cluttex

Setup

To 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).

Sample Configuration

(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!

About

ClutTeX support for AUCTeX

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •