Bug 427343

Summary: Latex: Inverse search with emacs is broken
Product: [Applications] okular Reporter: Reissner <rei3ner>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: grave CC: aacid, rei3ner, yurchor
Priority: NOR    
Version: 1.11.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: example tex file.

Description Reissner 2020-10-04 20:57:20 UTC
SUMMARY
inverse search with latex is broken

STEPS TO REPRODUCE
1. compile file xxx.tex with \usepackage[active]{srcltx}
2. open xxx.pdf with okular, setting for inverse search is
   emacsclient -a emacs --no-wait +%l %f
3. activate browse tool and shift click on a line. 

OBSERVED RESULT

Nothing happens


EXPECTED RESULT

the editor opens at the according line 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Linux localhost 5.8.7-1-default 
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION

If i enter the command 
emacsclient -a emacs --no-wait +%l %f
directly on the console, with line number %l=200 and according file %f=xxx.tex, 
emacs(client) works correctly. 
So I think, emacs and latex itself are ok and the problem is with okular. 

Maybe it is the last update on suse tumbleweed.
Comment 1 Albert Astals Cid 2020-10-04 21:45:08 UTC
Need files to reproduce the problem
Comment 2 Reissner 2020-10-06 18:33:04 UTC
Created attachment 132155 [details]
example tex file.
Comment 3 Yuri Chornoivan 2020-10-06 19:15:24 UTC
The modern LaTeX uses completely different way to establish inverse search connections. There is no need in \usepackage[active]{srcltx}, you should just compile your code with

pdflatex -synctex=1 xxx.tex

and everything should work.