bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bookOutputName not skipping files on second recompilation


From: Jonathan Shamblen
Subject: Re: bookOutputName not skipping files on second recompilation
Date: Wed, 22 Nov 2017 19:34:37 -0800

I have the following lytex file, test.lytex:

\begin{document}
\begin{lilypond}
    melodyone = \relative { \time 4/4 \key c \major c1}
    \book {\bookOutputName "melody1"  \bookpart { \score { << \new Staff
{\transpose c c \melodyone } >> } } }
\end{lilypond}
\end{document}

and run the command C:/Python27/python "C:\Program Files
(x86)\LilyPond\usr\bin\lilypond-book.py" --pdf test.lytex

The first time I run the command, I get the following output below, which
is expected. However, the second time I run the command,
the files have already been created and are up to date, so they should not
be overwritten and it should look like the output in the "What I Expect"
section below.

Without \bookOutputName "melody1", this works as expected, and it detects
that the files are up to date.

------------------------------------------------------------
-------------------------

Output (on the 2nd time the command is run):

Processing `./snippet-map--2076080608.ly'
Parsing...
Processing `./cd/lily-5894a46e.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `melody1.eps'...
Converting to `melody1.pdf'...
Layout output to `melody1-1.eps'...
Converting to `./melody1-1.pdf'...
Writing melody1-systems.texi...
Writing melody1-systems.tex...
Writing melody1-systems.count...
Success: compilation successfully completed
lilypond-book.py (GNU LilyPond) 2.19.80
Reading test.lytex...
Running `pdflatex' on file `c:\users\user\appdata\local\temp\tmpcrftsz.tex'
to detect default page settings.

Dissecting...
Writing snippets...
Processing...
Running lilypond...
Linking files...
Compiling C:\Users\User\Documents\testlilypond\test.tex...
C:\Users\user\Documents\testlilypond\test.tex is up to date.

------------------------------------------------------------
-----------------

What I expect (on the 2nd time the command is run):

Dissecting...
Writing snippets...
All snippets are up to date...
Linking files...
Compiling C:\Users\User\Documents\testlilypond\test.tex...
C:\Users\User\Documents\testlilypond\test.tex is up to date.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]