lilypond-user
[Top][All Lists]
Advanced

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

Re: where are the file created?


From: Stu McKenzie via LilyPond User List
Subject: Re: where are the file created?
Date: Sat, 21 Sep 2024 13:22:28 -0700
User-agent: Mozilla Thunderbird


It would be useful to know where your source .ly file is, because Frescobaldi appears to be using your C:/Users/Owner/AppData folder for the temporary files.

If you change the \BookOutputName to the same folder as your source .ly file, or a subfolder of that folder, you should find the output pdf files there.

For example, if you change the bookOutputName to "C:/Output/" then both of the lines:

\bookOutputName "C:/Users/Owner/AppData/Local/Temp/frescobaldi-00ou83l6/tmp2xammvvc/Output/"
become
\bookOutputName "C:/Output/"

The 2 pdf files should then be in C:/Output (or on Windows C:\Output).

Alternatively, try outputting to the same folder as your source .ly file.


On 2024-09-21 03:02, ming tsang wrote:
Good Morning Stu McKenzie,
I am using frecobaldi v3.3.0 & lilypond v2.25.18, The two files created are in the same folder of my source lily file.  However I cannot find the temp - it is not important as long as I find the two pdf created.
tkQ,
ming (lyndon) tsang.

On Fri, Sep 20, 2024 at 6:14 PM Stu McKenzie via LilyPond User List <swwlilyuser@stoozsoftware.com> wrote:


On 2024-09-20 04:39, ming tsang wrote:
Hi lilyponders,
 the following code generates two files according to the log.
%%%
\paper {
  output-filename = "my_special_output"
}

\book {
  \paper {
    output-suffix = "menuetto"
  }
  \score {    \relative { c''4 d e f }  }
}
\book {
  \paper {
    output-suffix = "scherzo"
  }
  \score {    \relative { f''4 e d c }  }
}
%%%

and the log as below:
%%
%{
Starting lilypond.exe 2.25.18 [Untitled]...
Processing `C:/Users/Owner/AppData/Local/Temp/frescobaldi-00ou83l6/tmp2xammvvc/document.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `my_special_output-menuetto.pdf'...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `my_special_output-scherzo.pdf'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `my_special_output.pdf'...
Success: compilation successfully completed
Completed successfully in 0.6".
%}

--
ming (lyndon) tsang

You may still use Frescobaldi with the following changes (I used LilyPond version 2.24.0):

% \version "2.24.0"
% Replace version string with the version in use.

%{
Comment out the first paper block
\paper {
  output-filename = "my_special_output"
}
%}

\book {
  \paper {
     \bookOutputName "C:/Users/Owner/AppData/Local/Temp/frescobaldi-00ou83l6/tmp2xammvvc/Output/"
    output-suffix = "menuetto"
  }
  \score {    \relative { c''4 d e f }  }
}
\book {
  \paper {
     \bookOutputName "C:/Users/Owner/AppData/Local/Temp/frescobaldi-00ou83l6/tmp2xammvvc/Output/"
    output-suffix = "scherzo"
  }
  \score {    \relative { f''4 e d c }  }
}

This should output to a subfolder of the original LilyPond source file.
The output may be directed to any folder that you choose, by changing the bookOutputName.

HTH



--
ming (lyndon) tsang


reply via email to

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