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

Sumatra+Texstudio inverse search not working

I am using TexStudio on Win10 platform. As external pdf viewer I am using SumatraPDF. Last night I got the new update of Texstudio 3.0.4 (64 distribution) and since then I have problems with the ...
0 votes
2 answers
376 views

Texmaker 5 forward/backward search

I recently installed Texmaker 5.0.2 (I use Windows 10) but the "forward / backward search" is not working. I thought the forward/backward search feature should already be working by default. I just ...
0 votes
1 answer
302 views

Placing output files in a different folder breaks viewer and forward search

I am using Miktex 2.9, TexnicCenter 2.02 and Sumatra pdf v3.0 on Windows 10. I would like to place the output files in a different folder so in TexnicCenter I pass the following to the compiler: --...
1 vote
1 answer
21 views

Alternatives to pagecolor for working in the dark; pagecolor conflicts with Go To Source

For working in the evenings, I prefer a black page with white text, so that I am exposed to less blue light. As far as I can tell from searching, the go-to approach is to use: \pagecolor{black} \color{...
3 votes
1 answer
807 views

Inverse search jumps to wrong position

I have a problem regarding the inverse search in Texstudio. When Im doing the inverse search to find the corresponding code from the pdf, Texstudion always jumps to the wrong position. It is always ...
7 votes
1 answer
3k views

Kate editor, Okular, synctex: how to forward search pdf document?

Inverse search of a compiled file with -syntex=1 option is trivial: you just choose Configure -> Editor -> Kate option from Okular -> Settings menu, then use Shift-Click on your favorite line ...
4 votes
1 answer
929 views

VSCODE & SumatraPDF InverseSearch Problem

Today, I tried to make inverse_Search from sumatraPDF to Vscode(latex workshop). In the column "Set inverse search command-line" in sumatraPDF,I write "E:\VSCODE\Microsoft VS Code\Code....
0 votes
2 answers
375 views

No "synchronisation file" when trying to forward-inverse-search

sometimes I get the problem that when I build my LaTex files (with Sublime 3, TexLive and SumatraPDF), that I try to double-click on any text in my pdf which should give me the code in the sublime ...
0 votes
1 answer
306 views

Using synctex for forward/backward searching without jumping cursor on compilation in Texmaker

I like to use SyncTeX when editing files in Texmaker to do forward and backward searches. However, right now, I'm writing a very long paper that requires me to make regular changes to the beginning of ...
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-...
0 votes
0 answers
27 views

Kern record in SyncTeX file points to tag that does not exist?

Take a simple document: %! TEX program = lualatex \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1] \end{document} Compile with lualatex (although similar behavior is seen ...
2 votes
2 answers
3k views

How to configure inverse search with WinEdt + TeXworks viewer?

I am having trouble getting "jump to source" working properly with my new TeX set-up on my new computer. I installed WinEdt 10 with MikTex 2.9 on a new Windows 10 computer. I use pdftexify, and the ...
0 votes
0 answers
25 views

Inverse search wrong for colored text

I am using large blocks of colored text in my latex documents. Unfortunately, the the inverse search (in TexShop at least) does not work correctly inside of them. The coursor goes to the first line ...
1 vote
0 answers
50 views

Pdf preview not working with Lyx 2.3.7 on Windows 11

I have installed Lyx 2.3.7 and SumatraPdf and followed the instructions provided in LyX 2.3 - How can I successfully set up the forward and inverse search? My Texlive version is 2023 and works without ...
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 ...
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} \...
0 votes
0 answers
21 views

why the synctex get h v by synctex_node_visible_h always return 0

I want to get the pdf location from source in latex editor, then I generate the synctex file when compile the latex pdf, then using the synctex source that invoke from rust to query the pdf location ...
1 vote
0 answers
40 views

is it possible to parse the main.synctex.gz by myself [duplicate]

Now I am genreate the latex synctex file main.synctex.gz, is it possible to parse the file by myself? I want to pass the file path\line number\column number, to get the element in which page of pdf, ...
1 vote
1 answer
102 views

SyncTex on TeXworks

I recently made the switch from Overleaf to TeXworks. In Overleaf, one can just double click a part of the compiled pdf, and it takes you to the relevant source code on the left. I wanted something ...
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 ...
0 votes
0 answers
24 views

Click from PDF line to source code in Texmaker doesn't work

I saw that this question was raised, but did not find an answer. I'm running Texmaker 5.1.3, the "clic to jump" function doesn't work even -synctex=1 is written. My file including multiple ...
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 ...
2 votes
0 answers
58 views

TexStudio Ctrl + click on code segment shows me the frame before the code segment

I've been working with TexStudio for a while, and noticed this annoying bug where sometimes Ctrl + (left) clicking on some code section did not show me the corresponding PDF part, but instead the (...
0 votes
0 answers
73 views

How to configure (if is possible) the Reverse Search with VS Code (with LaTeX Workshop)?, similar to WinEdt ReverseSearch preview [duplicate]

How can I configure (if is possible) the Reverse Search with VS Code (with LaTeX Workshop)? Similar to WinEdt's ReverseSearch preview.
2 votes
2 answers
2k views

Sumatra inverse search opens a new instance of Texnic Center

I have a little problem with SumatraPDF inverse search. I followed this post for configuration. When I click "view output", Sumatra shows my PDF (which is a good start), but when I click on a word in ...
0 votes
1 answer
183 views

Forward search from Emacs (AUCTeX) to Okular with \include not working

