> -----Original Message----- > From: Phil Holmes [mailto:m...@philholmes.net] > Sent: Tuesday, February 25, 2014 3:35 AM > To: Daniel Rosen; LilyPond User Group > Subject: Re: Errors running lilypond-book > > ----- Original Message ----- > From: "Daniel Rosen" <drose...@gmail.com> > To: "Phil Holmes" <m...@philholmes.net> > Sent: Monday, February 24, 2014 11:49 PM > Subject: RE: Errors running lilypond-book > > > > -----Original Message----- > > From: Phil Holmes [mailto:m...@philholmes.net] > > Sent: Monday, February 24, 2014 9:16 AM > > To: Daniel Rosen; David Kastrup > > Cc: bug-lilyp...@gnu.org; lilypond-user@gnu.org > > Subject: Re: Errors running lilypond-book > > > > Go to https://codereview.appspot.com/64380044 and click on > > python/book_latex.py > > > > This will show you a difference between the old version of the file and > > the > > proposed version. Edit bin/book_latex.py , adding the lines with + on the > > left > > and removing those with - > > > > -- > > Phil Holmes > > Done. Now what? Running lilypond-book again still yields errors. > > lilypond-book.py (GNU LilyPond) 2.18.0 > Reading lilybook.lytex... > Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpsw8wzn.tex' > to detect default page settings. > > 'TEXINPUTS' is not recognized as an internal or external command, > operable program or batch file. > lilypond-book.py: warning: Unable to auto-detect default settings: > > lilypond-book.py: warning: cannot detect textwidth from LaTeX > Dissecting... > lilypond-book.py: error: file not found: screech-and-boink.ly > > Traceback (most recent call last): > File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 776, in ? > main () > File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 759, in > main > chunks = do_file (files[0]) > File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 611, in > do_file > chunks = find_toplevel_snippets (source, global_options.formatter) > File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 362, in > find_toplevel_snippets > snip = klass (type, m, formatter, line_number, global_options) > File "out/book_snippets.py", line 815, in __init__ > File "out/book_base.py", line 27, in find_file > TypeError: 'str' object is not callable > > DR > > ========================================================== > > Please remember always to reply-all
Whoops, my mistake. > I'm no expert on how -book calculates > line width. > > -- > Phil Holmes Then I'm confused as to why you had me update bin/book_latex.py at all. The output above is exactly the same as what I originally reported: http://lists.gnu.org/archive/html/lilypond-user/2014-01/msg00452.html DR _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user