| Summary: | Latex: Inverse search with emacs is broken | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Reissner <rei3ner> |
| Component: | general | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | grave | CC: | aacid, rei3ner, yurchor |
| Priority: | NOR | ||
| Version First Reported In: | 1.11.1 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | example tex file. | ||
Need files to reproduce the problem Created attachment 132155 [details]
example tex file.
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.
|
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.