[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tex-region in LaTeX mode fails
From: |
Olivier Esser |
Subject: |
tex-region in LaTeX mode fails |
Date: |
Thu, 22 Jan 2004 13:13:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 |
Hello,
The tex-region command in the LaTeX mode of emacs fails in emacs 21.3.1.
This is due to the fact that emacs does not insert properly
\end{document} at the end of the region. It works after correcting the
line 784 of tex-mode.el.
...
(setq tex-command latex-run-command)
(setq tex-start-of-header "\\\\document\\(style\\|class\\)")
(setq tex-end-of-header "\\\\begin\\s-*{document}")
(setq tex-trailer "\\end{document}\n") <-------- corrected line
...
Sincerely,
Olivier Esser
- tex-region in LaTeX mode fails,
Olivier Esser <=