mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Drop eLyXer, part1.
Last release 2013, no more present as distro package, python2 requirement.
This commit is contained in:
parent
90a876a049
commit
86c06ea93c
@ -838,8 +838,7 @@ def checkFormatEntries(dtl_tools):
|
|||||||
#
|
#
|
||||||
checkViewerEditor('an OpenDocument viewer', ['libreoffice', 'lwriter', 'lowriter', 'oowriter', 'swriter', 'abiword'],
|
checkViewerEditor('an OpenDocument viewer', ['libreoffice', 'lwriter', 'lowriter', 'oowriter', 'swriter', 'abiword'],
|
||||||
rc_entry = [r'''\Format odt odt "OpenDocument (tex4ht)" "" "%%" "%%" "document,vector,menu=export" "application/vnd.oasis.opendocument.text"
|
rc_entry = [r'''\Format odt odt "OpenDocument (tex4ht)" "" "%%" "%%" "document,vector,menu=export" "application/vnd.oasis.opendocument.text"
|
||||||
\Format odt2 odt "OpenDocument (eLyXer)" "" "%%" "%%" "document,vector,menu=export" "application/vnd.oasis.opendocument.text"
|
\Format odt2 odt "OpenDocument (Pandoc)" "" "%%" "%%" "document,vector,menu=export" "application/vnd.oasis.opendocument.text"
|
||||||
\Format odt3 odt "OpenDocument (Pandoc)" "" "%%" "%%" "document,vector,menu=export" "application/vnd.oasis.opendocument.text"
|
|
||||||
\Format sxw sxw "OpenOffice.Org (sxw)" "" "" "" "document,vector" "application/vnd.sun.xml.writer"'''])
|
\Format sxw sxw "OpenOffice.Org (sxw)" "" "" "" "document,vector" "application/vnd.sun.xml.writer"'''])
|
||||||
#
|
#
|
||||||
checkViewerEditor('a Rich Text and Word viewer', ['libreoffice', 'lwriter', 'lowriter', 'oowriter', 'swriter', 'abiword'],
|
checkViewerEditor('a Rich Text and Word viewer', ['libreoffice', 'lwriter', 'lowriter', 'oowriter', 'swriter', 'abiword'],
|
||||||
@ -948,24 +947,7 @@ def checkConverterEntries():
|
|||||||
checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
|
checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
|
||||||
rc_entry = [ r'\converter word latex "%%" ""' ])
|
rc_entry = [ r'\converter word latex "%%" ""' ])
|
||||||
|
|
||||||
# eLyXer: search as an executable (elyxer.py, elyxer)
|
# search for HTML converters
|
||||||
path, elyxer = checkProg('a LyX -> HTML converter',
|
|
||||||
['elyxer.py --nofooter --directory $$r $$i $$o', 'elyxer --nofooter --directory $$r $$i $$o'],
|
|
||||||
rc_entry = [ r'\converter lyx html "%%" ""' ])
|
|
||||||
path, elyxer = checkProg('a LyX -> HTML (MS Word) converter',
|
|
||||||
['elyxer.py --nofooter --html --directory $$r $$i $$o', 'elyxer --nofooter --html --directory $$r $$i $$o'],
|
|
||||||
rc_entry = [ r'\converter lyx wordhtml "%%" ""' ])
|
|
||||||
path, elyxer = checkProg('a LyX -> OpenDocument (eLyXer) converter',
|
|
||||||
['elyxer.py --html --nofooter --unicode --directory $$r $$i $$o', 'elyxer --html --nofooter --unicode --directory $$r $$i $$o'],
|
|
||||||
rc_entry = [ r'\converter lyx odt2 "%%" ""' ])
|
|
||||||
path, elyxer = checkProg('a LyX -> Word converter',
|
|
||||||
['elyxer.py --html --nofooter --unicode --directory $$r $$i $$o', 'elyxer --html --nofooter --unicode --directory $$r $$i $$o'],
|
|
||||||
rc_entry = [ r'\converter lyx word "%%" ""' ])
|
|
||||||
if elyxer.find('elyxer') >= 0:
|
|
||||||
addToRC(r'''\copier html "$${python} $$s/scripts/ext_copy.py -e html,png,jpg,jpeg,css $$i $$o"''')
|
|
||||||
addToRC(r'''\copier wordhtml "$${python} $$s/scripts/ext_copy.py -e html,png,jpg,jpeg,css $$i $$o"''')
|
|
||||||
else:
|
|
||||||
# search for HTML converters other than eLyXer
|
|
||||||
# On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/
|
# On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/
|
||||||
path, htmlconv = checkProg('a LaTeX -> HTML converter', ['htlatex $$i', 'htlatex.sh $$i',
|
path, htmlconv = checkProg('a LaTeX -> HTML converter', ['htlatex $$i', 'htlatex.sh $$i',
|
||||||
'/usr/share/tex4ht/htlatex $$i', 'tth -t -e2 -L$$b < $$i > $$o',
|
'/usr/share/tex4ht/htlatex $$i', 'tth -t -e2 -L$$b < $$i > $$o',
|
||||||
|
Loading…
Reference in New Issue
Block a user