Author: forenr
Date: Tue May 10 01:54:46 2011
New Revision: 38682
URL: http://www.lyx.org/trac/changeset/38682

Log:
MikTeX's kpsewhich doesn't mention "kpathsea emulation" anymore.
On Cygwin, the most reliable way to tell what is the right path
separator to use is a direct check.

Modified:
   lyx-devel/branches/BRANCH_2_0_X/lib/scripts/TeXFiles.py
   lyx-devel/branches/BRANCH_2_0_X/status.20x

Modified: lyx-devel/branches/BRANCH_2_0_X/lib/scripts/TeXFiles.py
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/lib/scripts/TeXFiles.py     Tue May 10 
01:25:51 2011        (r38681)
+++ lyx-devel/branches/BRANCH_2_0_X/lib/scripts/TeXFiles.py     Tue May 10 
01:54:46 2011        (r38682)
@@ -73,9 +73,7 @@
 # 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 = ':'

Modified: lyx-devel/branches/BRANCH_2_0_X/status.20x
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/status.20x  Tue May 10 01:25:51 2011        
(r38681)
+++ lyx-devel/branches/BRANCH_2_0_X/status.20x  Tue May 10 01:54:46 2011        
(r38682)
@@ -78,6 +78,9 @@
 
 - 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
 

Reply via email to