all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Ispell skipping LaTeX fields in preamble
@ 2010-02-19 19:39 Claude Rubinson
  0 siblings, 0 replies; only message in thread
From: Claude Rubinson @ 2010-02-19 19:39 UTC (permalink / raw)
  To: help-gnu-emacs

I recently discovered (to my dismay) that Emacs/ispell isn't checking
the \title and \author fields in the preamble of LaTeX documents.  (If
I move the fields to the body of the doc, then ispell will properly
check them.)  This is apparently Emacs-related as it doesn't occur if
I check the document directly via ispell.  I'm not sure how to track
down the problem.  It's apparently not localized to AucTeX, as the
same behavior shows up when using Emac's built-in Latex-mode.

My ispell-tex-skip-alists variable is the default value and unless I'm
misreading it, I don't see where it would be skipping the \title and
\author fields:

((("\\\\addcontentsline" ispell-tex-arg-end 2)
  ("\\\\add\\(tocontents\\|vspace\\)" ispell-tex-arg-end)
  ("\\\\\\([aA]lph\\|arabic\\)" ispell-tex-arg-end)
  ("\\\\bibliographystyle" ispell-tex-arg-end)
  ("\\\\makebox" ispell-tex-arg-end 0)
  ("\\\\e?psfig" ispell-tex-arg-end)
  ("\\\\document\\(class\\|style\\)" . "\\\\begin[ 	\n]*{[ 	\n]*document[ 	\n]*}"))
 (("\\(figure\\|table\\)\\*?" ispell-tex-arg-end 0)
  ("list" ispell-tex-arg-end 2)
  ("program" . "\\\\end[ 	\n]*{[ 	\n]*program[ 	\n]*}")
  ("verbatim\\*?" . "\\\\end[ 	\n]*{[ 	\n]*verbatim\\*?[ 	\n]*}")))

Any ideas?

Thanks,

Claude




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-19 19:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-19 19:39 Ispell skipping LaTeX fields in preamble Claude Rubinson

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.