auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Customize tex-ispell.el


From: Thorsten Grothe
Subject: Re: [AUCTeX] Customize tex-ispell.el
Date: Wed, 26 Apr 2017 14:40:59 +0200

* Arash Esbati: 26.04.2017 (06:54):

> Thanks for the reminder, I've missed that macro from booktabs.sty.
> I've just added it.  Note that \addlinespace takes only an optional
> argument.  Hence, this entry should be like this:
>
>           ("\\\\addlinespace" ispell-tex-arg-end 0)

you are welcome :-) and thanks for the hint!


(...)

>     ("\\\\cmidrule" . "{[-0-9]+}")

yes, exactly the same here after updating Auctex and I'm using hunspell
too, but I got problems with german umlauts (ü,ö). I think this is
because hunspell dicts are not coded to utf-8, must find a way to do
that.

Anyway, this entry works fine now:

\cmidrule(lr){2-2}

but this not:

address@hidden>address@hidden
  5. & & \\\addlinespace[8pt] \cmidrule(lr){2-2}\cmidrule(lr){3-3}
  4. & & \\\addlinespace[8pt] \cmidrule(lr){2-2}\cmidrule(lr){3-3}
  3. & & \\\addlinespace[8pt] \cmidrule(lr){2-2}\cmidrule(lr){3-3}
  2. & & \\\addlinespace[8pt] \cmidrule(lr){2-2}\cmidrule(lr){3-3}
  1. & & \\\addlinespace[8pt] \cmidrule(lr){2-2}\cmidrule(lr){3-3}
\end{tabularx}

all cmidrules are flagged red, I think it has to do with tabularx?

> Quoting Jamie Zawinski:
>
>     Some people, when confronted with a problem, think "I know, I'll use
>     regular expressions." Now they have two problems.
>
> Stay away from them, is the best thing you can do ;-)

Oooh I agree fully with you, regular expression are not the right thing
for me :-) Nice to hear that others make the same experiences :-)

Thorsten



reply via email to

[Prev in Thread] Current Thread [Next in Thread]