![]() Registered Member ![]()
|
Hi,
I am using Okular 0.7 in KDE 4.1.0 and love the highlighting feature! Apart from that I use jpdfbookmarks-2.3.0 as a conventient program to insert bookmars that appear in the contents menue. Unfortunately, the changes jpdfbookmarks does in the file also destroy all the highlightings I did with okular! This surprises me since, I thought that Okular does not manipulate the files at all but only creates aditional xml-files that appear in the .kde4/share/apps/okular/docdata/ directory. Does anybody have a hunch what could be the cause of this behaviour? Thanks in advance, David |
![]() Administrator ![]()
|
Okular likely uses sums or other forms of checks to identity files previously highlighted. When you add those bookmarks, the sum will change - so Okular cannot identify it as the file it used to be.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks bcooksley! I already feared that it might be something like that. Well, I'll have to think about a workaround!
Greetings, David |
![]() Administrator ![]()
|
You should be able to edit/rename the XML files that Okular creates once you find out the scheme it uses to map files on disk to it's annotation storage.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hi bcooksley, right! Thank you so much for the hint!! I should have checked this before! Ocular apparently puts the file size in front of the file in the according xml-file. Thus, a file called "file.pdf" with a size of 951321642 gets an xml-file called "951321642.file.pdf.xml" I just have to write a script that exchanges the old number with the new after having run pdfbookmarks. Cheers, David |
Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell