Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
22 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:
1
vote
0answers
20 views

includegraphics forward/inverse search with different image DPIs

Since I started using LaTeX I've found the forward/inverse search utility most helpful. What I've always noticed is that when using \includegraphics the area highlighted when forward searching a ...
2
votes
1answer
33 views

Do line breaks help synctex at indexing?

Do line breaks help synctex? Does it for example help to add hard line breaks after 80 characters instead of writing a paragraph per line?
8
votes
2answers
89 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 ...
0
votes
0answers
38 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 ...
2
votes
1answer
159 views

How to change the default PDF viewer to open an editor such as VS code

In Windows OS, it is possible to open a LaTeX-generated PDF file with TeXworks and when you press ctrl+click on the PDF file TeXworks editor is opened. I was wondering how we can make Visual Studio ...
1
vote
2answers
73 views

Arara synctex in editing a book

The problem is synctex in Arara does not work for me. I am using MacTeX with TeXShop 4.26. A special documentclass is used (hope it does not affect). For months, I run this file by putting all the ...
1
vote
3answers
81 views

Inverse search command SumatraPDF in TeXnicCenter

I've been following these advices to set up inverse command line from SumatraPDF (I have the latest version) to TeXnicCenter… So in the settings of Sumatra, I've entered the following command line: ...
2
votes
0answers
64 views

Highlighting forward search in Okular

I have a functional setup that does bidirectional search between emacs (auctex) and okular but lacks the highlighting of the position in pdf. In "conventional" editors, e.g. texstudio, when doing ...
1
vote
1answer
76 views

LyX 2.3 - How can I successfully set up the forward and inverse search?

I referred to the section "Sumatra PDF (on Windows; Updated 2015-10-19)" in the following documentation: https://wiki.lyx.org/LyX/SyncTeX to set up the forward and inverse search; however, it seems ...
0
votes
0answers
36 views

Multiple colored paragraphs: recognize position in PDF

I'm using this answer to color multiple paragraphs, i.e. I use \newcommand{\nathaniel}[1]{{\leavevmode\color{blue}[#1]}} and then \nathaniel{ paragraph 1 paragraph 2 paragraph 3 } ...
0
votes
0answers
94 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
1answer
61 views

TeXstudio Inverse Search problem with LuaLaTeX

I am trying to write a document using IEEEtrans document class. If I want to go from pdf to the tex source via inverse search, the cursor is always placed right before \end{document}, which is quite ...
1
vote
0answers
58 views

How does the cursor go to the place of a certain word in a text file when it clicked in a pdf file? [closed]

I use teXstudio as an editor to write my manuscript. For building PDF files, I exploit SumatraPDF v3.1.2 64bit. Once I compile my file, it opens in sumatra as a pdf file. But when I click on a certain ...
0
votes
1answer
86 views

Ctrl+click not working properly

I am using Windows x64 bit , Texmaker 5.0.3 , basic miktex 2.9.6850 and I compile pdflatex to see the pdf. Ctrl+click to go to the corrispondent line is working in a weird way. For example if a have ...
1
vote
1answer
146 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 ...
0
votes
1answer
152 views

How to set up Sublime Text 3 inverse search in OSX?

I am using OSX-10.10.5, Sublime Text 3 and Skim. I cannot figure out how to set up the inverse (or forward) search for my system. I downloaded the "latexmk" package: I downloaded it using the TeX ...
1
vote
3answers
110 views

Modifying TeX/Synctex

There is a glaring design flaw in TeX or Synctex for location of words. Given a text in a .tex files: Blah blah blah. This is a sentence blah! Blah Blah! The whole paragraph is treated as one unit ...
1
vote
1answer
315 views

Wrong placement of Cursor Position

I am using TeXStudio. So I use Ctrl F5 to build and view my pdf file. However, when I right click on pdf it does not take to the correct line/paragraph on the tex file. I found that no synctex file ...
0
votes
2answers
94 views

Texmaker 5.0.2 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 ...
2
votes
1answer
272 views

Setup SyncTeX with Textadept and Okular

My question is very simple: can I setup Textadept and Okular in order to get forward and backward search? Textadept jumps to Okular with Ctrl+R and compiles my ConTeXt file with Ctrl+Shift+R. That is ...
0
votes
0answers
73 views

SyncTeX stops working in a large document

I'm currently writing on a large document, using AucTeX, and pdf-tools as my pdf viewer. Today, SyncTeX stopped working correctly. Forward search is fine, but backward search doesn't work. Whenever I ...
1
vote
1answer
262 views

Synctex bug? Emacs/LuaLaTeX with Evince/Zathura on Ubuntu 18.04

I am having a problem similar to that one and already posted there, with emacs, LuaLaTeX, and two PDF viewers (evince, zathura) on Ubuntu 18.04. Problem: The forward/backward search has gotten really ...
0
votes
0answers
40 views

Synctex: Variables for file name and line number?

With pdflatex and synctex, are there any variables that allow modifying the file name and line number written to the synctex file? My usecase would be for fixing synctex support in the apxproof ...
0
votes
0answers
38 views

SyncTeX with endnotes and apxproof packages?

The packages endnotes and apxproof allow deferring text to the end of the document in different ways. Both however break SyncTeX both for forward and backward search. The cause likely is the use of ...
0
votes
0answers
54 views

Inverse search in xsim with Texstudio

