使用 latexmk 创建 pdf 输出时出现问题

使用 latexmk 创建 pdf 输出时出现问题

在过去的 2 个小时里,我一直在努力.tex使用 从文件创建 pdf 输出latexmk。我按照这个文件对于 Windows 用户来说,除 pdf 文件外,所有输出文件均已成功创建。

latexmk -pdf从 Git Bash调用后,生成以下消息:

Transcript written on 2d-row-pic.log.
=== TeX engine is 'pdfTeX'
Latexmk: Log file says output to '2d-row-pic.dvi'
Latexmk: applying rule 'dvipdf'...
Rule 'dvipdf': File changes, etc:
   Changed files, or newly in use since previous run(s):
      '2d-row-pic.dvi'
   Rule(s) that have been run and require run of dependent rule:
      'pdflatex' which requires run of 'dvipdf'
------------
Run number 1 of rule 'dvipdf'
------------
For rule 'dvipdf', running '&do_viewfile(  )' ...
------------
Running 'dvipdf  "2d-row-pic.dvi" "2d-row-pic.pdf"'
------------
sh: dvipdf: command not found
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  dvipdf: Command for 'dvipdf' gave return code 32512
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs, or warnings treated as errors.

从消息日志中,我可以看到dvipdf缺少该命令,但我不知道如何解决此问题。有人可以帮忙吗?

相关内容