Summary: | Make Forward Search for pdf work with okular | ||
---|---|---|---|
Product: | [Applications] kile | Reporter: | Christian Trippe <christiandehne> |
Component: | general | Assignee: | Michel Ludwig <michel.ludwig> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.0.84 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
patch which allows forward search for pdf for me
example document for pdf fowars search |
Description
Christian Trippe
2010-02-13 20:18:33 UTC
Created attachment 40748 [details]
patch which allows forward search for pdf for me
Unfortunately, I'm unable to create a PDF with Synctex information easily. Could you maybe attach one? Also, it seems that Okular needs different input parameters for ForwardDVI/ForwardPDF, which is something that should be addressed in Okular in the long run, I think. (In reply to comment #2) > Unfortunately, I'm unable to create a PDF with Synctex information easily. > Could you maybe attach one? The synctex information is not in the pdf itself, but in the document.synctex.gz file which is created when running 'pdflatex -synctex=1 document.tex' I will attach a tex-file with the correspondent synctex.gz and pdf file. > > Also, it seems that Okular needs different input parameters for > ForwardDVI/ForwardPDF, which is something that should be addressed in Okular in > the long run, I think. It does not really need different input parameters from what I can tell. Both work with okular test.(dvi|pdf)#src:<line no.>test.tex It also works if you use absolute pathes for your files or relative pathes without './'. Only when you use relative pathes with './' this works with ForwardDVI but not with ForwardPDF. I can also report this as bug/wish for okular if you think it should be fixed in okular. Created attachment 41028 [details]
example document for pdf fowars search
(In reply to comment #4) > Created an attachment (id=41028) [details] > example document for pdf fowars search Thanks for that. I've now committed a slightly modified version of your patch (revision 1095722). I think it would be good to report this as well to the Okular people as these differences between DVI/PDF forward search are probably not intended. (In reply to comment #5) > > I think it would be good to report this as well to the Okular people as these > differences between DVI/PDF forward search are probably not intended. Just for reference the bug against okular is https://bugs.kde.org/show_bug.cgi?id=228427 |