Reply to Saul Tobin at the end...

On 2024-09-15 16:21, Saul Tobin wrote:
You might find it more convenient to define the output PDF filename directly within Lilypond. See: https://lilypond.org/doc/v2.24/Documentation/notation/output-file-names or for 2.25 https://lilypond.org/doc/v2.25/Documentation/notation/output-file-names.

On Sun, Sep 15, 2024 at 5:18 PM Stu McKenzie via LilyPond User List <swwlilyu...@stoozsoftware.com> wrote:


    Reply to Knute Snortum at the end...

    On 2024-09-15 12:48, Knute Snortum wrote:

    On Sun, Sep 15, 2024 at 11:59 AM Stu McKenzie via LilyPond User
    List <swwlilyu...@stoozsoftware.com> wrote:


        I've encountered an issue whereby I can make a PDF output to
        a different
        file or folder using Command Prompt on Windows, e.g.:

        "C:/Program Files
        (x86)/LilyPond2p24p0/lilypond-2.24.0/bin/lilypond.exe"
        -o "<PathToOutputFileOrFolder" "<PathToSource>.ly"

        with the result: "Success: compilation successfully completed".

        In Frescobaldi menu "Edit">"Preferences...">"LilyPond
        Preferences">"LilyPond versions to use" group>"Edit...", I've
        tried to
        add an output "-o" directive.
        I've tried various strings appended after the
        "...\lilypond.exe" and the
        result is always a "No Entry" icon next to the entry that was
        edited.

        I couldn't find any reference to adding directives to the
        LilyPond
        command line for Frescobaldi.


    Have you tried custom engraving?  (LilyPond menu -> Engrave
    (custom)).


        Is there a separate community for Frescobaldi, or is this the
        community
        for all things LilyPond?


    A lot of people post about Frescobaldi here and I think that's
    okay.  There is a Google Group for Frescobaldi
    (frescoba...@googlegroups.com) but I don't know how closely
    that's watched.



    --
    Knute Snortum



    Well, thank you Knute!  I never found anything online for
    combinations of the search terms "Frescobaldi", "Lilypond", "output".

    For others wishing to do this, here's what I found:
    In the Frescobaldi menu: LilyPond>"Engrave(custom)..."
    There's a field for "Additional Command Line Options".
    Enter the options into that field.

    NOTE: Frescobaldi errors if the option filename is enclosed in
    double-quotes.

    Otherwise, the following are acceptable:
    -o <OutputPDF_FilenameWithoutExtn>
    -o <Folder\OutputPDF_FilenameWithoutExtn>   (the folder must exist)
    -o <FullPathOfOutputPDF_FilenameWithoutExtn>
    etc.

    Also, (I expect that) other LilyPond command line options may be
    added into this field as required.


Reply to Saul Tobin:
I use \bookOutputName to generate different output files, but when I try a full output path, or a folder path, in LilyPond, they are ignored.
My previous "acceptable" options within Frescobaldi, do allow those options.

Reply via email to