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
0 votes
1 answer
17 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 ...
  • 173
1 vote
1 answer
33 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 ...
  • 111
0 votes
1 answer
26 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
29 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 ...
1 vote
1 answer
98 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? \...
  • 187
1 vote
0 answers
21 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 ...
0 votes
0 answers
30 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 ...
0 votes
2 answers
81 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 ...
  • 5,275
1 vote
1 answer
68 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 ...
  • 4,778
1 vote
1 answer
88 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 ...
  • 527
0 votes
0 answers
39 views

Luatex + (shadows or fadings) tikzlibraries make "gotosource" from the first page jump to pgflibraryfadings.code.tex

Information about the problem The following code is ok with pdflatex and xelatex compilation. But with Lualatex it produces the problem described below; The problem occurs both with TexStudio and ...
0 votes
1 answer
26 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
42 views

Curiosities about libsynctex

I've browsed through the CTAN repository, and there's no package called libsynctex, and that's also the case with the install script. However, when using linux distributions, e.g. texlive-bin of Arch ...
  • 1
2 votes
1 answer
133 views

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

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} \usepackage{filecontentsdef} \begin{document} \begin{...
  • 3,126
0 votes
1 answer
220 views

Synctex is not working with pyluatex (using latexmk in TeXworks, MiKTeX, Windows 10)

I have recently started to experiment with the pyluatex package (which lets you include Python 3 code in a .tex document, and have it run during the .tex compilation process). https://www.ctan.org/pkg/...
4 votes
2 answers
214 views

SyncTeX not working right with LuaLaTeX in TeX Live

I am writing my documents using TeXstudio with TeX Live on Windows (all up to date). After typesetting a document with SyncTeX (which is the default), I should be able to Ctrl + Click into the PDF ...
  • 13.1k
0 votes
1 answer
67 views

menukeys package breaks SyncTeX for \input files?

Including the menukeys package breaks SyncTeX's inverse search for content included by \input. MWE: mwe.tex: \documentclass{article} \usepackage{menukeys} \begin{document} Hello World. \input{...
0 votes
0 answers
44 views

Extend synctex with emacs to support multiple open pdfs

The solution by Joj is very nice. But it goes one way, i.e., multiple evince windows point to multiple emacs buffers. Is it possible to extend the solution to also go the reverse way, i.e. if I click ...
  • 1
0 votes
0 answers
85 views

SyncTeX: Can't rename file.synctex(busy) to /tmp/file.synctex

Due to some reason I want to work in Windows system (in case I forget to move out files in WSL) with WSL (for speeding) and put all my temporary files into a temporary place (so that they will not be ...
  • 87
1 vote
1 answer
168 views

How to go to .pdf from source in Texshop

From the .pdf I can press 'command' click to take me to the source code. But the same does not work when trying to go from source code to .pdf
  • 135
0 votes
0 answers
18 views

I get synctex(busy)

I get it on my laptop. But on remote desktop the same file works albeit in an old version of texstudio. When I go to task manager there is no pdflatex showing up. I have windows 10.
1 vote
0 answers
77 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 ...
  • 3,126
1 vote
1 answer
47 views

synctex not working when path has letters with accents

I tried many times and found that when my path to my latex files contains an 'é', or any other similar letter with an accent, my pdf to tex editor link doesn't work (Ctrl+space and Ctrl+click). I'm ...
0 votes
1 answer
160 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
0 answers
224 views

Inverse search from Zathura to .tex file

With the help of someone on this stack I was able to configure vim so that it launches with a server name that is the filename it opens. For example, if I run vim filename.tex, vim will launch with ...
1 vote
1 answer
314 views

Evince: how to do a forward-search from Terminal?

Assume that I have produced a pdf file from a tex document with the option \synctex=1 with pdflatex or xelatex. Various forward-search methods tell us how to jump from your text editor to the ...
  • 2,696
1 vote
1 answer
353 views

Broken forward and inverse sync on Sublime+Skim

I've recently begun exploring Sublime Text + Skim combination for my LaTeX stuff and I've been loving it so far. However, the forward and inverse search seems to be broken. I've tried looking around ...
  • 131
0 votes
0 answers
55 views

Forward search doesn't work (from TexMaker to SumatraPDF)

When I try to press ctrl+space (or F7) in order to activate the forward search it doesn't work. The pdfLatex field is pdflatex -synctex=1 -interaction=nonstopmode %.tex The external viewer field is ...
  • 1
0 votes
1 answer
255 views

miktex update causes issues "go to source/pdf" in TeXstudio

The most recent MiKTeX update 21.6 resolves an issue involving the aux directory that seems to have changed the behavior of -aux-directory=<filename> to place the .synctex.gz files in the ...
  • 380
1 vote
0 answers
113 views

Inverse search seems glitchy in sublime text 4 + latextools

Inverse search, in evince using latextools, seems to work for some files but doesn't work for some and usually opens a blank document in sublime text 4. Also, forward search and Ctrl+l works as ...
0 votes
0 answers
43 views

Synctex's go to source vs. comment package

In 2013, there was Synctex Go to source from pdf and comment package. Now it is 2021 and the problem still exists: for any parts within a comment-environment (in the given example, it is len for ...
  • 6,352
1 vote
0 answers
51 views

Sumatra - TeXstudio - inverse search hits not the exakt line

I do use TeXStudio und Sumatra on Windows 10. I put in Sumatra "C:\Program Files\texstudio\texstudio.exe" "%f" -line %l If I double click on the PDF, it jumps into TeXstudio, but ...
  • 161
3 votes
0 answers
456 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....
2 votes
1 answer
131 views

qpdfview command-line argument for forward search

With sumatrapdf, I use the following command to go to the pdf place corresponding to the line 304 of the TeX source file: sumatrapdf file.pdf -forward-search file.tex 304 What is the analogue command ...
  • 2,696
0 votes
0 answers
35 views

Can SyncTeX corrupt the .pdf file layout?

I know that the -src-specials option can corrupt the .pdf file when I compile(d) a .tex file with the \pdfoutput=1 option (I know it's not recommended to use \pdfoutput=1). E.g. latex -src-specials ...
1 vote
1 answer
2k 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. ...
  • 403
1 vote
0 answers
279 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 ...
5 votes
0 answers
116 views

synctex and piped input

When we execute pdflatex -synctex=-1 normalfile.tex we can see that the first lines of the produced normalfile.synctex are SyncTeX Version:1 Input:1:/path to current folder/normalfile.tex ... But if ...
  • 22.5k
0 votes
1 answer
98 views

Is there a chance to get SyncTeX work with text within environments?

I know that SyncTeX does not work correctly in Beamer (see Inverse PDF Search in beamer). But there seems to be also a problem with inverse search in environments defined with \NewEnviron. I want to ...
  • 155
1 vote
0 answers
149 views

LaTeX Editor with proper Tree View

I used TeXnicCenter for years, and since it is not actively maintained, I have to find an alternative (under Windows). My main concern for popular choices such as TeXstudio and TeXmaker is their ...
  • 91
1 vote
0 answers
124 views

What Synctex dependencies are missing under WSL?

The setup on my Windows work computer is an Ubuntu instance of Windows Subsystem for Linux (WSL) with an X server and the i3 window manager. I use emacs to edit latex and evince as a viewer. I have ...
0 votes
1 answer
56 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 ...
0 votes
1 answer
124 views

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

OS: Debian bullseye (testing) Emacs: 26.3 Okular: 1.11.1 AUCTeX: 12.2.4 .emacs (Emacs settings): (custom-set-variables ...
  • 1
2 votes
1 answer
61 views

SyncTeX inverse search with WinEdt and Rnw files

I am using WinEdt 9.1 with RManager and pdflatex to knit PDF files from Rnw files. The process generally works well. But I cannot use "inverse search" from my PDF documents to my Rnw files. ...
2 votes
0 answers
1k views

How to get synctex forward searching to work with vim and zathura on macOS?

Using the vimtex plugin, forward searching (from the .tex file to the .pdf) works with Skim but not with zathura. In nvim, the error Vimtex: Viewer cannot find Zathura window ID! appears. This seems ...
3 votes
2 answers
139 views

Inverse search on AUCTeX opens file in new Emacs window instead of main Emacs window - how to avoid that?

I am using Emacs+auctex+evince on Debian. Suppose I have a latex document main.tex which includessections/sec1.tex. When compiling with C-c C-a from within main.tex and using backwards search in ...
1 vote
0 answers
58 views

TexStudio "Inverse Search" issues

I am using Texstudio/Texworks on Win10 platform, with the most updated MikTex. When I right click the pdf preview in both editors and want to use the inverse search function, it always points to the ...
  • 11
0 votes
0 answers
35 views

How to change the background color of the welcome screen of a pdf when we execute quickbuild in latex

The temporary pop up colour box highlighting the portion of text we edited in latex is set to red in the resulting pdf. Is there a way to change that temporary popup colour background to some other ...
3 votes
0 answers
2k views

Syncing pdf with vscode external viewer

Setup: I'm using visual studio code with LaTeX Workshop extension to write latex. I use an external pdf viewer mainly because I want to see the pdf on a different screen. Using Ubuntu 20.04 LTS. ...
  • 131
1 vote
0 answers
189 views

vim-latex and Okular: forward/inverse search not working for DVI

I'm trying to get DVI forward search to work (I don't think SyncTeX is relevant) with vim-latex/latex-suite and Okular. I'm using Arch Linux. I've been following the official vim-latex beginner's ...

1
2 3 4 5
7