{forward-inverse-search} is a technology for having synchronization between source and preview, e.g., being able to Ctrl-click (or similar) in the source and jump to the corresponding place in the preview of the document, and vice versa.

learn more… | top users | synonyms (3)

52
votes
1answer
11k views

What exactly is SyncTeX?

I stumbled upon these SyncTeX files in my directories and wanted to know what they are for. I searched this site and the internet and I think I have some vague understanding of what it is but I'm ...
33
votes
5answers
13k views

How to setup synctex with vim, pdflatex and an open-source PDF-viewer under Linux?

Inspired by the comments to this answer I am curious how to actually setup and use forward/reverse (inverse) search with vim, pdflatex and an open-source PDF-viewer under Linux. Btw, to give more ...
27
votes
8answers
8k views

Setup SyncTeX with Emacs

I want to setup SyncTeX with Emacs, or, more specifically, with AUCTeX, and Evince in Ubuntu. How can I do that? I would like both forward search (from source to output) and inverse search (from ...
24
votes
2answers
759 views

Is the pdfsync package still relevant?

I just got a bug report for multicol because of a strange white space at the top of the first column and I traced it to the use of the pdfsync package that added material in various places that did ...
21
votes
2answers
16k views

How to configure TeXnicCenter 2.0 with Sumatra (2013/2014 version)

Despite having gone through Configure TexnicCenter with something else than Adobe Reader X and having looked at the TeXnicCenter + Sumatra Tutorial, there seems to some little changes for ...
21
votes
2answers
2k views

Why does LaTeX gzip the synctex file?

Why does latex gzip the synctex file, and no other aux files? Ungzipping the file reveals it is around 40kb, which isn't much. Is this "legacy" behaviour (when computers did not have much storage) or ...
20
votes
4answers
2k views

Forward-inverse search using SyncTeX with the precison of a single word

I would like to know if SyncTeX supports forward search and inverse search in a precision of a single word. The "default" implementation in both TeXLive and MikTeX only seems to be able to synchronize ...
19
votes
3answers
8k views

How to set up inverse search with Okular and Kile

The title pretty much sums it up. I use the package srcltx in my documents. I am running Ubuntu with Kile 2.1 and Okular 0.8.2 as a viewer. I am pretty sure that inverse search should work, but I ...
15
votes
4answers
8k views

Configure forward search with Texmaker + SumatraPDF

Texmaker has a Built-in pdf viewer which supports synctex forward/inverse search out of the box. This Built-in viewer can be displayed embedded or in a separate window, external viewers always have a ...
15
votes
2answers
515 views

Location inside a LaTeX source code

When viewing a pdf of a long LaTeX document, it can sometimes be difficult to find where a certain equation or a line in the pdf is located in the source code, as there are no page numbers in the ...
12
votes
3answers
1k views

Why is synctex in TL 2011 so fussy about filenames?

The forward search script I had written for vim and mupdf is no longer working since installing TL 2011, and upon investigating why, it seems that synctex is now very fussy about filenames, at least ...
10
votes
1answer
2k views

How to configure Emacs and AUCTeX to perform Forward and Inverse Search

I have emacs23 and AucTeX installed on my Ubuntu system. I would like to change the default pdf viewer in emacs and enable forward and inverse search. How do I do it? I would like to share my ...
10
votes
1answer
544 views

SyncTeX points to a wrong location in source or preview document

I have the following pretty simple document: \documentclass[11pt]{article} \usepackage{xltxtra} \usepackage{fontspec} \usepackage{amsmath} \usepackage{polyglossia} \setmainlanguage{russian} ...
10
votes
2answers
3k views

TeXworks: synctex works only partially

I've got a document that compiles without error or warnings (and looks about right) but for some segments of the document synctex doesn't seem to be working. What could be wrong? The document ...
10
votes
1answer
3k views

Configure kile to enable inverse search function

I'm aware of the existence of another thread with almost the same title "How to set up inverse search with Okular and Kile", but it doesn't solve my problem (at least I think so). I'm using Kile (on ...
9
votes
3answers
847 views

Forward Search in Emacs for Okular not working

On Emacs, I am trying to get forward search with Okular. Right now, I have the following command: okular --unique %o#src:%n`pwd`/./%b But, this does not take me to the right line, as I'd expect. ...
9
votes
1answer
151 views

Joining .synctex files of documents blended by \includepdf

When I typeset a journal issue, I first make the seperate articles, and I join them together (adding the Table of Contents and other stuff, that's irrelevant now). When I read the final issue.pdf, I ...
9
votes
3answers
1k views

How to set up forward search: from .tex under Emacs to position .pdf under Okular

I edit .tex file under Emacs and view them with Okular. I have already set up the backward search: from .pdf to .tex by pressing Shift+Left click on the .pdf file. The related part of .emacs file is ...
8
votes
1answer
213 views

TeX equivalent to #line

In C there is #line which allows stating the origin of a particular line of code. This is useful for autogenerated C source files: The (unreadable) code in the generated file is mapped back to the ...
8
votes
2answers
518 views

Inverse search jumps to wrong position in tex-file if using crop package

When using pdflatex I generate a synctex file for inverse search. So far, pointing and clicking in the PDF viewer (SumatraPDF) brings me to the correct line in the TeX editor (TeXnicCenter). However, ...
7
votes
2answers
787 views

Is there a “ForwardPDF” tool available?

When I am working on a big document, I find the srcltx package to be extremely useful. However, I also really like the hyperref package. Is it possible to use both? In particular, is there a way to ...
7
votes
2answers
3k views

Syncing feature between editor and pdf viewer not working

I'm using TeXStudio on Windows 7 with MikTeX. I don't know how to get the "Jump to source" command that appears in the mouse right-click menu, in the pdf viewer, once I compile a *.tex file with Quick ...
7
votes
2answers
3k views

Change view-command in Emacs and AUCTeX (pdf mode)

My version of Emacs and AUCTeX[1] uses TeX-evince-sync-view for viewing pdf. This command is not working for some reason. Evince is launched but Emacs freezes and I have an error Couldn't find ...
7
votes
2answers
2k views

Setting up forward search between Emacs+AUCTeX and Evince

Did anyone succeed setting up forward search between Emacs+AUCTeX and evince? In order to establish inverse/forward search between Emacs+AUCTeX and evince, it is necessary to: install new TeX Live ...
6
votes
4answers
3k views

Forward/inverse search for Texmaker on OS X

I have just started to use an Apple computer and want to use Texmaker. But forward/inverse search does not work at all. I am trying to follow the instructions but I'm not successful. What could I be ...
6
votes
1answer
2k views

Using SyncTeX with Adobe Acrobat Reader

The font rendering quality of Adobe Acrobat Reader is far superior to that of other PDF viewers. It also supports scripting via JavaScript. The debugger for JavaScript can apparently be enabled in ...
5
votes
1answer
3k views

pdflatex, latexmk, synctex: Adding an option to pdflatex causes synctex to fail

The user "Mike" kindly helped me on Latex, Emacs: automatically open TeX Help buffer on error and close it after correction of the error? to create the following function which makes error detection ...
5
votes
1answer
1k views

Texshop and inverse search

I just updated to the latest version of TexShop and now my inverse search (from the pdf to the source) does not work anymore. Neither with command+click nor with right click -> sync. It used to work ...
5
votes
2answers
307 views

Does pdf syncing (forward-inverse search) work with XeLaTeX?

I commonly use textmate+skim or more recently texpad. I have zero problems with pdfsyncing (especially since skim fixed a bug not so long ago). Even more recently I have been playing around with ...
5
votes
1answer
370 views

Inverse PDF Search in beamer

Can you please help in fixing a problem with inverse PDF search in beamer documents beamer does not work correctly with SyncTeX. Inverse PDF search (in Sumatra, Texworks, etc. I’ve tried all windows ...
5
votes
1answer
265 views

PDF inverse search in acrobat revisited

I've found this question about impossibility of inverse search with acrobat, but it is from 2012 so I decided to post in case there is some update. Does anybody know if situation has changed in any ...
5
votes
1answer
1k views

How to do forward search to PDF file opened with Okular from include files when editing using VIM/GVIM

I'm using vim to edit my tex files and I use latex suite as a plugin to compile my tex sources and view them in using Okular pdf viewer. Setting the following in Okular settings makes inverse search ...
5
votes
1answer
332 views

Texmaker - easy approach to edit large paragraphs (jump to line) - inverse search

Editor: TexMaker I have been searching for a while, but couldn't find a practical solution. I am writing an article, and the problem is when I need to edit. When I find a mistake in the pdf, I use ...
5
votes
0answers
429 views

Synctex and Environments [closed]

Synctex makes it possible to jump between your LaTeX code and the compiled PDF, which is absolutely great, if you have larger documents. However it is my impression that when you use environments, ...
5
votes
0answers
3k views

How to double-click in PDF document to go to source code? [duplicate]

When creating a document, I usually build a DVI document because the YAP viewer has a nice feature which allows me to double-click on a word in the DVI document which then causes the source-code ...
4
votes
3answers
329 views

How to go to a particular line in TeXShop?

I want to edit the output PDF file, but it is difficult to find the correct place in the source editor. What is the keyboard shortcut to jump from a place in the output PDF to the corresponding place ...
4
votes
1answer
588 views

How can I make inverse/forward PDF searching mark and navigate to the line of the code?

I use TeX Live 2011, WinEdt 6.0 and SumatraPDF, the inverse and forward PDF search can only mark and navigate to the paragraph, how to make them point to the line ?
4
votes
1answer
839 views

SyncTeX functionality in TeXShop and TeXworks

I have a LaTeX source code compiled with synctex=1. If I open it in TeXShop and I can click in the viewer on a certain word then I am navigated exactly on the word in the source code. By contrast, if ...
4
votes
1answer
220 views

Is forward search meant to work from an include file?

I am able to forward search from an emacs buffer containing my top level tex file to sumatrapdf by using the f8 key which is bound to Sumatra-jump-to-line. If i visit a buffer with a file included in ...
4
votes
1answer
174 views

AucTeX PDF syncing in Emacs, multiple windows problem

I have enabled Tex-source-correlate-mode with synctex as the syncing method. When I have a single Emacs window open, it works fine. But if I have multiple Emacs windows open, whenever I press ...
4
votes
1answer
586 views

Forward search from input file using TeXNicCenter

I'm using TeXnicCenter 2 Beta 1 (on a Windows Vista machine) and I am trying to use the forward search. It is configured with SumatraPDF so that when I press F5 to View Output, SumatraPDF comes to ...
4
votes
1answer
49 views

Getting the line number in the source code for an equation?

I have a long file (about 5000 lines, the pdf is about 100 pages) and I want to find an equation with a specific number (for example: 11.5) in the source code. Of course, I have access to all the ...
4
votes
1answer
347 views

Sync between Adobe and Texniccenter

I am using TeXnicCenter and Adobe Acrobat Pro 11. My problem is whenever I compile my article in TeX -> PDF profile, it produces the output PDF and give me back from the first page, it does not ...
4
votes
1answer
403 views

Issues when using inverse/forward search with vim and xdvi (linux)

I am using vim 7.3.35 with the vim-latexsuite on ubuntu. After googling around I managed to setup forward/inverse search with xdvi by adding the following to my .vimrc: let g:Tex_CompileRule_dvi = ...
4
votes
1answer
155 views

Where is the specification of the Synctex file format?

In the context of a new LaTeX web-based IDE, we're writing a parser for Synctex. Where can we find a specification or explanation of its structure and content in order to correctly parse it?
4
votes
1answer
294 views

portable PS-viewer with forward and inverse-search

I am using a portable Latex (Miktex, Texniccenter & Sumatrapdf) from my flashdrive and all works good. But I found no possibility to search in *.ps files through forward or inverse-search. I use ...
4
votes
2answers
979 views

Did anybody succeed in opening a text file at a certain line from a PDF link?

In my attempt to clarify some inconclusive topics and a part of the series "did anybody succeed" (e.g. Did anyone succeed in playing embedded movies inside Acrobat in Linux?), here it is a new ...
4
votes
2answers
1k views

synctex problem with -output-directory in TeXLive

I am currently using Windows 7, TeXLive2011, and TeXworks 0.4.3. I want to put all temporary files in tmp directory located in the same working directory as the .tex file. But, I want the final .pdf ...
4
votes
0answers
199 views

RStudio, Sweave and synctex

For a few days now I was wondering why RStudio stopped showing the "Sync PDF view to editor location". I still don't know for sure, but since my .synctex.gz file is apparently "(busy)" I assume there ...
4
votes
0answers
488 views

How to configure Okular so that I can locate the line approximately correct, when in forwardPDF [closed]

I am using Kile editing my tex files, with Okular for viewing the dvi and PDF files. And I can search the source file from PDF fairly well. I have configured Kile as follows in order to highlight the ...