question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No SumatraPDF menu under Tools › LaTeX; forward and inverse search not work

See original GitHub issue

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

IDEA 2022.1, PyCharm 2022.1

Operating System

Windows 10

TeXiFy IDEA version

0.7.18

What I did (steps to reproduce)

  1. Installed texify-idea from plugins market.
  2. Restart, created a helloworld latex project. Right clicked main.tex and run Main.
  3. (Found I don’t have sumatra, so) Download SumatraPDF-3.4.4-64-install.exe, and installed in D:
  4. Open out/main.pdf by double click. The output is OK.
  5. Forward search not worked properly(no any response); Inverse search just opened notebook.
  6. Started searching how to configure texify-idea, but found nothing useful.
  7. Tried to add sumatra’s installation path to PATH. Not work.

Actual behavior

  1. No SumatraPDF menu under Tools › LaTeX image

  2. forward and inverse search not work

  3. In IDEA, double shifting and typing config inverse search could find the result, but was gray(can’t be clicked)

  4. After compiling successfully, sumatra pdf doesn’t open automatically. image

  5. If I enabled Select custom PDF viewer command, ...... option, Sumatra launched properly, but search still not worked.

Should I reinstall sumatra?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

4reactions
aflyingnoobcommented, Jun 9, 2022

Thanks, I’ve solve it. I find the two ways below are invalid on my pc (win11+pycharm, latest).

  1. select custom path on pycharm 333
  2. add system path 444

I solve it by open cmd run regedit, find this item you mentioned:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths

just new a item SumatraPDF.exe and set data to its path

11

finally, I get it

22

0reactions
PHPiratescommented, Jun 13, 2022

And the registry item was not added automatically by installer

Thanks for reporting back. Sounds like a bug in the installer then, as I’m pretty sure it used to do that in the past.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sumatrapdf - TexStudio forward- and inverse search with build ...
A possible solution to fix it is to use single quote ' to quote the argument of -inverse-search instead of double quote "...
Read more >
Synctex inverse search doesn't work half the time (and How I ...
In VS Code, use 'Synctex from cursor', the forward search works. Inverse search doesn't. In the fired up SumatraPDF, with double clicking, ...
Read more >
A LaTeX Editor - Inverse Search and Forward Search?
Double click on PDF, Error shows: "cannot start inverse search command, please check command line in settings" Close PDF, select view PDF ...
Read more >
Inverse search not performed for VS code.exe
Hello! Recently I couldn't get back through SumatraPDF to VScode. I found that inverse search didn't work, but forward search still did.
Read more >
Forward and inverse Search - LaTeX.org
just installed TXC 2.0 (64bit) and Sumatra 2.3.2 on Windows 7. ... Any ideas why both forward and inverse search do not work?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found