Hi folks
I've searched the archives but couldn't find an answer to this problem.
I have a file.lytex file which contains these lines:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\begin{document}
\lilypondfile[noindent,line-width=15\cm]{23.10.63.ly}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I compile it with the below command. What's wrong with it?
I set the width of the lilypond file, while the document width is
already set by \documentclass. What else is missing?
Thanks
Federico
$ make
lilypond-book --include=/home/fede/Documenti/spartiti/ly --output=out
file.lytex;
lilypond-book (GNU LilyPond) 2.19.45
Reading file.lytex...
Running `latex' on file `/tmp/tmphleGw3.tex' to detect default page
settings.
lilypond-book: warning: Unable to auto-detect default settings:
latex: /home/fede/.local/lilypond/usr/lib/libz.so.1: no version
information available (required by /lib64/libpng16.so.16)
latex: /home/fede/.local/lilypond/usr/lib/libjpeg.so.62: no version
information available (required by /lib64/libpoppler.so.58)
latex: /home/fede/.local/lilypond/usr/lib/libtiff.so.5: no version
information available (required by /lib64/libpoppler.so.58)
latex: /home/fede/.local/lilypond/usr/lib/libstdc++.so.6: version
`CXXABI_1.3.9' not found (required by /lib64/libpoppler.so.58)
lilypond-book: warning: cannot detect textwidth from LaTeX
Dissecting...
lilypond-book: error: file not found: 23.10.63.ly
Traceback (most recent call last):
File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 789, in
?
main ()
File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 772, in
main
chunks = do_file (files[0])
File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 611, in
do_file
chunks = find_toplevel_snippets (source, global_options.formatter)
File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 362, in
find_toplevel_snippets
snip = klass (type, m, formatter, line_number, global_options)
File
"/home/fede/.local/lilypond/usr/share/lilypond/current/python/book_snippets.py",
line 825, in __init__
global_options.include_path, global_options.original_dir)).read ()
File
"/home/fede/.local/lilypond/usr/share/lilypond/current/python/book_base.py",
line 27, in find_file
exit (1)
TypeError: 'str' object is not callable
Makefile:20: recipe for target 'file.pdf' failed
make: *** [file.pdf] Error 1
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user