From: Juergen Spitzmueller Date: Sat, 28 Sep 2024 11:11:46 +0000 (+0200) Subject: Amend 770362da97d28 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=135889c63459451d3662bd4cdbb8ced78c459357;p=lyx.git Amend 770362da97d28 preview needs proper --lily-output-dir --- 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)