使用 TeXiFy 插件在 idea 中安装便携式 MiKTeX
如何配置MiKTeX便携式 在想法中使用 TeXiFy 插件?
我尝试设置构建配置,但找不到编译器。 MiKTeX 不在编译器列表中,并且未找到 pdfLatex。 自定义编译器不起作用,我无法选择 MiKTeX 文件夹作为编译器文件夹。
主机系统运行Windows。
How can I configure MiKTeX portable in idea with TeXiFy plugin?
I tried to setup a build configuration, but the compiler is not found.
MiKTeX is not in the compiler list and pdfLatex is not found.
A custom compiler is not working, I can not select the MiKTeX folder as compiler folder.
The host system is running windows.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
TeXiFy 开发人员在这里。您可能需要配置 LaTeX SDK。
添加 MiKTeX Windows SDK
。miktex-portable\texmfs\install
。LaTeX Distribution
选择使用项目 SDK
。Compiler
下拉列表中选择编译器。我想 TeXiFy 不会自动识别便携式 TeX 发行版,并且它也不会添加到您的路径中(我猜是因为当您断开便携式设备时会发生什么?),这就是您必须自己添加它的原因。
如果上述方法不起作用,则应该始终可以在运行配置中选择自定义编译器,使用
选择自定义编译器可执行路径
并指定pdflatex.exe<的路径/代码>。请注意,您必须在此处指定特定的编译器,而不是父 (MiKTeX) 文件夹。
对于将来 TeXiFy 的任何问题,我建议您查看 wiki 或打开 < a href="https://github.com/Hannah-Sten/TeXiFy-IDEA/discussions" rel="nofollow noreferrer">讨论。
我们非常乐意提供帮助,但不太可能偶然发现这样的问题。
TeXiFy dev here. You probably need to configure a LaTeX SDK.
Add MiKTeX Windows SDK
.miktex-portable\texmfs\install
.Use project SDK
forLaTeX Distribution
.Compiler
dropdown at the top of the run configuration.I suppose TeXiFy doesn't automatically recognise portable TeX distributions and it's also not added to your path (I guess because what would happen when you disconnect the portable device?), and that's why you have to add it yourself.
If the above doesn't work, it should always be possible to select a custom compiler in the run configuration, using the
Select custom compiler executable path
and specifying the path to yourpdflatex.exe
. Note that you have to specify a specific compiler here, not the parent (MiKTeX) folder.For any problems with TeXiFy in the future I recommend you check the wiki or open a discussion.
We're more than happy to help, but not very likely to stumble upon SO questions.
如果您在 PyCharm 中执行此操作,您还可以执行以下操作:
确保您已安装 MikTex,请按照文档 此处
If you are doing this in PyCharm you could also do the following:
Make sure you have installed MikTex, follow documentation here