Generala problem about compile

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
clement
Posts: 15
Joined: Wed Oct 14, 2009 5:06 am

a problem about compile

Post by clement »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

a problem about compile

Post by localghost »

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
clement
Posts: 15
Joined: Wed Oct 14, 2009 5:06 am

Re: a problem about compile

Post by clement »

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?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

a problem about compile

Post by localghost »

Just build a small, complete and compilable example that reproduces the error.
Post Reply