Package: latex-make
Version: 2.1.18-2
Severity: normal
Tags: patch

LaTeX.mk was failing to rebuild my document when there were still
undefined references.  I needed to make two changes:

1) The default REBUILD_RULES doesn't include
"bibtopic_undefined_references" (which is strangely named anyway,
because I'm not using bibtopic).  I needed to set:
  REBUILD_RULES=latex texdepends bibtopic_undefined_references
in my Makefile.

2) The LU_rebuild_bibtopic_undefined_references rule seems broken.
I fixed it with the patch below.

-jim

--- LaTeX.mk.orig       2013-04-16 15:17:52.538820616 -0400
+++ LaTeX.mk    2013-04-16 15:18:38.680520237 -0400
@@ -892,7 +892,7 @@
 LU_rebuild_bibtopic_undefined_references:
        $(call lu-rebuild-head)
        $(COMMON_HIDE)if grep -sq 'There were undefined references'\
-               "$(MASTER_$(LU_REC_MASTER)).log" ; then \
+               "$(LU_REC_LOGFILE)" ; then \
                $(call lu-rebuild-needed,"$@: new run needed") \
        fi

-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (200, 'stable'), (80, 'testing'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages latex-make depends on:
ii  dpkg         1.16.8       
ii  ghostscript  8.71~dfsg2-10
ii  make         3.81-8.1     
ii  python       2.7.2-9      
ii  tex-common   3.15         
ii  transfig     1:3.2.5.c-1  

Versions of packages latex-make recommends:
ii  inkscape                   0.48.3.1-1.3   
ii  texlive-latex-extra        2012.20120611-2
ii  texlive-latex-recommended  2012.20120611-5

latex-make suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to