[Pkg-lyx-devel] Seaching for elyxer.py and elyxer in configure.py?
Sven Hoexter
sven at timegate.de
Thu Jun 4 08:09:15 UTC 2009
On Wed, Jun 03, 2009 at 09:25:06PM +0200, Sven Hoexter wrote:
> Hi,
> would it be feasible to search for elyxer.py and elyxer in configure.py?
Maybe I missed something but just this morning it all seems to be a lot
easier.
Attached is a patch to get the desired behaviour. Works here[tm]. ;)
Sven
--
forevermore
-------------- next part --------------
Search for elyxer instead of elyxer.py.
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -389,9 +389,9 @@ def checkConverterEntries():
checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
rc_entry = [ r'\converter word latex "%%" ""' ])
#
- path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py $$i $$o'],
+ path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py $$i $$o', 'elyxer $$i $$o'],
rc_entry = [ r'\converter lyx html "%%" ""' ])
- if elyxer.find('elyxer.py') >= 0:
+ if elyxer.find('elyxer') >= 0:
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py -e html,png,css $$i $$o"''')
else:
# On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/
More information about the Pkg-lyx-devel
mailing list