Hello List,
I'm using flyspell here to correct my latex documents. This works more
or less fine but how can I exclude special latex commands from spelling?
I know that one solution is the variable *flyspell-tex-command-regexp*
so I set it like this: (I don't know if the regexp ist right I found it
on the Internet and customized it)
(setq flyspell-tex-command-regexp
"\\(\\((\\(begin\\|end\\)[
\t]*{\\|\\(cite[a-z*]*\\|label\\|ref\\|eqref\\|usepackage\\|documentclass\\|prt\\|id\\|id\\*\\|pgfplotstabletypeset\\)[
\t]*\\(\\[[^]]*\\]\\)?{[^{}]*\\)\\|\\)")
it works for:
\ID{ATB_12222}, btw \ID*{ATB_123555} --> these are commands from the
eqexam package but it does not work for
\pgfplotstabletypeset[
col sep=space,
header=true,
columns={Prod, UmsPG, MAKonkur, Marktwachst},
font={\sffamily},
........
as you can see here on the screenshot:
http://de.zimagez.com/zimage/emacs.php
Does anyone have an suggestion for this?
Regards Th. Grothe
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex