02-22-2012, 02:16 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: pocketbook pro 902
|
Is there a TOC recognition for DJVU files on the PB902 ?
Is there a TOC recognition for DJVU files on the PB902 ?
================================== Reader : Pocketbook Pro 902 Firmware : 2.0.5 As a Ubuntu-linux user, I am using DJVU files as an alternative to pdf files. I create them on my computer (using DJVU libre, Gscan2pdf) and I create their Table of Contents (TOC) using DJVU smooth. My problem is that The Pocketbook Pro 902 reads the files but it fails to create a fully working TOC. The TOC appears on the screen and it does look like the one for PDF files. But there are no page numbers on the right-hand side of the screen (sometimes they appear but they are wrong) and I can't use the TOC to travel in the book. So my main question is simple. Is there a TOC recognition for DJVU files on the PB902 ? I have also secondary questions related to the characteristics of the pocketbook and the programs I use : a) Would a firmware or program upgrade change anything to the problem ? (I tried the djviewer B of the forum, it is useless regarding this TOC problem). b) DJVU smooth is a rather primitive (but very efficient) way of creating TOCs. Could it be the origin of the problem ? Cheers! |
02-23-2012, 08:45 AM | #2 |
Enthusiast
Posts: 40
Karma: 26
Join Date: Dec 2010
Location: Czech Republic
Device: Pocketbook 902
|
I use DJVU Outliner and I never had problems with TOC on my PB 902. OT: Only thing I hate is missing support for DJVU metadata in library.
|
02-28-2012, 09:02 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: pocketbook pro 902
|
Ok.
I have the answer to my first question. On account of tomhck's post, The Pocketbook 902 is able to recognize a table of content for DJVU files. Now, there might be something wrong with the PB firmware (a) or with the DJVUsmooth program (b)... Any ideas ? |
03-01-2012, 03:58 PM | #4 |
Member
Posts: 10
Karma: 84230
Join Date: Jul 2011
Device: PocketBook 902
|
DjVu has the possibility to add a TOC (called "outline") to a document.
The problem is that the very limited outline creation feature ("Bookmark this page" - ctrl+b) of djvusmooth produces an outline that apparently the PB DjVu-viewer doesn't understand correctly. (I don't have problems with the desktop "DjView"-viewer) But you can edit the outline manually: The basic syntax is: Code:
(bookmarks ("Chapter 1" "#pagenumber") ("Chapter 2" "#pagenumber") ... ) Code:
(bookmarks ("Chapter 1" "#pagenumber" ("Section 1.1" "#pagenumber") ("Section 1.2" "#pagenumber") ) ("Chapter 2" "#pagenumber") ... ) Code:
$> djvused document.djvu Alternatively you can use "djvused" non-interactively: Code:
$> djvused document.djvu -e "set-outline toc-file" -s See the above link for further details on "djvused" or use "man djvused" Bye, Andreas PS: The only problem I've noticed so far is with deeply nested structures like Code:
(bookmarks ("Level 1a" "#nr" ("Level 2a" "#nr" ("Level3a" "#nr" ("Level4a" "#nr") ) ("Level3b" "#nr" ("Level4b" "#nr") ("Level4c" "#nr") ) ) ) ) |
03-07-2012, 05:51 AM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: pocketbook pro 902
|
Updates on the TOC recognition problem
I have spent some time working on the problem in the last few days.
I have some new informations. I tried a firmware update. It succeded and I now have the latest Firmware (2.1.2) on my PB. But, the TOC recognition is still missing. I also tried different ways of creating djvu files : - This file has been created using the gscan2pdf and djvusmooth way. - This file has been created using open office pdf export and the pdf2djvu command. - I also tried "professional" pdf files that I converted into djvu files. None of those ideas succeded. So I have the feeling that there is a general incompatibility between outlined djvu and the PB (At least using linux-based drivers). This bug debian suggests such a problem. I wonder whether the version of djview that's implemented on the PB is recent enough to render a djvu outline ? Regards Last edited by --hy7*; 03-07-2012 at 05:56 AM. |
03-07-2012, 08:25 AM | #6 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: pocketbook pro 902
|
Answer for Andipersti
@Andipersti
Thank you very much for your help. I appreciate. This is very interesting. You're the first person who seems to have the same problem as I do. Quote:
I also share the same feeling about the complexity of the outline. The more complex it is, the less the PB is likely to render it ("deeply nested ones"). But I tried the command-line way of creating an ouline (using "djvused"). The result is the same as with djvusmooth. The outline works on my computer. The PB refuses to recognize it. You can find the test file here. I applied this structure : Code:
(bookmarks ("Famous 1" "#V8wxn8mOn6.djvu") ("Famous 2" "#x2PYHndHQX.djvu") ("Famous 3" "#eZWxg90SKk.djvu") ("Famous 4" "#UerZSvTnJc.djvu") ("Famous 5" "#H5HvnYogtP.djvu") ("Famous 6" "#81yerJ7OGm.djvu") ("Famous 7" "#8J8cWqgtoa.djvu") ("Famous 8" "#Qw3LnZed1V.djvu") ("Famous 9" "#GR64GQQ41g.djvu") ("Famous 10" "NO7eX83xqh.djvu") ) |
|
03-08-2012, 09:16 AM | #7 | |
Member
Posts: 10
Karma: 84230
Join Date: Jul 2011
Device: PocketBook 902
|
Quote:
So the only solution I can think of is setting the bookmarks as page numbers (the hash symbol following the page number: "#123"). HTH, Andreas |
|
03-10-2012, 08:46 AM | #8 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: pocketbook pro 902
|
At last, The answer !
Well done AndiPersti,
You've found the solution. The PB reader won't recognize page-names. We must use page-numbers, if we want our TOC to be useful. Here is the original file using page-numbers. I used this new structure : Code:
(bookmarks ("Famous 1" "#001") ("Famous 2" "#002") ("Famous 3" "#003") ("Famous 4" "#004") ("Famous 5" "#005") ("Famous 6" "#006") ("Famous 7" "#007") ("Famous 8" "#008") ("Famous 9" "#009") ("Famous 10" "#010") ) |
Tags |
djvu, firmware, pocketbook 902, toc |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to convert djvu files to Kindle | ebel | Amazon Kindle | 5 | 09-14-2012 04:17 AM |
902 .DJVU files | PhunkyBob | PocketBook | 9 | 08-19-2011 12:34 PM |
more margin in djvu files | review | PocketBook Developer's Corner | 1 | 02-06-2011 08:28 AM |
PRS-600 djvu files on prs 600? | sazono | Sony Reader | 11 | 04-19-2010 08:30 PM |
Recognition of author and title from html files/reading metadata from a seperate file | Lethe | Calibre | 5 | 04-03-2010 08:35 AM |