mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
* configure.py:
- add support for eLyXer. This is supposed to be the last change before 1.6.3. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29905 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a92e43cc23
commit
867a20caae
@ -388,20 +388,26 @@ def checkConverterEntries():
|
||||
#
|
||||
checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
|
||||
rc_entry = [ r'\converter word latex "%%" ""' ])
|
||||
# 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', \
|
||||
'/usr/share/tex4ht/htlatex $$i', 'tth -t -e2 -L$$b < $$i > $$o', \
|
||||
'latex2html -no_subdir -split 0 -show_section_numbers $$i', 'hevea -s $$i'],
|
||||
rc_entry = [ r'\converter latex html "%%" "needaux"' ])
|
||||
if htmlconv.find('htlatex') >= 0 or htmlconv == 'latex2html':
|
||||
#
|
||||
path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py $$i $$o'],
|
||||
rc_entry = [ r'\converter lyx html "%%" ""' ])
|
||||
if elyxer.find('elyxer.py') >= 0:
|
||||
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py -e html,png,css $$i $$o"''')
|
||||
else:
|
||||
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py $$i $$o"''')
|
||||
# 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', \
|
||||
'/usr/share/tex4ht/htlatex $$i', 'tth -t -e2 -L$$b < $$i > $$o', \
|
||||
'latex2html -no_subdir -split 0 -show_section_numbers $$i', 'hevea -s $$i'],
|
||||
rc_entry = [ r'\converter latex html "%%" "needaux"' ])
|
||||
if htmlconv.find('htlatex') >= 0 or htmlconv == 'latex2html':
|
||||
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py -e html,png,css $$i $$o"''')
|
||||
else:
|
||||
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py $$i $$o"''')
|
||||
|
||||
# On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/
|
||||
path, htmlconv = checkProg('a LaTeX -> MS Word converter', ["htlatex $$i 'html,word' 'symbol/!' '-cvalidate'", \
|
||||
"htlatex.sh $$i 'html,word' 'symbol/!' '-cvalidate'", \
|
||||
"/usr/share/tex4ht/htlatex $$i 'html,word' 'symbol/!' '-cvalidate'"],
|
||||
"/usr/share/tex4ht/htlatex $$i 'html,word' 'symbol/!' '-cvalidate'"],
|
||||
rc_entry = [ r'\converter latex wordhtml "%%" "needaux"' ])
|
||||
if htmlconv.find('htlatex') >= 0:
|
||||
addToRC(r'''\copier wordhtml "python -tt $$s/scripts/ext_copy.py -e html,png,css $$i $$o"''')
|
||||
|
@ -80,6 +80,8 @@ What's new
|
||||
\makeatletter and \makeatother when exporting to LaTeX and not only
|
||||
when the @-glyph explicitly appears.
|
||||
|
||||
- The new eLyXer converter is used for HTML output if available.
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user