Skip to main content

Questions tagged [forward-inverse-search]

{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 (forward search), and vice versa (inverse search).

Filter by
Sorted by
Tagged with
222 votes
1 answer
123k 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 ...
franz's user avatar
  • 2,417
55 votes
9 answers
34k 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 ...
maxschlepzig's user avatar
  • 12.2k
54 votes
2 answers
9k 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 40 kB, which isn't much. Is this "legacy" behaviour (when computers did not have much storage) or ...
alexyorke's user avatar
  • 1,133
43 votes
2 answers
69k views

How to configure TeXnicCenter 2.0 with Sumatra (2013--2016 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 ...
Mario S. E.'s user avatar
  • 18.7k
39 votes
8 answers
23k 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 ...
N.N.'s user avatar
  • 36.3k
32 votes
2 answers
19k 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 ...
subham soni's user avatar
  • 9,693
27 votes
5 answers
4k 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 ...
user565739's user avatar
  • 5,512
26 votes
4 answers
19k 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 ...
Johnson-Leung's user avatar
25 votes
2 answers
2k views

Is the pdfsync package still relevant? [duplicate]

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 ...
Frank Mittelbach's user avatar
22 votes
5 answers
19k 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 ...
matth's user avatar
  • 12.5k
18 votes
3 answers
13k 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 ...
WobblyWindows's user avatar
17 votes
2 answers
2k 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 ...
PineApple's user avatar
  • 171
16 votes
3 answers
7k 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 ...
Eamon Nerbonne's user avatar
15 votes
7 answers
18k views

Click right to "Go to source code" with Texstudio

I am using Texstudio (2.10.4). A great and useful function of the integrated visualizer is that if I right click at some point of the pdf, I can go to the corresponding code. This worked well in the ...
emeryville's user avatar
15 votes
1 answer
6k views

How do I jump from line in Skim to the same line in my text editor?

I set my text editor (Aquamacs) to produce the .synctex.gz file. But still I don't understand how to jump from Skim back into the text editor. Is there a specific command?
Francesco's user avatar
  • 4,624
14 votes
2 answers
23k views

How to get SyncTeX for Windows to allow Atom pdf-view to synch?

I would like to use Atom in Windows as my primary editor for LaTeX documents. However, the synchronization features of Atom's pdf-view (which is leveraged by latex-plus) requires a synctex binary. It ...
Jedidiah Bartlett's user avatar
13 votes
3 answers
2k 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 ...
frabjous's user avatar
  • 41.7k
13 votes
4 answers
9k views

Texmaker generated pdf file not showing the position of cursor

I am compiling LaTeX files with Texmaker on Ubuntu 12.04 system. When I run pdflatex and then view the pdf file (internal), it does not show me the exact place where I am editing on Texmaker i.e. ...
Chand's user avatar
  • 131
13 votes
1 answer
6k 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 ...
mic's user avatar
  • 231
13 votes
1 answer
12k views

How to use Texmaker Synctex - Jump between source and PDF

How to jump between lines in PDF view and source view,
Garry's user avatar
  • 501
12 votes
3 answers
8k 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 ...
Tess's user avatar
  • 131
11 votes
7 answers
36k views

How do I close a busy synctex.gz file?

I tried to compile a file, and LaTeX didn't like something (I have no idea what). Now, when I try to compile, I am told that "The process cannot access the file because it is being used by another ...
Anon's user avatar
  • 111
11 votes
3 answers
3k 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. So,...
kan's user avatar
  • 4,575
11 votes
1 answer
1k 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} \...
Maxim's user avatar
  • 303
11 votes
2 answers
2k views

"Goto Source" opens pgflibraryfadings.code.tex

Edit: Seems to be a problem with SyncTeX, as TeXworks reacts the same. Edit2: same problem with texlive in Win7. I have a similiar problem as described in TeXstudio Bugreport 1225 but with menukeys-...
naphaneal's user avatar
  • 2,624
10 votes
6 answers
6k views

"Go to source code" function with texstudio

I am using Texstudio. A useful function of the integrated visualizer is that if I right click at some point of the pdf, I can go to the corresponding code. This works for all of my tex files, except ...
Kam's user avatar
  • 137
10 votes
2 answers
15k 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 the ...
ppr's user avatar
  • 9,054
10 votes
1 answer
917 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 ...
Andrew's user avatar
  • 101
10 votes
1 answer
2k views

How does synctex work?

Only today I decided to see the contents of a .synctex file and I saw a lot of lines with packages paths and so on. But some lines down I could see a lot of numbers, maybe coordinates I suppose. For ...
Sigur's user avatar
  • 37.5k
10 votes
1 answer
1k 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?
Martin Monperrus's user avatar
10 votes
3 answers
2k 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 ...
SoftTimur's user avatar
  • 20k
10 votes
1 answer
5k 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 ...
maria's user avatar
  • 925
9 votes
3 answers
6k views

How to set up forward/inverse searches with AUCTeX and Zathura

I haven't been able to find much on how to set up Zathura to work with AUCTeX/Emacs in terms of forward/inverse-searching. Has anyone been successful in this?
emacsomancer's user avatar
  • 1,795
9 votes
4 answers
6k 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 ...
Petya's user avatar
  • 291
9 votes
1 answer
5k 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 ...
ld_pvl's user avatar
  • 751
9 votes
1 answer
484 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 ...
krlmlr's user avatar
  • 12.6k
9 votes
1 answer
252 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 ...
yo''s user avatar
  • 51.5k
9 votes
0 answers
5k views

Getting SyncTeX to work with Emacs, AucTeX and Skim (OS X El Capitan)

I'm attempting to set up LaTeX to work with Emacs on my Mac, running OS X El Capitan 10.11.5. I can compile everything all right, but I'm unable to use forward/inverse searches with Skim. From ...
Jesse's user avatar
  • 183
8 votes
2 answers
972 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 ...
Johnson-Leung's user avatar
8 votes
7 answers
6k views

Macvim and Skim sync does not work

Don't really know where to begin. I have installed the latest macvim and skim. Put the mvim in path. Setup skim sync with the default macvim (and tried some custom stuff also). However it will not ...
Elithraldor's user avatar
8 votes
1 answer
4k 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 ...
StackExchanger's user avatar
8 votes
1 answer
4k views

Inverse search with Emacs/AucTeX and SumatraPDF [on Windows 10]

I've been trying to use Emacs/AucTeX along with SumatraPDF to view my output. In particular, I would like to make the forward and inverse search work. I use Windows 10. Problem Every time I double ...
Krzysztofik's user avatar
8 votes
2 answers
1k 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, ...
ronszon's user avatar
  • 793
8 votes
0 answers
146 views

Is there a way to visualize SyncTeX anchors in the PDF?

Forward and reverse synchronization between the TeX source and the PDF output using SyncTeX is an immensely useful tool when writing larger documents. Sometimes, especially when the synchronization is ...
schtandard's user avatar
  • 15.2k
7 votes
1 answer
10k 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 ...
Marius Hofert's user avatar
7 votes
1 answer
1k views

TeXShop search not working for multiple file source

I am using TeXShop 3.26 under Mavericks. I have SyncTeX selected as the sync method. Searching works both ways in general (source to pdf and pdf to source). However, when editing a multifile source ...
Paul Cally's user avatar
7 votes
4 answers
6k views

SumatraPDF Inverse Search

I wanted to set the SumatraPDF Inverse-Search option on Inlage, according to instructions on this page. For some reason, my "options" menu ends at "Make SumatraPDF my default PDF reader" and doesn't ...
PineApple's user avatar
7 votes
2 answers
4k 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 ...
premopie's user avatar
  • 183
7 votes
1 answer
1k views

Synctex fails for input files. Related to fancyhdr + graphicx?

I have run into a problem with the synctex option of pdflatex that seems to be related to the fancyhdr and graphicx package. Problem: Forward and inverse search between editor and PDF viewer work ...
dd23's user avatar
  • 245
7 votes
1 answer
951 views

Synctex and Environments

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, ...
Meneldur's user avatar
  • 953

1
2 3 4 5
7