mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 14:04:25 +00:00
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
This commit is contained in:
parent
3649716644
commit
23891733a3
@ -73,9 +73,7 @@ else:
|
|||||||
# Create a variable that holds the right character to be used by the scripts.
|
# Create a variable that holds the right character to be used by the scripts.
|
||||||
path_sep = os.pathsep
|
path_sep = os.pathsep
|
||||||
if sys.platform == 'cygwin':
|
if sys.platform == 'cygwin':
|
||||||
# MikTeX's kpsewhich says "kpathsea emulation version x.x.x", whereas
|
if ';' in cmdOutput('kpsewhich --show-path=.tex'):
|
||||||
# teTeX's simply "kpathsea version x.x.x".
|
|
||||||
if 'emulation' in cmdOutput('kpsewhich --version'):
|
|
||||||
path_sep = ';'
|
path_sep = ';'
|
||||||
else:
|
else:
|
||||||
path_sep = ':'
|
path_sep = ':'
|
||||||
|
@ -78,6 +78,9 @@ What's new
|
|||||||
|
|
||||||
- Display \utilde and \undertilde in formulas correctly (part of bug #6622).
|
- 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
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user