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
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
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
2 votes
1 answer
187 views

How can I capture and rescan TeX source code while preserving synctex data?

This question led to a new package: rescansync Let's say I want to replace all a (in source code, not rendered output) in a section with b... %! TEX program = lualatex \documentclass{article} \...
user202729's user avatar
  • 7,513
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
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
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
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
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
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
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
1 vote
4 answers
2k views

"undefined symbol: synctex_next_result" when editors try to use SyncTex

When I start texmaker on the Linux commandline, this happens immediatly: $ texmaker texmaker: symbol lookup error: texmaker: undefined symbol: synctex_next_result Similarly, when enabling SyncTex ...
Felix Rindt's user avatar
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,703
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
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
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
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
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
4 votes
3 answers
3k views

Forward/Inverse Search Does Not work on certain tex files

I have this weird issue with forward and inverse searches. I am using WinEdt + Sumatra combination. The forward and inverse search works perfectly on certain some .tex files, but fails on some others. ...
Vittal's user avatar
  • 41
4 votes
2 answers
6k 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 ...
alfC's user avatar
  • 14.4k
4 votes
0 answers
9k views

TeXnicCenter - Forward search issue [closed]

I have been facing this intermittent problem with TeXnicCenter [TC] forward search. I have gone through many posts in TeX.SX and I have followed what is to be done. It works at times and at times NOT....
Rene Duchamp's user avatar
  • 1,501
4 votes
2 answers
937 views

How can I keep browsing my pdf with synctex at the same time as LaTeX is rebuilding it?

As discussed here pdflatex preview problem: white pdf pages with only hyperref-rectangles visible during compile? when working on my dissertation which takes a long time to compile (even when ...
MostlyHarmless's user avatar
1 vote
1 answer
3k views

TexMaker + Sumatra PDF Forward search

I am trying to configure TexMaker with SumatraPDF. This has previously been discussed Configure forward search with Texmaker + SumatraPDF but the solutions did not work for me. Under "Options >> ...
user26807's user avatar
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
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
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
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
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
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
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
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
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
5 votes
2 answers
777 views

Synctex Go to source from pdf and comment package

Synctex is very usefull for me. Jumping between source text and the compiled PDF is is absolutely great. But when I use comment package: in TeXStudio --- I can't switch from pdf to source. in ...
Ama's user avatar
  • 361
5 votes
1 answer
168 views

Include original page images for side-by-side comparison + SyncTex

I'm reproducing a book from its archive.org PDF using latex. For QA purposes I'd like to have a side by side display of the original page and the latex-typeset page with the requirements that : ...
Jared Kulik's user avatar
4 votes
1 answer
4k views

DVI inverse search settings in WinEdt

I am using WinEdt for latex codes. After running the code, I check the result in a dvi file. Somebody told me that we can directly jump from dvi file to latex code window by double clicking on some ...
monalisa's user avatar
  • 685
2 votes
2 answers
2k views

Make latexmk 4.54c use synctex with xelatex

I usually want latexmk to use pdflatex and synctex by default, so I have the following in my RC file and everything works hunky-dory: $pdf_mode = 1; $pdflatex = 'pdflatex -interaction=nonstopmode -...
Psychonaut's user avatar
  • 3,164
2 votes
1 answer
4k views

Setting up SyncTex with vim and zathura

I am a Latex enthusiast and I have set up my own system for compiling and previewing Latex using vim and zathura because I wanted a very minimal setup, without any plugins such as vimtex and the like. ...
fresh's user avatar
  • 413
1 vote
1 answer
1k views

How to configure Inverse Search with WinEdt + Okular configuration?

My environment is as follows: OS: Windows 10 Pro: 64bit kept being updated. WinEdt: Build: 20180507 (v. 10.3) - 64-bit Okulat: 1.6.70 32-bit Very sorry, I should have mentioned it. WinEdt is an ...
tokuzo shimada's user avatar
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
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
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
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
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
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
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
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