Is is possible to connect one of either WinEdt or TeXnicCenter (Windows variant) such that it uses a TeTeX distribution of LaTeX that is included from a Cygwin distribution? I simply cannot use MiKTeX because my bash-specific scripts called from the top level of my latex source using an \immediate\write18 command will not work u开发者_JS百科sing MS-DO(rk)S.
Ideally, what I would like to do is get WinEdt or TeXnicCenter to open a cygwin window and run pdflatex on the master source file everytime I want to compile. Any ideas? I typically use TextEdit on a Mac which makes it relatively easy for a user, so I'm not very well versed in changing these config options in Windows.
OK. So I spent the last five days figuring this out. I was having severe problems because the command line switch for PDFLATEX was not specified (pdflatex is a symbolic link to pdfetex)
- Install Cygwin and your packages
- Do not install MiKTeX
- Add the C:\cygdrive\bin to the path
- Install WinEdt
- Set the Execution mode for pdflatex to run the binary 'pdfetex -efmt=pdflatex' (the last bit is CRITICAL for pdflatex to work correctly)
It seems to work ok now.
I expect that you could do something similar with MiKTeX, but like I said, I ABSOLUTELY needed seamless bash integration, so the Cygwin distribution of TeTeX was a better choice for me (unless I find otherwise).
精彩评论