» » Latex mode hook
• 16.02.2010
• 855

# Latex mode hook

LaTeX-mode-hook is used by AUCTeX's LaTeX mode. latex-mode-hook is used by Emacs' built-in latex mode. Modes and Hooks. AUCTeX supports a wide variety of derivatives and extensions of TeX. Besides plain TeX those are LaTeX, AMS-TeX, ConTeXt, Texinfo. Try adding a ' to the immediate left of LaTeX-mode-hook. Also, you need to ( require 'tex) before using the LaTeX-mode-hook. Because the. Try adding a ' to the immediate left of LaTeX-mode-hook. Also, you need to (require 'tex) before using the LaTeX-mode-hook. Because the library AUCTeX defines the variable LaTeX-mode-hook (i.e., brings it into existence), placing (require 'tex) inside a hook that does not yet exist will not work. 20 hours ago · I have the following two questions: 1) Is it still recommended these days to use the guess-TeX-master snippet from AUCTeX wiki? 2) If yes, could someone provide some hints on why it . Besides plain TeX those are LaTeX, AMS-TeX, ConTeXt, Texinfo and docTeX. For each of them there is a separate major mode in AUCTeX and each major mode runs text-mode-hook, TeX-mode-hook as well as a hook special to the mode in this order. The following table provides an overview of the respective mode functions and hooks.
Category: Kitchen