preview needs proper --lily-output-dir

(cherry picked from commit 135889c634)
This commit is contained in:
Juergen Spitzmueller 2024-09-28 13:11:46 +02:00
parent 86ba8bb7ed
commit 2051bfed43
2 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -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