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="bn">
3
4  <info>
5    <link type="guide" xref="index#synctex" group="third"/>
6    <desc>How to compile your TeX document with SyncTeX</desc>
7    <revision pkgversion="1.25" version="0.1" date="2021-03-13" status="final"/>
8    <credit type="author">
9      <name>Tiffany Antopolski</name>
10      <email>tiffany@antopolski.com</email>
11    </credit>
12    <license>
13      <p>Creative Commons Share Alike 3.0</p>
14    </license>
15  </info>
16
17<title>Compile TeX with SyncTeX</title>
18<p>
19Adding the line <em>\synctex=1</em> in the preamble of your TeX file will trigger synchronization with SyncTeX.
20</p>
21<code>
22\documentclass{article}
23\synctex=1
24\usepackage{fullpage}
25\begin{document}
26...
27\end{document}
28</code>
29<p>
30  Alternatively, you can run the pdflatex command with the <em>-synctex=1</em> option:
31</p>
32<screen>pdflatex -synctex=1 yourFile.tex</screen>
33</page>
34