second part of #7383: lilypond -> xetex|luatex converters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38144 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Julien Rioux 2011-03-30 00:30:49 +00:00
parent a6a23d1781
commit b3230005c9

View File

@ -890,8 +890,10 @@ def checkConverterEntries():
# even when requested with --pdf. This is a problem if a user # even when requested with --pdf. This is a problem if a user
# clicks View PDF after having done a View DVI. To circumvent # clicks View PDF after having done a View DVI. To circumvent
# this, use different output folders for eps and pdf outputs. # this, use different output folders for eps and pdf outputs.
addToRC(r'\converter lilypond-book latex "lilypond-book --safe --lily-output-dir=ly-eps $$i" ""') addToRC(r'\converter lilypond-book latex "lilypond-book --safe --lily-output-dir=ly-eps $$i" "latex"')
addToRC(r'\converter lilypond-book pdflatex "lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf $$i" ""') addToRC(r'\converter lilypond-book pdflatex "lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf $$i" "latex=pdflatex"')
addToRC(r'\converter lilypond-book xetex "lilypond-book --safe --pdf --latex-program=xelatex --lily-output-dir=ly-pdf $$i" "latex=xelatex"')
addToRC(r'\converter lilypond-book luatex "lilypond-book --safe --pdf --latex-program=lualatex --lily-output-dir=ly-pdf $$i" "latex=lualatex"')
logger.info('+ found LilyPond-book version %s.' % version_number) logger.info('+ found LilyPond-book version %s.' % version_number)
else: else:
logger.info('+ found LilyPond-book, but version %s is too old.' % version_number) logger.info('+ found LilyPond-book, but version %s is too old.' % version_number)