qpdfview does not show page labels in djvu files

Bug #1678526 reported by Viktor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Fix Released
Wishlist
Adam Reichold

Bug Description

Some ebook files like pdf and djvu have first page called "C" for cover, then some pages with Roman numbers, and then some with Arabic. It is usual numbering for mathematical books. Qpdfview perfectly understands and explains it when it is a pdf file, but when it is djvu, qpdfview starts numbering pages 1, 2, 3, etc. no matter how pages are called. Evince, for example, does not have this problem. You can find attached a djvu file on which I recognized this problem.

My system is gentoo amd64, here is the version I use:
[I] app-text/qpdfview
     Available versions: 0.4.16 {cups +dbus djvu fitz +pdf postscript qt5 +sqlite +svg synctex LINGUAS="ast az be bg bs ca cs da de el en_GB eo es eu fi fr gl he hr hu id it kk ko ky lt ms my pl pt pt_BR ro ru sk sv th tr ug uk vi zh_CN"}
     Installed versions: 0.4.16(03:07:33 PM 12/01/2016)(cups dbus djvu pdf qt5 sqlite svg -fitz -postscript -synctex LINGUAS="ru -ast -az -be -bg -bs -ca -cs -da -de -el -en_GB -eo -es -eu -fi -fr -gl -he -hr -hu -id -it -kk -ko -ky -lt -ms -my -pl -pt -pt_BR -ro -sk -sv -th -tr -ug -uk -vi -zh_CN")

Revision history for this message
Viktor (sgasgar-deactivatedaccount) wrote :
Changed in qpdfview:
status: New → Triaged
importance: Undecided → Wishlist
summary: - qpdfview does not show right page number in djvu files
+ qpdfview does not show page labels in djvu files
Revision history for this message
Adam Reichold (adamreichold) wrote :

Fixed in trunk revision 2039. Please retest.

Changed in qpdfview:
assignee: nobody → Adam Reichold (adamreichold)
milestone: none → 0.4.17
status: Triaged → Fix Committed
Revision history for this message
Viktor (sgasgar-deactivatedaccount) wrote :

Thank you for fixing. How can I install a new version on my system? I have no experience in bazaar and development of programms.

Revision history for this message
Adam Reichold (adamreichold) wrote :

Sorry, the previous comment was accidentally committed in an incomplete state...

Hello again,

there are various packages which pick these changes up automatically or build from source directly, e.g. Ubuntu [1], OpenSUSE [2] or Arch [3]. However, I do not know about any such thing for Gentoo yet.

In principle, you can also download a tarball of the current sources here [4] and do exactly what the default ebuild for qpdfview does. Or you can just try to extract the source and do "qmake qpdfview.pro", "make -j`nproc`" and then run "./qpdfview" as you should have all build-time dependencies available on Gentoo since you always build from source?

In any case, do not hesitate to ask for further help if you decided for a particular way forward...

Best regards, Adam.

[1] https://code.launchpad.net/~adamreichold/+archive/ubuntu/qpdfview-dailydeb

[2] https://build.opensuse.org/package/show/home:adamreichold/qpdfview-bzr

[3] https://aur.archlinux.org/packages/qpdfview-bzr/

[4] https://bazaar.launchpad.net/~adamreichold/qpdfview/trunk/tarball/2040

Revision history for this message
Viktor (sgasgar-deactivatedaccount) wrote :

Dear Adam,

Thank you a lot for providing instructions. "qmake qpdfview.pro & make -j`nproc`& ./qpdfview" works perfectly. (Do I anderstand right that compiled package stays in folder and can not cause any instability of my package manager?) In the new version page names in djvu's display correctly. I also noticed one more thing. http://i.imgur.com/INaGdFz.png Here, as you can see, page name is 119 and it's number is 127. But the suggestion is "Go to page 127." instead of "Go to page 119.". Could you please fix it? I noticed it on attached pdf file.

Changed in qpdfview:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.