do not edit — generated by btf.
git.druid.rocksindexdruid520radiumradium-lang-latex.el

radium-lang-latex.el


;;; radium-lang-latex.el, latex via auctex, tabs -*- lexical-binding: t; -*-
;;
;; item 3 (latex support): auctex, the real, established latex
;; package - not org's own latex-fragment preview, which is a
;; different, narrower thing (rendering a snippet inside an org
;; buffer) already available for free once org itself loads, not a
;; standalone .tex-file editing mode.
;;
;; use-package's own :ensure needs the real installed package name
;; (auctex), but auctex itself provides its user-facing features
;; under the feature name `tex' (LaTeX-mode et al all come from
;; requiring `tex', not a feature literally named `auctex') - checked
;; directly against the installed package layout, not assumed from
;; the package name alone.
;;
;; no checkonsave entry: a real one-shot check would mean either
;; chktex (bundled inside the full texlive distribution on this
;; system, no standalone package - installing a multi-gigabyte tex
;; toolchain just to wire up one check wasn't a reasonable trade) or
;; a real pdflatex compile (a genuine multi-pass build, not a quick
;; syntax check the way perl -c/sh -n are) - same "no one-shot
;; checker" category as scheme/forth/kona/cron already documents.
 
(use-package tex
  :ensure auctex
  :defer t)
 
(defvar LaTeX-indent-level)
(defvar LaTeX-item-indent)
 
(add-hook 'LaTeX-mode-hook
          (lambda ()
            (setq indent-tabs-mode t
                  tab-width 8
                  LaTeX-indent-level 8
                  LaTeX-item-indent 0)))
 
(provide 'radium-lang-latex)
powered by btf.