diff --git a/lib/configure.py b/lib/configure.py index 0b51dedb25..7e989a3ea8 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -665,9 +665,11 @@ def checkConverterEntries(): os.pathsep + path_orig # First search for tex2lyx with version suffix (bug 6986) - checkProg('a LaTeX/Noweb -> LyX converter', ['tex2lyx' + version_suffix, 'tex2lyx'], + path, t2l = checkProg('a LaTeX/Noweb -> LyX converter', ['tex2lyx' + version_suffix, 'tex2lyx'], rc_entry = [r'''\converter latex lyx "%% -f $$i $$o" "" -\converter literate lyx "%% -n -f $$i $$o" ""''']) +\converter literate lyx "%% -n -f $$i $$o" ""'''], not_found = 'tex2lyx') + if path == '': + logger.warning("Failed to find tex2lyx on your system.") os.environ["PATH"] = path_orig diff --git a/status.20x b/status.20x index d3f922d1a6..40cddb1f80 100644 --- a/status.20x +++ b/status.20x @@ -114,3 +114,5 @@ What's new * BUILD/INSTALLATION - Fix compile error with gcc 4.5.3 when using the included mythes library. + +- Fix the detection of the tex2lyx converter (bug 3308).