cdlatex总是提示缺少texmathp

大家好,我写latex一直用的是auctex和cdlatex。但是感觉两者功能有不少重叠,所以想留下cdlatex,把auctex删掉了。但是每次进入cdlatex-mode的时候,总是提示缺少texmathp。把auctex装上就没有问题了。

我不理解的是,cdlatex的github页面上写着从emacs 21.3开始,emacs本身包含texmathp.el。为什么cdlatex还是依赖于auctex呢?

大家有碰到相同问题的吗?

没事删auctex干嘛?cdlatex只是补全,auctex才是emacs上 latex 插件的集大成者,而且两者可以共用。实在不明白为啥删auctex。

auctex和cdlatex当然各有千秋! 我现在的问题不知道怎么去掉cdlatex对auctex的依赖。

实际上 Emacs 就是沒有帯 texmathp.el。去 GitHub 上的 mirror 或下份源碼搜一下就知道了。

我看了下 GNU 能下到的最早版本 Emacs 21.4a,里面也沒有 texmathp。估计是本來有这么个计划然后沒搞成。直于为什么作者沒发現,

I myself am using CDLaTeX on top of AUCTeX.

The comments in cdlatex.el said that “CDLaTeX requires texmathp.el which is distributed with AUCTeX. Starting with Emacs 21.3, texmathp.el will be part of Emacs.”, however, I didn’t find any texmathp.el with current emacs distribution. So CDLaTeX requires AUCTeX as a dependency, which means it didn’t work with Emacs builtin tex-mode anymore.

老老实实下一份吧。

也只能这样了

随便到emacs-devel搜索了一下

https://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00328.html