On Mon, Jun 26, 2006 at 07:50:53PM -0500, Bo Peng wrote: > Under cygwin, TexFiles.py and TexFiles.sh generate identical files.
You beat me at it... > Under a dos prompt, using mingw/sh, > > sh TexFiles.sh generates > C:/texmf/bibtex/bib/apacite/apa5ex.bib > C:/texmf/bibtex/bib/base/test.bib > > while python TexFiles.py generates > > C:/texmf/bibtex/bib\apacite\apa5ex.bib > C:/texmf/bibtex/bib\base\test.bib > C:/texmf/bibtex/bib\base\xampl.bib > > Both are wrong in some sense. Should I change the behavior of > TeXFiles.py? Note that the path returned from miktex uses /, and > python os.path.join uses \. I think that both are correct as both are valid paths on Windows. However, for consistency with previous behavior and with the internal representation used by LyX, you should replace \ with /. Good work, Bo! -- Enrico