Forward search from Emacs (AUCTeX) to Okular with \include is not working. My OS: OS: Debian bullseye (testing) Emacs: 26.3 Okular: 1.11.1 AUCTeX: 12.2.4 .emacs (Emacs settings): (custom-set-...
2 votes
0 answers
95 views

xsim problem with reverse synctex

I am possibly experiencing a strange behaviour with package xsim while working with reverse synctex (from document to source). Expected behaviour I activate reverse synctex in my IDE, then I get ...
1 vote
1 answer
1k views

Can't find "Jump to source" in texstudio

I am using TeXstudio to create pdf. After generating pdf, I can't find the "Jump to source" option to go to the relevant part of the latex file. Any solution to this problem?
1 vote
0 answers
77 views

How to enable synctex with Kile and Okular?

I am using Ubuntu, Kile, and Okular. What are the exact steps to enable and use synctex with that setup? What I want to achieve is that I open the compiled PDF with Okular (from Kile) and then ...
1 vote
1 answer
86 views

Option to hide text while maintaining synctex.gz functionality

My goal is the following: I would like to write exercises and their solutions in a single tex file with the option of hiding the solution, so that I do not need two separate tex files for the question ...
0 votes
0 answers
73 views

Backward search not working in LyX with Okular

Backward search not working in lyx 2.3.6 and okular 22.08.2 (in Ubuntu 22.04). I've implemented steps from https://wiki.lyx.org/LyX/SyncTeX: [Settings]->[Configure Okular]->[Editor] has LyX ...
3 votes
2 answers
2k views

Using synctex with CLI vim and Skim

My setup is running a command line interface vim (using iTerm) and Skim for my pdf viewer. I would like to set up synctex with Skim, but nothing I've tried has worked. Here is what I am doing: I am ...
3 votes
1 answer
173 views

What's the \synctex primitive? Where is it documented?

The question is in the title. (needless to say I tried texdoc synctex|etex_man|pdftex|pdftex-a|xetex|luatex and the only thing I found is that it's enabled by the extraprimitives function in LuaTeX. ...
4 votes
1 answer
1k views

How to enable SyncTex in LyX?

I'm using LyX 2.0.7, and I tried to enable 'Synchronization with output' by following the guide on LyX wiki. I couldn't succeed after doing each step exactly as the wiki stated. After lots of ...
0 votes
2 answers
276 views

Texstudio inverse search stopped to work

After performing Windows 10 maintenance inverse search does not work. Texstudio version: 2.12.14. The setting are as before:
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 ...
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 ...
1 vote
3 answers
2k views

Jump to the line texmaker is not working

The version of my TEX is 4.41, the "jump to the line texmaker" is not working? I had follow the previous advice about adding synctex=1 to pdfLatex and I found that it is already set by default. Can ...
0 votes
1 answer
524 views

Syncing tex file and integrated PDF viewer in Kile

I'm having trouble properly syncing the TeX and PDF files in Kile. At some point, Kile was properly moving the PDF preview following where I was in the TeX file but then it stopped working at some ...
1 vote
1 answer
532 views

How to configure Winedt 10.3 to use SumatraPDF

This has become impossible. The advice on the forums is to use magnifying glass in Execution Modes -Pdf viewer and then navigate to C:\Program Files\SumatraPDF but SumatraPDF is not there, it is ...
0 votes
1 answer
76 views

texstudio not synchro 'Go to source' in one of the chapter (or child document)

I'm having a problem with SyncTeX. 'Go to source' (i.e. from PDF to TeX and vice versa) only in one of my chapter, but in others it is spot on. Any idea what might be going on? NB I am compiling with ...
1 vote
2 answers
121 views

Synctex: make it work with environment accessing its content (e.g. environ or xparse +b option)

If I create an environment using environ and \BODY or xparse and +b, the synctex functionality breaks: instead of going to the appropriate line, it goes at the end of the environment. I guess that the ...
1 vote
0 answers
122 views

XeLaTeX forward search does not work properly when a paragraph only have one word

remark: I upgraded to TeX Live 2022 and still can reproduce this problem. It's weird how commenters using same TeX Live 2022 and cannot reproduce When a paragraph has only one word, forward synctex ...
1 vote
1 answer
284 views

synctex without dbus

Is there any PDF viewer available for Linux that supports synctex (inverse and forward search) without the need for DBUS? Ideally, on Wayland compositors, and using vim as editor. (My current solution ...
2 votes
1 answer
168 views

Synctex don't work with tabularray package

With the tabular environment I can jump to the correct line with inverse search: ctrl click in the pdf output (with Texstudio or Texworks). Why it doesn't work with the tabularray package? \...
1 vote
0 answers
31 views

synctex using jobname doesn't sync with jobname.pdf

I have a .tex file named MY_FILE.tex and a .pdf file named MY_FILE.pdf. Now I want to produce a slightly modified version of MY_FILE.pdf file using a temp file called TEMP.tex. The only difference ...
3 votes
4 answers
6k views

Missing jump to source

I used to be able to right click on the pdf and the bottom of the list would be a "jump to source" option which would take me to the source code where I had clicked on the pdf. It is no longer there ...
0 votes
1 answer
54 views

Get page number from line number with synctex from command line

I have several hundreds of line numbers in LaTeX file and I need to get corresponding page numbers on pdf. I would like to perform “command line” forward search, using some Synctex command line ...
0 votes
0 answers
34 views

Synctex problem with exsheets package

If I use forward or backward synctex within the question environment of exsheets package it points out the whole exercise and not precisely the wanted line inside the environment. This is a minimal ...
1 vote
1 answer
125 views

Setting page background will influence the synctex location

I am using TeXstudio editor. When I set a background picture using the \addtohook command. It influence the Synctex locations always pointing to the end of the page not the actual text which I typed ...

1
2 3 4 5
7