]> www.fi.muni.cz Git - evince.git/blob - help/C/synctex-beamer.page
SyncTex: All topics completed in draft form.
[evince.git] / help / C / synctex-beamer.page
1 <page xmlns="http://projectmallard.org/1.0/"
2       type="topic" style="task"
3       id="synctex-beamer">
4
5   <info>
6     <link type="guide" xref="index#synctex" group="sixth"/>
7     <desc>Using SyncTex with the LaTeX Beamer class.</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>Beamer with SyncTex</title>
20 <p>
21     Beamer is a LaTeX class for creating slides for presentations.
22 </p>
23 <p>
24    You can perform forward and backward search in a <em>Beamer-LaTeX</em> presentation in a similar fashion to <link xref="synctex-search">searchng</link> through other TeX files compiled with SyncTex.  However the search brings you to the corresponding frame (slide), not necessarily the associated line of text.  This difference is outlined in detail below.
25 </p>
26 <section id="forward-search">
27     <title>Forward Search: From Beamer-LaTeX source to PDF (<app>Gedit</app> to <app>Evince</app>)</title>
28     <p>
29       With <link xref="synctex-search#forward-search">forward search</link>, you can click on a specific line of Beamer-LaTeX source code. The <em>top</em> of the corresponding slide in the PDF will be outlined in red.  This will often be the <em>frametitle</em>.  
30     </p>
31 </section>
32
33 <section id="backward-search">
34 <note>
35     <p>
36      Before you can perform backward searching, you will need to perform a forward search from the Beamer-LateX source.
37     </p>
38 </note>
39     <title>Backward Search: From PDF to Beamer-LaTeX source(<app>Evince</app> to <app>Gedit</app>)</title>
40      <p>
41      With <link xref="synctex-search#backward-search">backward search</link>, you click on some text in a slide, and the corresponding line of LaTex code that ends that particular slide is highlighted.
42      </p>
43  <code>\end{frame}</code>
44
45    <note style="bug">
46     <p>
47       Frames marked as [fragile] using the <em>listings</em> package may:
48     </p>
49    
50     <list>
51      <item>
52        <p>
53  open the .vrb file that may or may not correspond to the <em>lstlisting</em>.  Try clicking on the frametitle or the previious slide to get to the general location in the source.
54      </p>
55      </item>
56       <item>
57        <p>
58        cause <app>Evince</app> to close.  If this happens, you will need to close <app>Gedit</app> also, and re-open both files.
59     </p>
60      </item>
61   </list>
62    </note>
63 </section>
64
65
66 </page>