commit 2051bfed437fa0171483681e8c45a9310214b180
Author: Juergen Spitzmueller <[email protected]>
Date: Sat Sep 28 13:11:46 2024 +0200
Amend 770362da97d28
preview needs proper --lily-output-dir
(cherry picked from commit 135889c63459451d3662bd4cdbb8ced78c459357)
---
lib/scripts/lyxpreview2bitmap.py | 4 ++++
status.24x | 2 ++
2 files changed, 6 insertions(+)
diff --git a/lib/scripts/lyxpreview2bitmap.py b/lib/scripts/lyxpreview2bitmap.py
index 6cb864200d..28d292c6d6 100755
--- a/lib/scripts/lyxpreview2bitmap.py
+++ b/lib/scripts/lyxpreview2bitmap.py
@@ -437,6 +437,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)
diff --git a/status.24x b/status.24x
index d505c33fd9..8dba672be7 100644
--- a/status.24x
+++ b/status.24x
@@ -55,6 +55,8 @@ What's new
- Work around bug in aa.cls in the "Astronomy & Astrophysics" template
and example documents.
+- Fix instant preview of lilypond snippets (bug 13103).
+
* USER INTERFACE
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs