Markup (Highlighting) in foreseeable future?

Asked by Christian Gebbe

Hi qpdfview-team,

first of all thank you very much for this great application! I really appreciate the speed, the search and of course the tab-feature.

Really the only thing I am personally looking for in an pdf viewer would be highlighting of text and adding notes. Such features are realized for example in pdf xchange viewer.

Is there any plan to integrate such functionality? Cheers
Chris

Question information

Language:
English Edit question
Status:
Solved
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Solved by:
Christian Gebbe
Solved:
Last query:
Last reply:
Revision history for this message
Adam Reichold (adamreichold) said :
#1

Hello Christian,

Glad that you find the program useful. Can you add which operating system (e.g. the distribution and its version) you use? Because if you have Poppler version 0.20 or higher and qpdfview 0.3.2 or later, adding annotations (that is highlighting text and adding notes) should be possible and they should generally be compatible with other PDF viewers.

Best regards, Adam.

P.S.: For example Debian stable and Ubuntu carry only version 0.3.1 in their repositories but thanks to Benjamin's packaging work, Debian unstable and the PPA at "https://launchpad.net/~b-eltzner/+archive/qpdfview" generally carry the latest stable version.

Revision history for this message
Adam Reichold (adamreichold) said :
#2

Be aware though that Ubuntu 12.04 and currently also Debian unstable only have Poppler versions older than 0.20.

Revision history for this message
Christian Gebbe (christian-gebbe) said :
#3

Hi Adam,

thank you for the long explanation! I am using qpdfview 0.3.5beta1, but poppler has just the version 0.18.4-lubuntu2 (I believe. It's the repository called "libpoppler-glib8", right?)

So now I'm trying to install the current stable version of poppler. This does not at all concern qpdfview, but I would really appreciate if someone could help me out here: Among the dependencies was fontconfig, which I downloaded as well. When trying to ./configure fontconfig, I get the following error:
"configure: error: Package requirements (libxml-2.0 >= 2.6) were not met: No package 'libxml-2.0' found"

Am I assuming right, that the error is flawed? In my understanding my current version is higher than the required one and the installer somehow doesn't recognize it. I would follow the advise given "Alternatively, you may set the environment variables LIBXML2_CFLAGS and LIBXML2_LIBS to avoid the need to call pkg-config." Since I'm new to linux: Is my understanding correct?

P.s.: linux is the following:
-Version-
Kernel : Linux 3.2.0-23-generic (i686)
Compiled : #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012
Distribution : Linux Mint 13 Maya
Desktop Environment : XFCE 4

Revision history for this message
Benjamin Eltzner (b-eltzner) said :
#4

Hi Christian,

could you give a link to the repository you are trying to install from? Are trying to install a package or compiling from source? If you are trying to install a package, are you sure it is compatible with your distribution?

The easiest way to get poppler 0.20 would probably be to wait a month or so for the next release of Linux Mint, as Ubuntu 12.10 and thus also Mint 14 will have the new poppler version.

Revision history for this message
Adam Reichold (adamreichold) said :
#5

Hello,

Whether the error is flawed depends on which packages you have installed: If you have "libxml2" but not "libxml2-dev" installed then the error is correct. Most library packages ship the files necessary for development (headers, pkg-config definitions) in separate packages ending on "-dev". Since calling "./configure" implies you try to build from source you would not a lot of those "-dev" packages as well.

But as Benjamin said, the next version of Ubuntu, i.e. 12.10, which will be released this month does ship Poppler 0.20.x and hence you could just wait some more for this to happen. As the Poppler library is on quite a low level in desktop stack, this would probably save you a lot of trouble.

Best regards, Adam.

Revision history for this message
Christian Gebbe (christian-gebbe) said :
#6

Thanks again Adam and Benjamin for the clarifying answers. I didn't really plan to upgrade to Mint14, but this would be a good reason.

If everything works out, how can I show a little bit of my support? Donations or just spreading the word about qpdfview?

Cheers and good luck with the project!

Revision history for this message
Adam Reichold (adamreichold) said :
#7

Thanks for you kind offer and good wishes. Since this is currently strictly an after-hours hobbyist project with the infrastructure provided for free via Launchpad, I think donations are not appropriate. But spreading the word, reporting bugs, helping to translate or just testing the dailydebs from time to time is very much appreciated!