preview needs proper --lily-output-dir
This commit is contained in:
Juergen Spitzmueller 2024-09-28 13:11:46 +02:00
parent 770362da97
commit 135889c634

View File

@ -425,6 +425,10 @@ def main(argv):
if pdf_output: if pdf_output:
lilypond_book += " --pdf" lilypond_book += " --pdf"
lilypond_book += " --latex-program=%s" % latex.split()[0] 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 # Make a copy of the latex file
lytex_file = latex_file_re.sub(".lytex", latex_file) lytex_file = latex_file_re.sub(".lytex", latex_file)