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

  <info>
    <link type="guide" xref="index#synctex" group="third"/>
    <desc>Comment compiler votre document TeX avec 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>Creative Commons Paternité-Partage des Conditions Initiales à l’Identique 3.0</p>
    </license>
  <credit type="translator copyright"><name>Jonathan Ernst</name><email>jonathan@ernstfamily.ch</email><years>2006, 2007</years></credit><credit type="translator copyright"><name>Claude Paroz</name><email>claude@2xlibre.net</email><years>2006-2008</years></credit><credit type="translator copyright"><name>Bruno Brouard</name><email>annoa.b@gmail.com</email><years>2011-2012</years></credit><credit type="translator copyright"><name>Mickael Albertus</name><email>mickael.albertus@gmail.com</email><years>2012-2013</years></credit><credit type="translator copyright"><name>Michael Scherer</name><email>misc@zarb.org</email><years>2014</years></credit><credit type="translator copyright"><name>Leonor Palazzo</name><email>leonor.palazzo@gmail.com</email><years>2015</years></credit><credit type="translator copyright"><name>Guillaume Bernard</name><email>associations@guillaume-bernard.fr</email><years>2018-2024</years></credit><credit type="translator copyright"><name>J-Paul Bérard</name><email>arverne@wanadoo.fr</email><years>2019</years></credit><credit type="translator copyright"><name>Charles Monzat</name><email>charles.monzat@free.fr</email><years>2020-2021</years></credit><credit type="translator copyright"><name>Irénée Thirion</name><email>irenee.thirion@e.email</email><years>2023-2024</years></credit></info>

<title>Compilation de TeX avec SyncTeX</title>
<p>L’ajout de la ligne <em>\synctex=1</em> dans le préambule de votre fichier TeX déclenche la synchronisation avec SyncTeX.</p>
<code>
\documentclass{article}
\synctex=1
\usepackage{fullpage}
\begin{document}
...
\end{document}
</code>
<p>Vous pouvez également exécuter la commande pdflatex avec l’option <em>-synctex=1</em> :</p>
<screen>pdflatex -synctex=1 yourFile.tex</screen>
</page>
