[英]AUCTeX package missing in emacs
In my emacs 24.3, I can't find the AUCTeX package. 在我的emacs 24.3中,我找不到AUCTeX软件包。 If I enter PACKAGE-LIST-PACKAGE, I find various packages for AUCTeX like "auctex-lua" or "auto-complete for auctex".
如果输入PACKAGE-LIST-PACKAGE,我会找到各种AUCTeX的软件包,例如“ auctex-lua”或“自动完成auctex”。 However, there is no auctex package that I can install.
但是,没有可以安装的auctex软件包。 Why is it gone ?
为什么不见了?
AUCTeX is available via GNU ELPA , not MELPA. AUCTeX 可通过GNU ELPA而非MELPA获得。
You can configure multiple repositories, eg by using add-to-list
instead of setting package-archives
directly: 您可以配置多个存储库,例如,通过使用
add-to-list
而不是直接设置package-archives
:
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)
This should keep GNU ELPA in your list of archives, but in case it doesn't you can always add it back. 这应该将GNU ELPA保留在档案列表中,但是如果没有,您可以随时将其添加回去。 It should look something like
它看起来应该像
("gnu" . "http://elpa.gnu.org/packages/")
Once you've done this you should be able to install AUCTeX via package.el
. 完成此操作后,您应该可以通过
package.el
安装AUCTeX。
Note that this is likely the one repository that most users should have in their package-archives
list. 请注意,这可能是大多数用户应在其
package-archives
列表中使用的一个存储库。 It's the official GNU repository, enabled by default. 这是官方的GNU存储库,默认情况下启用。 Of course, feel free to add others as you wish!
当然,您可以随意添加其他人!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.