The libraries error was due to some path and relocation problem,
because if I use Fedora lilypond package (/usr/bin) everything works
correctly.
Except that the .tex file generated by lilypond-book is saved in /tmp
and when the .ly file is included it cannot find it.
What's wrong in the below .lytex file?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$ which lilypond-book
/usr/bin/lilypond-book
$ lilypond-book --include=/home/fede/Documenti/spartiti/ly --output=out
--pdf file.lytex
lilypond-book (GNU LilyPond) 2.19.45
Reading file.lytex...
Running `pdflatex' on file `/tmp/tmpw7DwQy.tex' to detect default page
settings.
Dissecting...
lilypond-book: error: file not found: 23.10.63.ly
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Why it's creating a .tex file in /tmp and calling pdflated on it?
According to the Usage manual¹, that commmand should generate a .tex
file and then _I_ should launch pdflatex.
¹
http://lilypond.org/doc/v2.19/Documentation/usage/invoking-lilypond_002dbook
Il giorno lun 25 lug 2016 alle 8:59, Federico Bruni
<f...@inventati.org> ha scritto:
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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user