Next: Typesetting Prev: Main features Up: Top


  Put next two expressions into your `~/.emacs'.

             (setq auto-mode-alist
                   (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
             (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)

Next, add certain path name where you put files of YaTeX to your
load-path.  If you want to put them in `~/src/emacs', write

            (setq load-path
                  (cons (expand-file-name "~/src/emacs") load-path))

in your `~/.emacs'

  Then, yatex-mode will be automatically loaded when you visit a file
which has extension `.tex'.  If yatex-mode is successfully loaded, mode
string on mode line will be turned to "YaTeX".

automatically generated by info2www.cgi version 1.2