auctex可以找到Miktex

发布于 2025-02-02 16:48:12 字数 440 浏览 1 评论 0原文

我已经在我的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

泪冰清 2025-02-09 16:48:12

在我这边,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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文