]> www.fi.muni.cz Git - evince.git/blob - help/C/synctex-compile.page
Synctex: adding support and searching.
[evince.git] / help / C / synctex-compile.page
1 <page xmlns="http://projectmallard.org/1.0/"
2       type="topic" style="task"
3       id="synctex-compile">
4
5   <info>
6     <link type="guide" xref="index#synctex" group="third"/>
7     <desc>How to compile your TeX document with SyncTex</desc>
8
9     <revision pkgversion="2.32" version="0.1" date="2010-09-28" status="draft"/>
10     <credit type="author">
11       <name>Tiffany Antopolski</name>
12       <email>tiffany@antopolski.com</email>
13     </credit>
14     <license>
15       <p>Creative Commons Share Alike 3.0</p>
16     </license>
17   </info>
18
19 <title>Compile TeX with SyncTex</title>
20 <p>
21 Adding the line <em>\synctex=1</em> in the preamble of your TeX file will trigger synchronization with SyncTeX.
22 </p>
23 <code>
24 \documentclass{article}
25 \synctex=1
26 \usepackage{fullpage}
27 \begin{document}
28 ...
29 \end{document}
30 </code>
31 <p>
32   Alternatively, you can run the pdflatex command with the <em>-synctex=1</em> option:
33 </p>
34 <screen>pdflatex -synctex=1 yourFile.tex</screen>
35 </page>