shiblon / latex-makefile

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

BUILD-STRATEGY := latex / fails to find .eps file with vers. 2.2.1-alpha6 #151

Closed shiblon closed 8 years ago

shiblon commented 8 years ago

Originally reported on Google Code with ID 138

Chris,

I'm sure that version 2.2.1-alpha6 is still in early stages, but I thought I'd share
some of my findings in the hope they will be helpful!

I found two issues with BUILD-STRATEGY := latex with this version that I am entering
as two separate issues.

The first issue I found is that when using BUILD-STRATEGY := latex in the Variables.ini
file, a simple latex source file, call it  my_latex.tex, that includes a .eps graphics
file, foo.eps, using the statement:

\includegraphics{foo} *or* \includegraphics{foo.eps}

results in the error:
= my_latex.tex --> my_latex.d my_latex.dvi.1st.make (0-1) =
make: *** No rule to make target `foo', needed by `my_latex.d'.  Stop.

I this case, both my_latex.tex and foo.eps were in the same directory.

I looked in a listing of SHELL_DEBUG=1, and it appeared as though make tried stems
foo.gpi, and foo, but no other stems.

Thanks!
-Chas

Reported by charles.hewgley4 on 2011-08-09 02:39:00

shiblon commented 8 years ago
Try the attached file.

The change is in r9503f799ec8e.

Reported by shiblon on 2011-08-09 16:22:33

shiblon commented 8 years ago
This issue 151 is fixed!  The new version 2.2.1-alpha7 definitely finds the .eps files
that already exist.  The code I tested was actually the version attached to issue 152.
 I'll have additional comments there.

Reported by charles.hewgley4 on 2011-08-10 04:20:59

shiblon commented 8 years ago
Hooray!  I'm glad that it worked for you, and that it was so simple to fix.  Thanks
for the report.

Reported by shiblon on 2011-08-10 13:47:52