I can't get xsim to get along with TexStudio's inverse search (Ctrl left-clicking in the live preview brings up the corresponding source code). The problem is that when I left-click in a given ...
2
votes
1answer
350 views

How to configure the sync between latex and resulting pdf in AUCTeX?

I am running AUCTeX in Emacs 25 (latest version) on arch linux. I have searched some configuration online, but they don't work. Here is the relevant configuration: (setq TeX-view-program-selection ...
0
votes
0answers
136 views

Forward search with okular: how to outline searched paragraph?

I have correctly configured forward search both for dvi (with xdvi) and pdf (with okular). It works fine both within lyx and within vim-latex. Yet there is a difference between dvi and pdf: if I ...
0
votes
0answers
42 views

synctex error while using TeXShop in LaTeX2

I am getting a synctex(busy) error. What gives? I posted an reply to someone else here earlier detailing my issues but would be happy to repeat them here if necessary. Can any of you super-experts ...
0
votes
0answers
168 views

Subime Text 3 + LatexTools + Evince: forward sync not working

I am writing a large document in Latex using ST3 + LatexTools on Ubuntu 16.04. I never had a problem, except that this morning forward sync was no longer working (by forward sync I mean that Evince ...
2
votes
2answers
572 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 -...
2
votes
0answers
338 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 ...
0
votes
1answer
163 views

inverse search does not work for some paper

I installed texstudio on a windows 8.1 computer. I first installed Miktex, then Texstudio, all are in the latest vision. It confused me that when I run some texfile, the inverse search function is ...
1
vote
1answer
186 views

Preview in TextMate 2 scrolls to the top each time it is refreshed

On my Mac I am using BasicTeX and TextMate 2 with the LaTeX bundle. I can typeset my document and display a PDF preview from within TextMate using the "Typeset & View" shortcut, but it scrolls the ...
0
votes
0answers
182 views

Texworks: Failure of Jump To PDF/Source

Following the jump to pdf option in TeXworks causes TeXworks to shutdown. Same for jump to source. This is on a new Ubuntu Xenial install. Have been using TeXworks for years and never got this ...
0
votes
0answers
69 views

Single Window Mode (TeXShop) - Forward Search

When I am in the "Single Window" mode in TeXShop (In the menu, Window --> Use One Window), I am able to perform a inverse search (Preview --> TeX) but not forward search (TeX --> Preview). Is there a ...
1
vote
0answers
652 views

Using TeXnicCenter with Sumatra reverse-search open Notepad++, not TeXnicCenter

I'm posting this here because I've had this happen to me multiple times and no Google search ever brings up the solution. I'm running Windows 10 with 64-bit MikTex installed and I use TeXnicCenter as ...
1
vote
0answers
724 views

Undefined symbol: synctex_next_result when starting Texmaker [closed]

I have been a years long user of LaTeX with Texmaker. I use Ubuntu 16.04. Suddenly since last week when I start Texmaker I get: symbol lookup error: texmaker: undefined symbol: synctex_next_result ...
1
vote
1answer
162 views

How can I have my LaTeX editor open my viewer on a remote display?

A dual-monitor setup is convenient for having many windows open simultaneously. For example, it is common to have a LaTeX editor running on one monitor and a viewer for the DVI/PS/PDF output on the ...
0
votes
4answers
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 ...
4
votes
2answers
272 views

Hide .synctex files

I use WinEdt 10.1 and Sumatrapdf. I find the inverse search extremely useful. However, the .synctex files are quite annoying to me because I work within a folder which contains up to a hundred latex ...
0
votes
0answers
218 views

No filename.synctex.gz file created

No filename.synctex.gz file is created if there is one (or more) accented chars in the name of the directory containing filename.tex file. I don't know if it is a known issue. I use Windows 10 ...
1
vote
0answers
48 views

inverse search and shadows tikzlibrary

The shadows tikzlibrary makes the inverse search in TeXworks fail in the first page. I included a minimal working example: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shadows} \...
3
votes
0answers
841 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 ...
3
votes
1answer
75 views

Replace fragile option with \scantokens for beamer frames

When there is some verbatim code inside a beamer frame, we need to use fragile option. But this fragile option often makes inverse search jump to wrong file. Therefore I tried to replace fragile ...
2
votes
0answers
127 views

SyncTeX files on multiple computers: possible to use relative paths?

I store my LaTeX files in a mercurial repository for backup and to transfer work between home and office. This means that my .tex files live in different paths on different computers, but the ...
-1
votes
0answers
34 views

Odd problem with pdflatex synch

So, I'm writing my thesis using texstudio and suddenly one of my chapters won't "go to source", either by menu command or ctrl + click. The rest of the document will. Yes, pdflatex.exe -synctex=1 -...
1
vote
0answers
435 views

Forward-search with several SumatraPDF files opened does not work sometimes

Reproduce: Get Forward-search working Have TeXstudio opened Have the compiled PDF file opened with SumatraPDF Open a second different pdf with SumatraPDF Click on it so that this document is in ...
0
votes
1answer
188 views

From dvi file to the latex code [duplicate]

I have remember that my friend told me that I can just click a line in the *.pdf, then latex will direct me to the corresponding line in the latex code. I have tried this function when I am using ...
1
vote
0answers
310 views

TeXworks' “Go to Source” fails with `tcolorbox`

I mainly use TeXworks (windows) as tex editor and I like its "Go to Source" command which allows to Ctrl+click somewhere in .tex (or .pdf) file and cursor jump to corresponding place in result (or ...