<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="synctex-search"> <info> <link type="guide" xref="index#synctex" group="fifth"/> <desc>Flip between the <app>document viewer</app> and <app>gedit</app>.</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 Share Alike 3.0</p> </license> </info> <title>Search with SyncTeX</title> <p> After you <link xref="synctex-compile">compile your TeX file with SyncTeX</link>, you will be able to search. SyncTeX even supports forward and backward search from an included file. </p> <section id="forward-search"> <title>Forward search: from TeX to PDF (from <app>gedit</app> to the <app>document viewer</app>)</title> <p> Forward search allows you to click on a specific section of TeX source code, and jump to the associated position in the PDF. To perform forward search: </p> <steps> <item> <p> Click on a line in the TeX file. </p> </item> <item> <p> In <app>gedit</app>, click <guiseq><gui>Tools</gui> <gui>Forward Search</gui></guiseq>. The corresponding line in the PDF will be outlined in red. </p> <p> Alternatively, you can press <keyseq><key>Ctrl</key><key>Alt</key><key>F</key></keyseq>, or <keyseq><key>Ctrl</key>left click</keyseq>. The corresponding line in the PDF will be outlined in red. </p> </item> </steps> <note> <p> If the corresponding PDF file is not open, performing a forward search will open the PDF in the <app>document viewer</app>. </p> </note> <p> If you have a complex project with several TeX files you can put </p> <code>% mainfile: mainfile.tex</code> <p> either in the first or last three lines of each included TeX file, and forward search will work. Backward search should always work, even if you don't add the modeline. </p> </section> <section id="backward-search"> <title>Backward search: from PDF to TeX (from the <app>document viewer</app> to <app>gedit</app>)</title> <p> Backward search allows you to click on a specific line in the PDF file, and jump to the associated line in the TeX source code. </p> <p> You can perform a backward search by pressing <keyseq><key>Ctrl</key>left click</keyseq> in the <app>document viewer</app>. The corresponding line in the TeX source code will be highlighted. </p> </section> </page>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
figures | Folder | 0755 |
|
|
annotation-properties.page | File | 1.61 KB | 0644 |
|
annotations-delete.page | File | 1.4 KB | 0644 |
|
annotations-disabled.page | File | 765 B | 0644 |
|
annotations-navigate.page | File | 1.23 KB | 0644 |
|
annotations-save.page | File | 1.4 KB | 0644 |
|
annotations.page | File | 2.41 KB | 0644 |
|
bookmarks.page | File | 2.58 KB | 0644 |
|
bug-filing.page | File | 1.94 KB | 0644 |
|
commandline.page | File | 2.29 KB | 0644 |
|
convertPostScript.page | File | 1.67 KB | 0644 |
|
convertSVG.page | File | 1.51 KB | 0644 |
|
convertpdf.page | File | 2.04 KB | 0644 |
|
default-settings.page | File | 1.25 KB | 0644 |
|
develop.page | File | 1.05 KB | 0644 |
|
documentation.page | File | 1.1 KB | 0644 |
|
duplex-10pages.page | File | 2.52 KB | 0644 |
|
duplex-11pages.page | File | 2.3 KB | 0644 |
|
duplex-12pages.page | File | 1.3 KB | 0644 |
|
duplex-13pages.page | File | 3.69 KB | 0644 |
|
duplex-14pages.page | File | 2.53 KB | 0644 |
|
duplex-15pages.page | File | 1.05 KB | 0644 |
|
duplex-16pages.page | File | 1.37 KB | 0644 |
|
duplex-3pages.page | File | 1.83 KB | 0644 |
|
duplex-4pages.page | File | 1.33 KB | 0644 |
|
duplex-5pages.page | File | 3.47 KB | 0644 |
|
duplex-6pages.page | File | 2.54 KB | 0644 |
|
duplex-7pages.page | File | 2.32 KB | 0644 |
|
duplex-8pages.page | File | 1.33 KB | 0644 |
|
duplex-9pages.page | File | 3.75 KB | 0644 |
|
duplex-npages.page | File | 2 KB | 0644 |
|
editing.page | File | 1.11 KB | 0644 |
|
finding.page | File | 2.41 KB | 0644 |
|
formats.page | File | 1.49 KB | 0644 |
|
forms-saving.page | File | 2.17 KB | 0644 |
|
forms.page | File | 1.24 KB | 0644 |
|
headerbar.page | File | 1.5 KB | 0644 |
|
index.page | File | 2.11 KB | 0644 |
|
introduction.page | File | 795 B | 0644 |
|
invert-colors.page | File | 1.12 KB | 0644 |
|
legal-unported.xml | File | 297 B | 0644 |
|
legal.xml | File | 497 B | 0644 |
|
license.page | File | 1.81 KB | 0644 |
|
movingaround.page | File | 5.95 KB | 0644 |
|
noprint.page | File | 2.92 KB | 0644 |
|
openerror.page | File | 816 B | 0644 |
|
opening.page | File | 1.94 KB | 0644 |
|
password.page | File | 1.53 KB | 0644 |
|
presentations.page | File | 2.41 KB | 0644 |
|
print-2sided.page | File | 1.1 KB | 0644 |
|
print-booklet.page | File | 1014 B | 0644 |
|
print-differentsize.page | File | 1.84 KB | 0644 |
|
print-order.page | File | 1.8 KB | 0644 |
|
print-pagescaling.page | File | 1.75 KB | 0644 |
|
print-select.page | File | 1.2 KB | 0644 |
|
printing.page | File | 1.51 KB | 0644 |
|
reload.page | File | 948 B | 0644 |
|
shortcuts.page | File | 8.93 KB | 0644 |
|
singlesided-13-16pages.page | File | 2.42 KB | 0644 |
|
singlesided-17-20pages.page | File | 2.43 KB | 0644 |
|
singlesided-3-4pages.page | File | 2.33 KB | 0644 |
|
singlesided-5-8pages.page | File | 2.38 KB | 0644 |
|
singlesided-9-12pages.page | File | 2.41 KB | 0644 |
|
singlesided-npages.page | File | 2.62 KB | 0644 |
|
synctex-beamer.page | File | 1.91 KB | 0644 |
|
synctex-compile.page | File | 951 B | 0644 |
|
synctex-editors.page | File | 1.75 KB | 0644 |
|
synctex-search.page | File | 2.45 KB | 0644 |
|
synctex-support.page | File | 1.34 KB | 0644 |
|
synctex.page | File | 729 B | 0644 |
|
textselection.page | File | 1.32 KB | 0644 |
|
translate.page | File | 1.65 KB | 0644 |
|