mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
Compare commits
2 Commits
f56fcd01a2
...
2051bfed43
Author | SHA1 | Date | |
---|---|---|---|
|
2051bfed43 | ||
|
86ba8bb7ed |
@ -412,7 +412,11 @@ def main(argv):
|
|||||||
bibtex = find_exe(bibtex or bibtex_commands)
|
bibtex = find_exe(bibtex or bibtex_commands)
|
||||||
if lilypond:
|
if lilypond:
|
||||||
lilypond_book = find_exe_or_terminate(lilypond_book or
|
lilypond_book = find_exe_or_terminate(lilypond_book or
|
||||||
["lilypond-book --safe"])
|
["lilypond-book"])
|
||||||
|
if lilypond_book and latex == "latex":
|
||||||
|
# with lilypond, we default to pdflatex rather than latex
|
||||||
|
# as we do not want to deal with eps conversion (see #13103)
|
||||||
|
latex = "pdflatex"
|
||||||
|
|
||||||
# These flavors of latex are known to produce pdf output
|
# These flavors of latex are known to produce pdf output
|
||||||
pdf_output = latex in pdflatex_commands
|
pdf_output = latex in pdflatex_commands
|
||||||
@ -433,6 +437,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)
|
||||||
|
@ -55,6 +55,8 @@ What's new
|
|||||||
- Work around bug in aa.cls in the "Astronomy & Astrophysics" template
|
- Work around bug in aa.cls in the "Astronomy & Astrophysics" template
|
||||||
and example documents.
|
and example documents.
|
||||||
|
|
||||||
|
- Fix instant preview of lilypond snippets (bug 13103).
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user