commit 135889c63459451d3662bd4cdbb8ced78c459357
Author: Juergen Spitzmueller <sp...@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)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to