#9 Cygwin LaTeX with Windows Python

cygwin (1)

I use Texlive on Cygwin, while my Python is the regular Windows Python. The issue is that kpsewhich returns Cygwin paths, which are not understood by my Windows Python. The result is this error:

IOError: Could not locate the file 'cmr10'.

This is solved by the attached patch, which was created against PyX 0.12 and tested on Win7, Cygwin (reasonably current version) and Python 2.7.

1 Attachments


  • Sybren A. Stüvel

    Also thanks to Dave, who found the source of the problem.

  • Andre Wobst

    Andre Wobst - 2012-10-31

    Couldn't this create a regression for people using cygwin latex and cygwin python?

  • Sybren A. Stüvel

    Nope, because with Cygwin Python os.name != ‘nt’.

  • Andre Wobst

    Andre Wobst - 2012-11-20

    Ok then, thanks for the clarification. Applied to SVN head.

  • Andre Wobst

    Andre Wobst - 2012-11-20
    • status: open --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks