This shows you the differences between two versions of the page.
|
setting_up_sumatra_pdf [2011/09/07 21:10] 128.183.231.238 |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Setting up Sumatra PDF for PDF Viewing ====== | ||
| - | 1. Install Sumatra PDF on your machine. | ||
| - | 2. In Inlage, go to Build -> Compiler Options -> PDF Viewer tab and choose Sumatra PDF (extern) as the viewer program. | ||
| - | 3. Check on "Show PDF after Compile" (optional). | ||
| - | 4. Input the path to the Sumatra PDF executable | ||
| - | Screen shot: | ||
| - | |||
| - | |||
| - | {{:sumatra_setup.png|}} | ||
| - | |||
| - | ====== Setting up Sumatra PDF for Inverse Search ====== | ||
| - | STEP 1: | ||
| - | In the Settings -> Options Window for Sumatra PDF: | ||
| - | - Change the inverse search command line of Sumatra PDF (from [[http://william.famille-blum.org/software/sumatra/|here]]) to the following: | ||
| - | <code>"C:\Program Files (x86)\Inlage 4\Inlage 4.exe" "%f" -n%l</code> | ||
| - | |||
| - | Screen shot: | ||
| - | |||
| - | |||
| - | {{:inverse_search.png|}} | ||
| - | |||
| - | STEP 2: | ||
| - | In the Inlage Build -> Compiler Options Window, you have to set up the SumatraPDF directory in the [[Settings]]. The executable name must be "SumatraPDF.exe" or "SumatraPDF-TeX.exe" for detection. | ||
| - | To use synctex add <code>--synctex=-1</code> to the command line of e.g. pdflatex in the Compiler Options. (The compiler has to support synctex) | ||
| - | |||
| - | Screen shot: | ||
| - | |||
| - | |||
| - | {{:inverse_search_2.png|}} | ||
| - | |||
| - | **NOTE: If you use synctex, you can't use blanks in your filename. Otherwise pdflatex won't compile.** | ||