~ubuntu-branches/ubuntu/oneiric/evince/oneiric-updates

« back to all changes in this revision

Viewing changes to help/eu/synctex-compile.page

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2011-04-14 16:20:57 UTC
  • mfrom: (1.6.4 upstream)
  • mto: (1.3.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 138.
  • Revision ID: james.westby@ubuntu.com-20110414162057-0ofhbd139zs6ev6y
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

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