1. Scenario
I have installed Cygwin, and included TeX Live so that I can compile LaTeX files in Cygwin.Then I install WinEdt 9, and to save hard disk space, I would like to configure WinEdt such that it can (re-)use Cygwin/Tex Live.
2. Configuration
2.1. Edit System Environment Vaiables to include Path to Cygwin Executables
Skip this step if you have included the path to Cygwin executables.
- In Windows 8.1, press [Windows Key] + [Q], type "variables", and select "Edit the system environment variables" from the list. (For other Windows versions, try to find "System Properties", then select "Environment Variables...".)
- Under System variables, select "Path" variable, click "Edit...". Append ";C:\cygwin\bin" to the value.
- Click 'Ok' three times to complete.
2.2. Configure WinEdt 9
- Select Options > Configurations > TeX Live. This tells WinEdt 9 to make use of TeX Live.
- Go to Options > Execution Modes.
- Select TeX System tab.
- Modify the following fields
- TeX Root: C:\cygwin
- TeX Bin: C:\cygwin\bin
- TeX Help: C:\cygwin\usr\share\texmf-dist\doc
- Select TeX Options tab.
- Modify the following fields
- Default PDFTeXify Engine: pdftex.exe -fmt=latex -output-format=pdf
3. Bonus
Can use Sumatra PDF, which synchronizes well with WinEdt and TeX Live.