Bug 427343 - Latex: Inverse search with emacs is broken
Summary: Latex: Inverse search with emacs is broken
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.11.1
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-04 20:57 UTC by Reissner
Modified: 2020-10-06 19:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example tex file. (3.52 KB, text/x-tex)
2020-10-06 18:33 UTC, Reissner
Details

Note You need to log in before you can comment on or make changes to this bug.
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.