auctex可以找到Miktex
我已经在我的Emacs副本中安装了Auctex,但是Auctex找不到Miktex(我已经安装了)。当我进行CC CC RET时,我会遇到以下错误:
ERROR: AUCTeX cannot find a working TeX distribution.
Make sure you have one and that TeX binaries are in PATH environment variable.
If you are using OS X El Capitan or later
Remember to add /Library/TeX/texbin/ to your PATH
安装MikTex后,计算机上没有 /库 /TEX目录。我该如何进行?谢谢,
我正在使用MacOS Monterey 12.4在Mac Mini M1上运行Emacs版本28.1(9.0)。
I've installed AUCTeX in my copy of Emacs but AUCTeX can't find MiKTeX (which I've already installed). I get the following error when I do C-c C-c RET:
ERROR: AUCTeX cannot find a working TeX distribution.
Make sure you have one and that TeX binaries are in PATH environment variable.
If you are using OS X El Capitan or later
Remember to add /Library/TeX/texbin/ to your PATH
There is no /Library/TeX directory on my computer after installing MiKTeX. How do I proceed? Thanks
I’m running Emacs Version 28.1 (9.0) on a Mac mini M1 with macOS Monterey 12.4.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我这边,
Texbin
位于/library/tex/distributions/.defaulttex/contents/programs/programs/texbin
,我不确定M1上的情况是否有所不同。此外,我建议使用 exec-exec-path-from-shell 使用用户外壳设置的$路径。
On my side,
texbin
is located at/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin
and I'm not sure whether thing is different on M1.Besides, I suggest to use exec-path-from-shell to make Emacs use the $PATH set up by the user's shell.