all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tex-region in LaTeX mode fails
@ 2004-01-22 13:13 Olivier Esser
  2004-01-22 18:54 ` Reiner Steib
  0 siblings, 1 reply; 2+ messages in thread
From: Olivier Esser @ 2004-01-22 13:13 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-22 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-22 13:13 tex-region in LaTeX mode fails Olivier Esser
2004-01-22 18:54 ` Reiner Steib

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.