From 135889c63459451d3662bd4cdbb8ced78c459357 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 28 Sep 2024 13:11:46 +0200 Subject: [PATCH] Amend 770362da97d28 preview needs proper --lily-output-dir --- lib/scripts/lyxpreview2bitmap.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/scripts/lyxpreview2bitmap.py b/lib/scripts/lyxpreview2bitmap.py index f7d4edcc8d..56314356d1 100755 --- a/lib/scripts/lyxpreview2bitmap.py +++ b/lib/scripts/lyxpreview2bitmap.py @@ -425,6 +425,10 @@ def main(argv): if pdf_output: lilypond_book += " --pdf" lilypond_book += " --latex-program=%s" % latex.split()[0] + if pdf_output: + lilypond_book += " --lily-output-dir=ly-pdf" + else: + lilypond_book += " --lily-output-dir=ly-eps" # Make a copy of the latex file lytex_file = latex_file_re.sub(".lytex", latex_file) -- 2.39.5