Mahfuzur Rahman Mamun has been working on a GSOC to bring multi column support to Okular text selection, it has reached the state where it would be nice to have other people testing it and giving some feedback about what you think about it. So please all you heavy okular users go, checkout the selection_and_highlighting branch and either write here or write to the okular-devel mailing list.
So what is the easy way to build Okular?
ReplyDeleteI guess using any of the "automated" build tools around KDE but i do not use them so can't comment on it
ReplyDeleteChecked it out with a couple of two column pdfs, selection and highlighting work well. :)
ReplyDeleteHowever, doesn't work with any three column pdfs I've tried. :(
Great to see this feature being added. I know it will get better in time.
Great work Mamun.
Okular FTW!!
Can you please post a link to the three column pdf you tried?
ReplyDeleteHere are some of the files I've tried
ReplyDeletebr_lineMar07.pdf
u_turn_18-19.pdf
investors-digest-article.pdf
I got them from a search for three column pdfs
Hope that helps.
It is not actually related with the number of columns. I have tested on four even five columned pdfs. It is related with the complexity of the layout. I have not implemented the cases of complex layouts which is the reason it is failing now. But, the formats of complex layouts comes in magazines and newspapers and do not occur in scientific papers (conference papers) naturally.
ReplyDeletePlease see the blog post http://nightcrawlerinshadow.wordpress.com/
You can get a better idea about the implementation there.
I can't find the selection_and_highlighting branch. Is git://anongit.kde.org/okular the correct URL?
ReplyDeleteI thought that maybe it was merged in master but after compiling it, it seems that multicolumn highlighting is still broken. What am I doing wrong?
@Azou: Yes, it's been merged to master. Open a bug if you have a multicolumn document where selection does not properly get cut at the column level.
ReplyDeleteThanks for your reply
ReplyDeleteOk but before I do, I have to be sure it is a bug.
Here what I did in order:
git clone git://anongit.kde.org/okular
compiled with
cmake ~/Programs/Installeurs/kde-devel/src/okular/ \
-DCMAKE_BUILD_TYPE=debugfull\
-DCMAKE_INSTALL_PREFIX=$KDEDIR
(with KDEDIR being ~/Programs/kde-devel)
make
make install
I launch it using ~/Programs/kde-devel/bin/okular.
Is this correct?
No, it's not, you are missing a bit, read the "If you install Okular in a different path than your system kde4 install directory it is possible that you need to run" part in http://okular.kde.org/download.php
ReplyDeleteThis is GREAT! it works perfectly! I'll add that to my bashrc. Thank you so much, you maybe don't know that, but you saved my life!
ReplyDeleteHappy that you are happy :-)
ReplyDelete