* lib/configure.py:

- add support for Graphviz Dot files (bug 4882).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24932 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-05-25 08:49:15 +00:00
parent 033c3df44c
commit fce7799859

View File

@ -266,6 +266,7 @@ def checkFormatEntries(dtl_tools):
\Format dateout tmp "date (output)" "" "" "%%" "" \Format dateout tmp "date (output)" "" "" "%%" ""
\Format docbook sgml DocBook B "" "%%" "document" \Format docbook sgml DocBook B "" "%%" "document"
\Format docbook-xml xml "Docbook (XML)" "" "" "%%" "document" \Format docbook-xml xml "Docbook (XML)" "" "" "%%" "document"
\Format dot dot "Graphviz Dot" "" "" "%%" "vector"
\Format literate nw NoWeb N "" "%%" "document" \Format literate nw NoWeb N "" "%%" "document"
\Format lilypond ly "LilyPond music" "" "" "%%" "vector" \Format lilypond ly "LilyPond music" "" "" "%%" "vector"
\Format latex tex "LaTeX (plain)" L "" "%%" "document" \Format latex tex "LaTeX (plain)" L "" "%%" "document"
@ -477,6 +478,9 @@ def checkConverterEntries():
\converter agr ppm "gracebat -hardcopy -printfile $$o -hdevice PNM $$i 2>/dev/null" ""''', \converter agr ppm "gracebat -hardcopy -printfile $$o -hdevice PNM $$i 2>/dev/null" ""''',
'']) ''])
# #
checkProg('a Dot -> PDF converter', ['dot -Tpdf $$i -o $$o'],
rc_entry = [ r'\converter dot pdf "%%" ""'])
#
# #
path, lilypond = checkProg('a LilyPond -> EPS/PDF/PNG converter', ['lilypond']) path, lilypond = checkProg('a LilyPond -> EPS/PDF/PNG converter', ['lilypond'])
if (lilypond != ''): if (lilypond != ''):