yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

"make" gets stuck #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some files that worked with latex-makefile-2.1.43 fail with 
latex-makefile-2.2.0-rc14 (on SuSE 11.3). Typing
  make thesis.pdf
or
  BUILD_STRATEGY=pdflatex make thesis.pdf
with the new version makes these lines appear
  = thesis.tex --> thesis.d thesis.pdf.1st.make (0-1) =
  ...
  = thesis.tex --> thesis.d thesis.pdf.1st.make (233-1) =

The latex source is in
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/CUEDThesisPSnPDF.
tgz

Tim Love
(tl136@cam.ac.uk)

Original issue reported on code.google.com by t...@eng.cam.ac.uk on 19 Apr 2011 at 10:32

GoogleCodeExporter commented 9 years ago
Wow, this is interesting.  What's happening is it's continually trying to build 
the thesis.d file, because it is failing to build thesis.nls (the nomenclature 
file).  The reason *that* is happening is that it can't find nomencl.ist.  
What's perplexing is that it keeps on trying instead of just erroring out.  I'm 
exploring that problem in parallel.

Original comment by shiblon on 19 Apr 2011 at 1:49

GoogleCodeExporter commented 9 years ago
OK - never mind.  The nomencl.ist file is found just fine, but we're never 
calling makeindex, so far as I can tell.   Still digging.

Original comment by shiblon on 19 Apr 2011 at 2:28

GoogleCodeExporter commented 9 years ago
Found the problem.

To create thesis.d, it ran latex, then pulled thesis.nls out of the log as a 
dependency.
It then added a dependency to thesis.d on thesis.nls.  Then it ran latex and 
created a new .nls file.
So it noticed that thesis.d was out of date.  Lather, rinse, repeat forever.

I removed two characters ("d ") from the get-log-index invocation and it works 
fine, now.  I also cleaned up run-makeindex, but that was unnecessary for this 
fix.

The change is viewable as r4107d0610119.

I have attached the tarball I intend to upload as rc15.  Please give it a try 
and let me know how it works for you.

Original comment by shiblon on 19 Apr 2011 at 2:42

Attachments:

GoogleCodeExporter commented 9 years ago
Many thanks. Yep, rc15 works for me now. 

Original comment by t...@eng.cam.ac.uk on 20 Apr 2011 at 6:54

GoogleCodeExporter commented 9 years ago
Uploading now.  Thanks for the issue report.

Original comment by shiblon on 20 Apr 2011 at 6:49