CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Branch:         
Changes by:     Han-Wen Nienhuys <[EMAIL PROTECTED]>    05/08/29 23:40:48

Modified files:
        .              : ChangeLog 
        scripts        : lilypond-book.py 

Log message:
        (get_latex_textwidth): oops. Take [0]
        of splitext.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.4096&tr2=1.4097&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/scripts/lilypond-book.py.diff?tr1=1.272&tr2=1.273&r1=text&r2=text

Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.4096 lilypond/ChangeLog:1.4097
--- lilypond/ChangeLog:1.4096   Mon Aug 29 19:14:19 2005
+++ lilypond/ChangeLog  Mon Aug 29 23:40:46 2005
@@ -1,3 +1,8 @@
+2005-08-30  Han-Wen Nienhuys  <[EMAIL PROTECTED]>
+
+       * scripts/lilypond-book.py (get_latex_textwidth): oops. Take [0]
+       of splitext.
+
 2005-08-29  Han-Wen Nienhuys  <[EMAIL PROTECTED]>
 
        * VERSION (PACKAGE_NAME): VERSION release 2.7.8
Index: lilypond/scripts/lilypond-book.py
diff -u lilypond/scripts/lilypond-book.py:1.272 
lilypond/scripts/lilypond-book.py:1.273
--- lilypond/scripts/lilypond-book.py:1.272     Fri Aug 26 08:38:38 2005
+++ lilypond/scripts/lilypond-book.py   Mon Aug 29 23:40:47 2005
@@ -1293,7 +1293,7 @@
        # Workaround problems with unusable $TMP on Cygwin:
        tempfile.tempdir = ''
        tmpfile = tempfile.mktemp('.tex')
-       logfile = os.path.splitext (tmpfile) + '.log'
+       logfile = os.path.splitext (tmpfile)[0] + '.log'
        open (tmpfile,'w').write (latex_document)
        ly.system ('latex %s' % tmpfile)
        parameter_string = open (logfile).read()


_______________________________________________
Lilypond-cvs mailing list
Lilypond-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-cvs

Reply via email to