Function: slitex-mode

slitex-mode is an autoloaded, interactive and byte-compiled function defined in tex-mode.el.gz.

Signature

(slitex-mode)

Documentation

Major mode for editing files of input for SliTeX.

Makes $ and } display the characters they match. Makes " insert \\=`\\=` when it seems to be the beginning of a quotation, and \\='\\=' when it appears to be the end; it inserts " only after a \.

Use M-x tex-region (tex-region) to run SliTeX on the current region, plus the preamble copied from the top of the file (containing \documentstyle, etc.), running SliTeX under a special subshell. M-x tex-buffer (tex-buffer) does the whole buffer. M-x tex-file (tex-file) saves the buffer and then processes the file. M-x tex-print (tex-print) prints the .dvi file made by any of these. M-x tex-view (tex-view) previews the .dvi file made by any of these. M-x tex-bibtex-file (tex-bibtex-file) runs bibtex on the file of the current buffer.

Use M-x tex-validate-buffer (tex-validate-buffer) to check buffer for paragraphs containing mismatched $'s or braces.

Special commands:

Mode variables: slitex-run-command
Command string used by M-x tex-region (tex-region) or M-x tex-buffer (tex-buffer).
tex-directory
Directory in which to create temporary files for SliTeX jobs
run by M-x tex-region (tex-region) or M-x tex-buffer (tex-buffer).
tex-dvi-print-command
Command string used by M-x tex-print (tex-print) to print a .dvi file.
tex-alt-dvi-print-command
Alternative command string used by M-x tex-print (tex-print) (when given a prefix
argument) to print a .dvi file.
tex-dvi-view-command
Command string used by M-x tex-view (tex-view) to preview a .dvi file.
tex-show-queue-command
Command string used by M-x tex-show-print-queue (tex-show-print-queue) to show the print
queue that M-x tex-print (tex-print) put your job on.

Entering SliTeX mode runs the hook text-mode-hook, then the hook tex-mode-hook, then the hook latex-mode-hook, and finally the hook slitex-mode-hook. When the special subshell is initiated, the hook tex-shell-hook is run.

View in manual

Probably introduced at or before Emacs version 19.29.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
;;;###autoload
(define-derived-mode slitex-mode latex-mode "SliTeX"
  "Major mode for editing files of input for SliTeX.
Makes $ and } display the characters they match.
Makes \" insert \\=`\\=` when it seems to be the beginning of a quotation,
and \\='\\=' when it appears to be the end; it inserts \" only after a \\.

Use \\[tex-region] to run SliTeX on the current region, plus the preamble
copied from the top of the file (containing \\documentstyle, etc.),
running SliTeX under a special subshell.  \\[tex-buffer] does the whole buffer.
\\[tex-file] saves the buffer and then processes the file.
\\[tex-print] prints the .dvi file made by any of these.
\\[tex-view] previews the .dvi file made by any of these.
\\[tex-bibtex-file] runs bibtex on the file of the current buffer.

Use \\[tex-validate-buffer] to check buffer for paragraphs containing
mismatched $'s or braces.

Special commands:
\\{slitex-mode-map}

Mode variables:
slitex-run-command
	Command string used by \\[tex-region] or \\[tex-buffer].
tex-directory
	Directory in which to create temporary files for SliTeX jobs
	run by \\[tex-region] or \\[tex-buffer].
tex-dvi-print-command
	Command string used by \\[tex-print] to print a .dvi file.
tex-alt-dvi-print-command
	Alternative command string used by \\[tex-print] (when given a prefix
	argument) to print a .dvi file.
tex-dvi-view-command
	Command string used by \\[tex-view] to preview a .dvi file.
tex-show-queue-command
	Command string used by \\[tex-show-print-queue] to show the print
	queue that \\[tex-print] put your job on.

Entering SliTeX mode runs the hook `text-mode-hook', then the hook
`tex-mode-hook', then the hook `latex-mode-hook', and finally the hook
`slitex-mode-hook'.  When the special subshell is initiated, the hook
`tex-shell-hook' is run."
  (setq tex-command slitex-run-command)
  (setq tex-start-of-header "\\\\documentstyle{slides}\\|\\\\documentclass{slides}"))