]> git.lyx.org Git - lyx.git/commitdiff
Amend 770362da97d28
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 28 Sep 2024 11:11:46 +0000 (13:11 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 28 Sep 2024 11:11:46 +0000 (13:11 +0200)
preview needs proper --lily-output-dir

lib/scripts/lyxpreview2bitmap.py

index f7d4edcc8d284b98bc2fa0b3972915560721d65f..56314356d182368e34db5be9b6ae2a78dde96206 100755 (executable)
@@ -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)