Add recognition to eLyXer

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150466.html
http://www.lyx.org/trac/ticket/5929


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29448 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-04-30 20:16:02 +00:00
parent b69946bee0
commit b12096dc21

View File

@ -386,6 +386,14 @@ def checkConverterEntries():
checkProg('a Noweb -> LaTeX converter', ['noweave -delay -index $$i > $$o'],
rc_entry = [r'''\converter literate latex "%%" ""
\converter literate pdflatex "%%" ""'''])
#
path, elyx = checkProg('eLyXer converter', ['elyxer $$i $$o'],
rc_entry = [ r'\converter lyx elyxhtml "%%" ""' ] )
if elyx.find('elyxer') >= 0 :
addToRC(r'''\copier elyxhtml "python -tt $$s/scripts/ext_copy.py -e html,png,css $$i $$o"''')
checkViewer('an eLyXer previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'],
rc_entry = [r'\Format elyxhtml html "HTML (eLyXer)" e "%%" "" "document"'])
#
checkProg('an HTML -> LaTeX converter', ['html2latex $$i', 'gnuhtml2latex $$i', \
'htmltolatex -input $$i -output $$o', 'java -jar htmltolatex.jar -input $$i -output $$o'],