1

I am trying to properly set up the inverse search function from my compiled .pdf back to the .tex file.

On the TexMaker side, the "Configure Texmaker" field for PdfLatex writes

pdflatex -synctex=1 -interaction=nonstopmode %.tex

The "External Viewer" field writes

okular %.pdf --unique

On the Okular side, the "Configure Okular" field for Editor currently writes

Editor: Custom Text Editor

texmaker --line %l --column %c

The Shift+left click does not work how it used to, with other editors. I am on "Browse" mode. Does anyone know how to fix this? I would also like to set up forward search, but the inverse one is really what matters now.

PS. I am using Ubuntu and Windows, on different machines, same issue.

Update: it looks like when I am using, say,

texmaker -line %l -column %c

or similar variations, and then shift+left click, nothing happens but when I go to the .tex file the cursor is at the right spot! So the only thing that does not work is the automatic opening of the .tex file.

Christina V
  • 111
  • 2
  • Thanks, unfortunately that variant didn't work. I will have a look at the documentation you sent me. – Christina V Jul 25 '23 at 07:17
  • All variants also mentioned in your document have the same result, namely they do not manage to automatically open the .tex file, but when I go there, the cursor is at the right point! I added an update in my question. Have you come across this before? Thanks! – Christina V Jul 26 '23 at 08:14
  • My command in Windows right now is "C:\Program Files (x86)\Texmaker\texmaker.exe" "%f" -line %l , so I don't see what's wrong. – Christina V Jul 26 '23 at 12:38
  • The suggested command didn't work, same thing though: when I manually go back to my .tex file, the cursor has moved to the right place. I'll have a look but not sure that's the same issue, since my texmaker is working just fine. Many thanks by the way. – Christina V Jul 26 '23 at 13:02

0 Answers0