[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wrong tex-trailer value
From: |
Okan Kolak |
Subject: |
Wrong tex-trailer value |
Date: |
Sun, 13 Jul 2003 02:42:20 -0400 (EDT) |
Hi all,
I encountered what seems to be a bug in latex-mode. Here are the details:
Environment: Emacs 21.2.1 on RedHat 7.3 and on Solaris,
Emacs 21.3 on Windows XP, and possibly others
Problem: In LaTeX mode, tex-region command (C-c C-r) generates invalid
LaTeX output.
Producing bug: Open any LaTeX file, select any region, and then type C-c
C-r, LaTeX will fail.
Reason: tex-trailer variable is set to "\\end\\s-*{document}\n" instead of
"\\end{document}\n". Adding a latex-mode-hook to correct the value
fixes the problem.
Although it is possible to fix it using .emacs, it would be nice to fix it
in tex-mode.el.
Please include my e-mail in replies, as I am not a member of the list.
Thanks,
Okan
--
--------------------------------------------------------------------------
Okan KOLAK
Computer Science Department, University of Maryland, College Park, MD, USA
e-mail: okan@cs.umd.edu
voice : (301) 405-6746
fax : (509) 471-0596
URL : http://www.cs.umd.edu/users/okan
--------------------------------------------------------------------------
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/S d+(--) s-: a- C++ USL+ L++ w+ O M V- P++ E W++ N+ !o K- PS+
PE(-) Y+ PGP+ tv+ t+ X+ !5 R(+) b+ DI D+ G e++>++++ h-- r- y?
------END GEEK CODE BLOCK------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Wrong tex-trailer value,
Okan Kolak <=