diff options
author | Steven Knight <knight@baldmt.com> | 2003-10-06 14:09:19 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-10-06 14:09:19 (GMT) |
commit | 9afb4a60206be177cb061406f8c427c094027f11 (patch) | |
tree | 45339be72e88bb7d687950f97b609b9e81998d77 /src | |
parent | db545f30d242352f96dfea29d0f9ca9ba39ab72b (diff) | |
download | SCons-9afb4a60206be177cb061406f8c427c094027f11.zip SCons-9afb4a60206be177cb061406f8c427c094027f11.tar.gz SCons-9afb4a60206be177cb061406f8c427c094027f11.tar.bz2 |
Follow-on to TeX patch: add test cases for LaTeX and bibtex. (Sergey Fomel)
Diffstat (limited to 'src')
-rw-r--r-- | src/CHANGES.txt | 5 | ||||
-rw-r--r-- | src/engine/SCons/Tool/tex.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 432d624..440099f 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -37,6 +37,11 @@ RELEASE X.XX - XXX - Add support for CCVERSION and CXXVERSION variables for a number of C and C++ compilers. + From Sergey Fogel: + + - Add test cases for the new capabilities to run bibtex and to rerun + latex as needed. + From Ralf W. Grosse-Kunstleve: - Accomodate anydbm modules that don't have a sync() method. diff --git a/src/engine/SCons/Tool/tex.py b/src/engine/SCons/Tool/tex.py index d1a8b09..c06efbf 100644 --- a/src/engine/SCons/Tool/tex.py +++ b/src/engine/SCons/Tool/tex.py @@ -64,7 +64,7 @@ def LaTeXAuxAction(target = None, source= None, env=None): # Now if bibtex will need to be run. content = open(basename + ".aux","rb").read() if string.find(content, "bibdata") != -1: - bibfile = self.fs.File(basename) + bibfile = env.fs.File(basename) BibTeXAction(None,bibfile,env) # Now check if latex needs to be run yet again. for trial in range(3): |