New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cdlatex throws "no such modifier ... outside math mode." in some specific environments #17
Comments
Hi,
I believe this must be due to a change in AUCTeX. The
constant texmathp-tex-commands-default used to contain the align
environments etc, but no longer does. I am assuming that there is now a
procedure in place to add these commands based on LaTeX package loading.
But I am not sure. Can you please report this to the AUCTeX people and
update me on their answer?
Thank you.
Carsten
…On Mon, Jul 6, 2020 at 11:49 PM semihkacmaz ***@***.***> wrote:
Hello, for some reason, cdlatex stopped functioning properly today. When I
try to insert a math modifier under align, align*, equation* or multline
environments, cdlatex throws the "No such modifier /*modifier-symbol*/
outside math mode." error. Furthermore, when I try to insert a math symbol
under these environments the symbol is generated between double dollar
signs as if it is called in the text-mode.
However, it works flawlessly and as it used to with the "equation"
environment.
I am using AucTeX in Emacs 26.3 which was downloaded from
emacsformacosx.com and my OS is macOS Catalina 10.15.5.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#17>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAIABKQI55XHNVOVEOMQU3R2JBGDANCNFSM4OR73ZDA>
.
|
Hello again, I have contacted the AUCTeX people and you were correct. They stated that: "Support for highlighting and in-math state detection for However, TeX-parse-self option was already enabled in my config file. After skimming "texmathp.el" for a while I figured that customizing the variable "texmathp-tex-commands" should solve the issue. I have added the following to my config file and everything was back to normal: (custom-set-variables Thank you again for your time and help! |
Hi,
thanks for the information. Hmm, so there seems to be a bug then on the
AUCTeX side. If you have the time, I would appreciate if you could report
it as a bug, in the hope that they will sort this out. I don't really
agree with the change they made because it makes things more fragile - I do
like a nice default list. :(
Cheers
Carsten
…On Tue, Jul 7, 2020 at 11:49 PM semihkacmaz ***@***.***> wrote:
Hello again,
I have contacted the AUCTeX people and you were correct. They stated that:
"Support for highlighting and in-math state detection for
AMS-LaTeX specific environments, such as align, gather and multline, are
refactored and put into style file amsmath.el. So these support are
available only when TeX-parse-self option is enabled."
However, TeX-parse-self option was already enabled in my config file.
After skimming "texmathp.el" for a while I figured that customizing the
variable "texmathp-tex-commands" should solve the issue. I have added the
following to my config file and everything was back to normal:
(custom-set-variables
'(texmathp-tex-commands
(quote
(("xxalignat" env-on)
("xalignat*" env-on)
("xalignat" env-on)
("alignat*" env-on)
("alignat" env-on)
("flalign*" env-on)
("flalign" env-on)
("gather*" env-on)
("gather" env-on)
("multline*" env-on)
("multline" env-on)
("equation*" env-on)
("align*" env-on)
("align" env-on)))))
Thank you again for your time and help!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAIABL4GZ36EKUFT3GYE5DR2OJ65ANCNFSM4OR73ZDA>
.
|
I discovered this bug where ^,_ didn't insert {} in AMS environments, because the AUCTex funciton This can be seen in the commit in AUCTex git. I've approached the developer and they may reintroduced the AMS environments back. One can also install AUCTex 12.2, i.e. before the minor updates of this year. |
Hi Daniel,
thanks for the information. Yes, I was told bout this problem earlier. It
is up to the AUCTeX people to come up with a stable fix.
The alternative is to keep your own version of texmathp.el around.
Carsten
…On Sat, Aug 1, 2020 at 9:09 AM danielfleischer ***@***.***> wrote:
I discovered this bug where ^,_ didn't insert {} in AMS environments,
because the AUCTex funciton texmathp didn't recognize them as being math
environment.
This can be seen in the
https://git.savannah.gnu.org/cgit/auctex.git/commit/?id=9170170438ec47e70f5b1c87ffc71a8e2d96b068
<http://commit> in AUCTex git.
I've approached the developer and they may reintroduced the AMS
environments back.
One can also install AUCTex 12.2, i.e. before the minor updates of this
year.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAIABM6X3YK4MLNKIGMXKDR6O5UJANCNFSM4OR73ZDA>
.
|
Seems this problem has been fixed in this commit. |
Excellent, thank you very much!
Kind regards
Carsten Dominik
…On Mon, Aug 10, 2020 at 11:51 AM maxc01 ***@***.***> wrote:
Seems this problem has been fixed in this commit
<https://git.savannah.gnu.org/cgit/auctex.git/commit/?id=f04a508f6a85642524ad1a2279f2bfe2bded1db7>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAIABKTQ7723ME4CV6O4S3R767KFANCNFSM4OR73ZDA>
.
|
Hello, for some reason, cdlatex stopped functioning properly today. When I try to insert a math modifier under align, align*, equation* or multline environments, cdlatex throws the "No such modifier /modifier-symbol/ outside math mode." error. Furthermore, when I try to insert a math symbol under these environments the symbol is generated between double dollar signs as if it is called in the text-mode.
However, it works flawlessly and as it used to with the "equation" environment.
I am using AucTeX in Emacs 26.3 which was downloaded from emacsformacosx.com and my OS is macOS Catalina 10.15.5.
The text was updated successfully, but these errors were encountered: