]> git.lyx.org Git - features.git/commitdiff
MikTeX's kpsewhich doesn't mention "kpathsea emulation" anymore.
authorEnrico Forestieri <forenr@lyx.org>
Mon, 9 May 2011 23:54:46 +0000 (23:54 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Mon, 9 May 2011 23:54:46 +0000 (23:54 +0000)
On Cygwin, the most reliable way to tell what is the right path
separator to use is a direct check.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38682 a592a061-630c-0410-9148-cb99ea01b6c8

lib/scripts/TeXFiles.py
status.20x

index e13425d8ef6f24b4247406ff8cb45d1d86b38afc..578fd56a43526050ac7b7070bc59e1e34b7d3c19 100755 (executable)
@@ -73,9 +73,7 @@ else:
 # Create a variable that holds the right character to be used by the scripts.
 path_sep = os.pathsep
 if sys.platform == 'cygwin':
-    # MikTeX's kpsewhich says "kpathsea emulation version x.x.x", whereas
-    # teTeX's simply "kpathsea version x.x.x".
-    if 'emulation' in cmdOutput('kpsewhich --version'):
+    if ';' in cmdOutput('kpsewhich --show-path=.tex'):
         path_sep = ';'
     else:
         path_sep = ':'
index 8d782d150a3b751c7c27fe98688cd64c46917ab5..c64fe20fef4a048daa8cc2140315ccc9b9548da2 100644 (file)
@@ -78,6 +78,9 @@ What's new
 
 - Display \utilde and \undertilde in formulas correctly (part of bug #6622).
 
+- Restore the functionality of the TeX Information dialog on Cygwin if a
+  native Windows TeX engine is used.
+
 
 * DOCUMENTATION AND LOCALIZATION