mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
DocBook: remove now useless function in configure.py.
This commit is contained in:
parent
9a48c8d22b
commit
f28c193569
@ -1265,26 +1265,6 @@ def checkConverterEntries():
|
||||
''')
|
||||
|
||||
|
||||
def checkDocBook():
|
||||
''' Check docbook '''
|
||||
path, DOCBOOK = checkProg('SGML-tools 2.x (DocBook), db2x scripts or xsltproc', ['sgmltools', 'db2dvi', 'xsltproc'],
|
||||
rc_entry = [
|
||||
r'''\converter docbook dvi "sgmltools -b dvi $$i" ""
|
||||
\converter docbook html "sgmltools -b html $$i" ""
|
||||
\converter docbook ps "sgmltools -b ps $$i" ""''',
|
||||
r'''\converter docbook dvi "db2dvi $$i" ""
|
||||
\converter docbook html "db2html $$i" ""''',
|
||||
r'''\converter docbook dvi "" ""
|
||||
\converter docbook html "" ""''',
|
||||
r'''\converter docbook dvi "" ""
|
||||
\converter docbook html "" ""'''])
|
||||
#
|
||||
if DOCBOOK:
|
||||
return ('yes', 'true', '\\def\\hasdocbook{yes}')
|
||||
else:
|
||||
return ('no', 'false', '')
|
||||
|
||||
|
||||
def checkOtherEntries():
|
||||
''' entries other than Format and Converter '''
|
||||
checkProg('ChkTeX', ['chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38'],
|
||||
|
Loading…
Reference in New Issue
Block a user