Problem creating pdf output using latexmk

by Ashirwad   Last Updated September 12, 2019 03:23 AM

For the last 2 hours I have been struggling to create a pdf output from a .tex file using latexmk. I am following the instructions given in this document for Windows users and all the output files are being created successfully except the pdf file.

The following message is being generated after I call latexmk -pdf from the 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):
   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.

From the message log, I can see that dvipdf command is missing, but I don't know how to fix this issue. Can anyone help?

Tags : pdftex latexmk

Related Questions

Compiling Latex in Vim Results in Error

Updated July 31, 2015 13:10 PM

Latexmk says the file is up-to-date, while it's not

Updated September 15, 2017 11:23 AM

Abstract does not appear after the article title

Updated April 30, 2018 13:23 PM

Why is pdflatex outing itself as pdftex?

Updated October 28, 2018 09:23 AM