* 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
* Re: tex-region in LaTeX mode fails
2004-01-22 13:13 tex-region in LaTeX mode fails Olivier Esser
@ 2004-01-22 18:54 ` Reiner Steib
0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2004-01-22 18:54 UTC (permalink / raw)
Cc: Olivier Esser
On Thu, Jan 22 2004, Olivier Esser wrote:
> 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.
This is a known bug in 21.3. It has been fixed in CVS:
,----
| 2003-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
|
| * textmodes/tex-mode.el (latex-mode): `tex-trailer' is not a regexp.
`----
BTW, shouldn't this patch go into the EMACS_21_1_RC branch too or will
Emacs 21.4 be released from current HEAD?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ 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.