hi:
I encounter a problem about compile.
i use winedit to compile the tex file, after compile
I press dvipdfmx, and it return an error message which show
dvipdf return nonzero exit code. However, if I use PDFLatex,
the result is correct.
How to make sure the problem, and how to debug latex in future,
does there exist any debug message tools or any command can help
that, thanks.
General ⇒ a problem about compile
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
a problem about compile
Obviously your code contains something that only works with the pdflatex compiler engine but not with latex (which outputs DVI). Build a minimal working example (MWE) to show the problem. The exact error message will also be helpful.
Best regards
Thorsten
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: a problem about compile
sorry, I can't use this approach to debug the error.
It seems the winedit will record the process, and even
I delete one rest by rest, the final result is the same.
the error shows "dvi2pdf return nonzero exit code(1)
indicating that some problems might have occurred during the
compilation";
Is there any other good method?
It seems the winedit will record the process, and even
I delete one rest by rest, the final result is the same.
the error shows "dvi2pdf return nonzero exit code(1)
indicating that some problems might have occurred during the
compilation";
Is there any other good method?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
a problem about compile
Just build a small, complete and compilable example that reproduces the error.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10