unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Claude Rubinson <rubinson@u.arizona.edu>
To: help-gnu-emacs@gnu.org
Subject: Ispell skipping LaTeX fields in preamble
Date: Fri, 19 Feb 2010 14:39:12 -0500	[thread overview]
Message-ID: <20100219193912.GG24844@wagner> (raw)

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




                 reply	other threads:[~2010-02-19 19:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100219193912.GG24844@wagner \
    --to=rubinson@u.arizona.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).