I'm attempting to use lilypond-book but have run into the following anomaly.
The latex file below demonstrates the problem. There is a line \input{test.ind} to include the index file generated by the makeindex command. Normal procedure is to start with an empty (0 byte) xxx.ind file, do several latex runs to generate a xxx.idx file, and then build the index from xxx.idx using makeindex, do a few more latex runs to incorporate the index into the document, and Bob's Your Uncle. All these steps are normally accomplished via a Makefile. However, when I run lilypond-book, as in: $ lilypond-book -f latex -o out2 test.lytex the pre-processed output file out2/test.tex has zero bytes. If I comment out the line \input{test.ind} and run the same lilypond-book command, out2/test.tex has the correct pre-processed output. Moving the empty file test.ind to directory out2 still results in an empty test.tex file. Naming the file to something else does not help. So the problem seems to related to any input file having zero size results in the preprocessed output-file also having zero size. ============================================================================= \documentclass[12pt]{article} \makeindex \begin{document} \subsection{Chromatic Octaves} \begin{lilypond}[staffsize=23] \score { \relative c { a b c d e f g } % relative } % score \end{lilypond} \input{test.ind} % PROBLEM LINE \end{document} ============================================================================= @beppo[34]% rm -rf out2 @beppo[35]% lilypond-book -f latex -o out2 test.lytex lilypond-book (GNU LilyPond) 2.13.49 Reading test.lytex... Running latex...latex: /usr/local/lilypond/usr/lib/libpng12.so.0: no version information available (required by latex) latex: /usr/local/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libpoppler.so.2) latex: /usr/local/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/libpoppler.so.2) This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (/tmp/tmp25C3Ot.tex LaTeX2e <2005/12/01> Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, croatian, ukrainian, russian, bulgarian, czech, slovak, danish, dut ch, finnish, basque, french, german, ngerman, ibycus, greek, monogreek, ancient greek, hungarian, italian, latin, mongolian, norsk, icelandic, interlingua, tur kish, coptic, romanian, welsh, serbian, slovenian, estonian, esperanto, upperso rbian, indonesian, polish, portuguese, spanish, catalan, galician, swedish, loa ded. (/usr/share/texmf-texlive/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/share/texmf-texlive/tex/latex/base/size12.clo)) Writing index file tmp25C3Ot.idx No file tmp25C3Ot.aux. textwidth=390.0pt columnsep=10.0pt (./tmp25C3Ot.aux) ) No pages of output. Transcript written on tmp25C3Ot.log. Dissecting... Writing snippets... Processing... Running lilypond...GNU LilyPond 2.13.49 Processing `snippet-map-864957659.ly' Parsing... Processing `test.lytex' Parsing... Interpreting music... Preprocessing graphical objects... Calculating line breaks... Drawing systems... Layout output to `e6/lily-68393ad0.eps'... Layout output to `e6/lily-68393ad0-1.eps'... Writing e6/lily-68393ad0-systems.texi... Writing e6/lily-68393ad0-systems.tex... Writing e6/lily-68393ad0-systems.count... success: Compilation successfully completed Compiling /home/pabuhr/guitar/music/out2/test.tex... Writing `/home/pabuhr/guitar/music/out2/test.tex'... Processing include: test.ind Reading test.ind... Dissecting... Writing snippets... All snippets are up to date... Compiling /home/pabuhr/guitar/music/out2/test.tex... Writing `/home/pabuhr/guitar/music/out2/test.tex'... Writing `/home/pabuhr/guitar/music/out2/test.tex'... @beppo[36]% ls -al out2 total 60 drwxr-xr-x 3 pabuhr pabuhr 4096 Feb 19 14:14 ./ drwxr-xr-x 5 pabuhr pabuhr 32768 Feb 19 14:14 ../ drwxr-xr-x 2 pabuhr pabuhr 4096 Feb 19 14:14 e6/ -rw-r--r-- 1 pabuhr pabuhr 100 Feb 19 14:14 snippet-map-0.ly -rw-r--r-- 1 pabuhr pabuhr 139 Feb 19 14:14 snippet-map-864957659.ly -rw-r--r-- 1 pabuhr pabuhr 44 Feb 19 14:14 snippet-names-864957659.ly -rw-r--r-- 1 pabuhr pabuhr 62 Feb 19 14:14 test.dep -rw-r--r-- 1 pabuhr pabuhr 0 Feb 19 14:14 test.tex -rw-r--r-- 1 pabuhr pabuhr 8 Feb 19 14:14 tmp25C3Ot.aux -rw-r--r-- 1 pabuhr pabuhr 0 Feb 19 14:14 tmp25C3Ot.idx @beppo[37]% ls -al test.* -rw-r--r-- 1 pabuhr pabuhr 0 Feb 19 13:44 test.ind -rw-r--r-- 1 pabuhr pabuhr 316 Feb 19 14:13 test.lytex _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user