shiblon / latex-makefile

A Makefile for LaTeX - drop it in, type make, and magic happens.
Other
185 stars 30 forks source link

Fatal error ignored #121

Closed shiblon closed 8 years ago

shiblon commented 8 years ago

Originally reported on Google Code with ID 108

This is a really simple problem.  If I run the makefile, it completes without error,
but if I run pdflatex by hand, it gives the following error:

!pdfTeX error: pdflatex (file rbfruntime.pdf): cannot find image file
 ==> Fatal error occurred, no output PDF file produced!

Reported by amcnabb8 on 2010-12-31 19:30:58

shiblon commented 8 years ago
How are you generating the rbfruntime.pdf file?  When the makefile succeeds, does it
create that file?

I'm going to need a bit more information to debug this, like how you are trying to
include the image (e.g., using graphicx and includegraphics?) and what your log files
look like.

Reported by shiblon on 2010-12-31 19:36:25

shiblon commented 8 years ago
As far as including it goes, I think issue 113 should set it straight.  I opened this
as a separate bug because I thought it was a little odd that a "!pdfTeX error" line
and a "Fatal error eoccurred, no output PDF file produced!" line were being ignored.

Reported by amcnabb8 on 2010-12-31 19:50:59

shiblon commented 8 years ago
That is definitely odd.  Do you have a log file that I can look at (from when it was
silently failing)?

Reported by shiblon on 2010-12-31 20:25:08

shiblon commented 8 years ago
Here you go--I'm attaching a log file from the latest version of the makefile.  I hope
it helps.

Reported by amcnabb8 on 2010-12-31 20:29:04


shiblon commented 8 years ago
On a related note, if a graphics file is missing, the make aborts with a "No rule to
make target".  It would be convenient if it would build with an error instead, but
if that's hard to do then forget I mentioned it.

Reported by amcnabb8 on 2010-12-31 20:59:12

shiblon commented 8 years ago
It's supposed to emit an error in this case.  I'm surprised it isn't.  This is going
to be tough for me to reproduce, so if you can do it minimally without giving away
your work, that would help.

Reported by shiblon on 2010-12-31 21:32:57

shiblon commented 8 years ago
Fatal error is now getting emitted.

I don't know about the other case, but it smells like an unclean build between makefile
versions.  Feel free to reopen if not.

r6b82ba2b93a1

Reported by shiblon on 2010-12-31 21:43:21