[LyX/master] Amend 770362da97d28
Juergen Spitzmueller
spitz at lyx.org
Sat Sep 28 11:12:57 UTC 2024
commit 135889c63459451d3662bd4cdbb8ced78c459357
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sat Sep 28 13:11:46 2024 +0200
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)
More information about the lyx-cvs
mailing list