]> git.donarmstrong.com Git - lilypond.git/commitdiff
(get_latex_textwidth): look for latex
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 10 Mar 2006 09:47:12 +0000 (09:47 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 10 Mar 2006 09:47:12 +0000 (09:47 +0000)
log in output dir.

ChangeLog
scripts/lilypond-book.py

index 787fac3763662d891293cb7fc66673d0229cc307..5dd4ded68d2f2b53fc99d86c0edebc7a37e2ce34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-10  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scripts/lilypond-book.py (get_latex_textwidth): look for latex
+       log in output dir.
+
 2006-03-08  Johannes Schindelin  <Johannes.Schindelin@gmx.de>
 
        * lily/audio-column.cc, lily/score-performer.cc: MIDI output now
index 74db6adb28d4b9ac83958c0e9934f043ee28ab27..948ddbd74d89fb7b43896df4298f6a127da706b0 100644 (file)
@@ -1403,8 +1403,9 @@ def get_latex_textwidth (source):
        
        (handle, tmpfile) = tempfile.mkstemp('.tex')
        logfile = os.path.splitext (tmpfile)[0] + '.log'
+       logfile = os.path.split (logfile)[1]
        open (tmpfile,'w').write (latex_document)
-       ly.system ('latex %s' % tmpfile)
+       ly.system ('latex %s' % tmpfile, be_verbose=global_options.verbose)
        parameter_string = open (logfile).read()
        
        os.unlink (tmpfile)