mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
configure.py:
- add support for newer lilypond versions (bug 5834). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28815 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c7a08d57ce
commit
b52205d30b
@ -519,7 +519,12 @@ def checkConverterEntries():
|
||||
if match:
|
||||
version_number = match.groups()[0]
|
||||
version = version_number.split('.')
|
||||
if int(version[0]) > 2 or (len(version) > 1 and int(version[0]) == 2 and int(version[1]) >= 6):
|
||||
if int(version[0]) > 2 or (len(version) > 1 and int(version[0]) == 2 and int(version[1]) >= 11):
|
||||
addToRC(r'''\converter lilypond eps "lilypond -dbackend=eps --ps $$i" ""
|
||||
\converter lilypond png "lilypond -dbackend=eps --png $$i" ""''')
|
||||
addToRC(r'\converter lilypond pdf "lilypond -dbackend=eps --pdf $$i" ""')
|
||||
print '+ found LilyPond version %s.' % version_number
|
||||
elif int(version[0]) > 2 or (len(version) > 1 and int(version[0]) == 2 and int(version[1]) >= 6):
|
||||
addToRC(r'''\converter lilypond eps "lilypond -b eps --ps $$i" ""
|
||||
\converter lilypond png "lilypond -b eps --png $$i" ""''')
|
||||
if int(version[0]) > 2 or (len(version) > 1 and int(version[0]) == 2 and int(version[1]) >= 9):
|
||||
|
Loading…
Reference in New Issue
Block a user