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, and vice versa.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 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 ...
user avatar
0 votes
1 answer
29 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 ...
user avatar
  • 5,043
1 vote
1 answer
48 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 ...
user avatar
  • 1,363
0 votes
0 answers
31 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 ...
user avatar
  • 507
0 votes
0 answers
35 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 ...
user avatar
0 votes
0 answers
15 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 ...
user avatar
0 votes
0 answers
30 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 ...
user avatar
  • 1
2 votes
1 answer
101 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{...
user avatar
  • 1,444
0 votes
1 answer
202 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/...
user avatar
4 votes
2 answers
168 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 ...
user avatar
  • 12.5k
0 votes
1 answer
57 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{...
user avatar
0 votes
0 answers
36 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 ...
user avatar
  • 1
0 votes
0 answers
48 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 ...
user avatar
  • 55
0 votes
1 answer
67 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
user avatar
  • 125
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.
user avatar
1 vote
0 answers
67 views

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

When a paragraph has only one word, forward synctex search is wrong when compiled with XeLaTeX. Create a TeX file (named for example a.tex) %! TEX program = xelatex \documentclass{article} \begin{...
user avatar
  • 1,444
1 vote
1 answer
41 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 ...
user avatar
0 votes
1 answer
85 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 ...
user avatar
1 vote
0 answers
140 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 ...
user avatar
1 vote
1 answer
209 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 ...
user avatar
  • 2,604
1 vote
1 answer
275 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 ...
user avatar
  • 131
0 votes
0 answers
46 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 ...
user avatar
  • 1
0 votes
1 answer
216 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 ...
user avatar
  • 35
0 votes
0 answers
44 views

Pdflatex with output directory and synctex

I am trying to use pdflatex with synctex and output directory. When I use these features separately, they work (commands 1 and 2). But when I use them together, the synctex.gz file is not generated (...
user avatar
1 vote
0 answers
87 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 ...
user avatar
0 votes
0 answers
41 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 ...
user avatar
  • 6,260
1 vote
0 answers
34 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 ...
user avatar
  • 141
3 votes
0 answers
357 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....
user avatar
2 votes
1 answer
101 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 ...
user avatar
  • 2,604
0 votes
0 answers
34 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 ...
user avatar
1 vote
1 answer
1k 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. ...
user avatar
  • 403
1 vote
0 answers
225 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 ...
user avatar
5 votes
0 answers
108 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 ...
user avatar
  • 22.3k
0 votes
1 answer
87 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 ...
user avatar
  • 155
1 vote
0 answers
106 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 ...
user avatar
  • 91
1 vote
0 answers
105 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 ...
user avatar
0 votes
1 answer
50 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 ...
user avatar
0 votes
1 answer
93 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 ...
user avatar
  • 1
2 votes
1 answer
50 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. ...
user avatar
2 votes
0 answers
901 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 ...
user avatar
2 votes
2 answers
115 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 ...
user avatar
1 vote
0 answers
45 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 ...
user avatar
  • 11
0 votes
0 answers
32 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 ...
user avatar
3 votes
0 answers
1k 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. ...
user avatar
  • 131
1 vote
0 answers
163 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 ...
user avatar
1 vote
1 answer
117 views

Problems with proof-at-the-end package [closed]

I am recently using the proof-at-the-end package, which is supposed to move all proofs in some chosen appendix of your paper. Although I find this quite useful, I am experiencing difficulties for ...
user avatar
  • 71
0 votes
1 answer
102 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: --...
user avatar
0 votes
3 answers
136 views

Extend synctex with emacs to support multiple open pdfs?

Using this answer I've been able to get emacs, syntex, and evince to work together almost perfectly to support forward search (tex file -> pdf) and reverse search (pdf -> tex file). The one thing ...
user avatar
  • 111
5 votes
1 answer
173 views

SyncTex for a document with multiple .tex files

Suppose I have a large document which I decide to split into several .tex files. I have a main.tex that contains many calls like \include{chapter1} \include{chapter2} ... In order to focus on a ...
user avatar
  • 173
1 vote
0 answers
63 views

How to keep SyncTeX aligned when re-ordering pages using LuaTeX `page_order_index` callback?

I'm using the LuaTeX callback page_order_index to re-order the PDF pages (specifically, the last page becomes the first and the rest shifts down by one). This works fine, but the SyncTeX file does ...
user avatar

1
2 3 4 5
7