【问题标题】:LaTeX "Could not start the command "LaTeX“无法启动命令”
【发布时间】:2016-04-23 03:40:33
【问题描述】:

我在编译乳胶文件时遇到问题。 我得到的错误是: 无法启动命令。

 pdflatex -synctex=1 -interaction=nonstopmode %.tex

我查看了论坛(如here)但找不到解决方案。 现在使用 Texmaker 4.5,我的设置如下所示: enter image description here

有什么想法吗?

【问题讨论】:

    标签: latex pdflatex


    【解决方案1】:

    我在 Windows 10 中遇到了同样的问题。我先安装了 Texmaker(版本 5.0.2),然后安装了 MiKTeX。我不确定OP是否也这样做了。这对我有用:

    1. 我卸载了 Texmaker 和 MikTeX
    2. 我安装了MiKTeX
    3. 我安装了Texmaker

    得到here的帮助

    底线:应该在 Texmaker 之前安装 MiKTex

    【讨论】:

      【解决方案2】:

      我认为您的 LaTex 路径未指定。在您的 MikTeX 路径中查找乳胶文件:

      "C:/Program Files/MikTex 2.9/miktex/bin" latex -interaction=nonstopmode %.tex

      "C:/Program Files/MikTex 2.9/miktex/bin" pdflatex -synctex=1 -interaction=nonstopmode %.tex

      【讨论】:

        猜你喜欢
        • 2016-10-10
        • 2017-09-26
        • 2012-04-23
        • 2020-01-19
        • 2020-06-03
        • 2019-01-23
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多