<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="synctex-compile" xml:lang="it">

  <info>
    <link type="guide" xref="index#synctex" group="third"/>
    <desc>Come compilare un documento TeX con SyncTeX</desc>

    <revision pkgversion="3.2" version="0.1" date="2011-09-05" status="final"/>
    <credit type="author">
      <name>Tiffany Antopolski</name>
      <email>tiffany@antopolski.com</email>
    </credit>
    <license>
      <p>Licenza Creative Commons Condividi allo stesso modo 3.0</p>
    </license>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Davide Ferracin</mal:name>
      <mal:email>davide.ferracin@protonmail.com</mal:email>
      <mal:years>2022</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Milo Casagrande</mal:name>
      <mal:email>milo@ubuntu.com</mal:email>
      <mal:years>2008</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Gruppo traduzione Italiano di Ubuntu,</mal:name>
      <mal:email>gruppo-traduzione@ubuntu-it.org</mal:email>
      <mal:years>2006</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Luca Ferretti</mal:name>
      <mal:email>elle.uca@libero.it</mal:email>
      <mal:years>2006</mal:years>
    </mal:credit>
  </info>

<title>Compilare TeX con SyncTeX</title>
<p>Per attivare la sincronizzazione con SyncTeX, aggiungere la riga <em>\synctex=1</em> nel preambolo del file TeX.</p>
<code>
\documentclass{article}
\synctex=1
\usepackage{fullpage}
\begin{document}
...
\end{document}
</code>
<p>In alternativa si può lanciare il comando pdflatex con l'opzione <em>-synctex=1</em>:</p>
<screen>pdflatex -synctex=1 file.tex</screen>
</page>
