From: Enrico Forestieri Date: Mon, 9 May 2011 23:54:46 +0000 (+0000) Subject: MikTeX's kpsewhich doesn't mention "kpathsea emulation" anymore. X-Git-Tag: 2.0.1~325 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=23891733a3255f9034d013254716f395b3a6b656;p=features.git 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. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38682 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/scripts/TeXFiles.py b/lib/scripts/TeXFiles.py index e13425d8ef..578fd56a43 100755 --- a/lib/scripts/TeXFiles.py +++ b/lib/scripts/TeXFiles.py @@ -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 = ':' diff --git a/status.20x b/status.20x index 8d782d150a..c64fe20fef 100644 --- a/status.20x +++ b/status.20x @@ -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