Skip to content

Commit d47cb3d

Browse files
committed
Hotfix latexmx builder to ignore error codes
1 parent b89c5a8 commit d47cb3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readthedocs/doc_builder/backends/sphinx.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ def _build_latexmk(self, cwd, latex_cwd):
474474

475475
# FIXME: check for platex here as well
476476
'-pdfdvi' if self.project.language == 'ja' else '-pdf',
477-
477+
# Ignore error codes because they often lie
478+
'-f',
478479
'-dvi-',
479480
'-ps-',
480481
f'-jobname={self.project.slug}',

0 commit comments

Comments
 (0)