forwarded 598117 bug-auc...@gnu.org
thanks
[Please, keep 598...@bugs.debian.org in Cc.]
Hi,
the following bug has been reported with the Debian bug tracking
system. I believe it should be evaluated upstream.
--
Thanks, Davide
--- Begin Message ---
Package: auctex
Version: 11.86-2
Severity: normal
File: /usr/share/emacs/site-lisp/auctex/context.el
In ConTeXt mode, \placeformula (and \placetable etc.) is not recognized
as a command that starts a paragraph. Thus, text like
An alternative approach is
\placeformula\startformula
a = bc
\stopformula
unfortunately gets reformatted by M-q to
An alternative approach is \placeformula\startformula a = bc
\stopformula
(whereas I think the text in this case shouldn't be changed).
A fix that works for me is the following diff (but feel free to correct
it if I've misunderstood the regexp):
--- /usr/share/emacs/site-lisp/auctex/context.el.old 2010-09-24
17:56:12.000000000 -0400
+++ /usr/share/emacs/site-lisp/auctex/context.el 2010-09-26
11:03:26.000000000 -0400
@@ -915,6 +915,7 @@
"[][]\\|" ; display math delimitors (is this applicable to ConTeXt??)
(ConTeXt-environment-start-name) "\\|"
(ConTeXt-environment-stop-name) "\\|"
+ "place" "\\|"
(mapconcat 'car ConTeXt-section-list "\\b\\|") "\\b\\|"
(mapconcat 'identity ConTeXt-extra-paragraph-commands "\\b\\|")
"\\b\\|"
-- Package-specific info:
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.35.3 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages auctex depends on:
ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy
ii dpkg 1.15.8.5 Debian package management system
ii emacs22 22.3+1-1.2+b1 The GNU Emacs editor
ii emacs23 23.2+1-4 The GNU Emacs editor (with GTK+ us
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii make 3.81-8 An utility for Directing compilati
ii preview-latex-style 11.86-2 extraction of elements from LaTeX
Versions of packages auctex recommends:
ii doc-base 0.9.5 utilities to manage online documen
ii epdfview [pdf-viewer] 0.1.7-4 Lightweight pdf viewer based on po
ii evince [pdf-viewer] 2.30.3-1 Document (postscript, pdf) viewer
ii ghostscript 8.71~dfsg2-6 The GPL Ghostscript PostScript/PDF
ii gv [pdf-viewer] 1:3.7.1-1 PostScript and PDF viewer for X
ii texlive-latex-recommended 2009-11 TeX Live: LaTeX recommended packag
ii xpdf [pdf-viewer] 3.02-11 Portable Document Format (PDF) rea
Versions of packages auctex suggests:
pn catdvi <none> (no description available)
ii dvipng 1.13-1 convert DVI files to PNG graphics
ii lacheck 1.26-12 A simple syntax checker for LaTeX
-- debconf information:
auctex/doauto: Background
auctex/logfile: /var/log/auctex.log
auctex/doautofg: File
--
-Sanjoy
`Until lions have their historians, tales of the hunt shall always
glorify the hunters.' --African Proverb
--- End Message ---