08-10-2013, 03:29 PM | #1 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Feb 2011
Device: none
|
No pop-up with reference mode
with calibre 0.9.43, OSX 10.8.4 if I open a book with calibre's reader and turn on Reference Mode I don't get a reference pop-up. What am I missing?
|
08-10-2013, 11:15 PM | #2 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Works for me, is it a particular book or all books that it isn;t working for?
|
08-10-2013, 11:23 PM | #3 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Feb 2011
Device: none
|
looks like some do work, and some don't.......
|
08-10-2013, 11:43 PM | #4 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Reference mode only works if the book has actual paragraphs in it. If no paragraphs can be found, then it wont work. Some badly made books fake the look of paragraphs using other methods, which can break reference mode.
Impossible to say more without access to one of these books. |
08-11-2013, 12:10 AM | #5 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Feb 2011
Device: none
|
aha!
I opened the offending book in Sigil and yes indeed, the book uses <div class="tx"> paragraph text </div> instead of a <p> text </p> and depending on section of the book there are several different classes for the paragraphs..... (which vary the leading bewteen 0 and 1 em) is there a special tweak to address this, or is it just too variable to address? |
08-11-2013, 12:25 AM | #6 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Reference mode only works with <p> tags, it doesn't care about classes. This is because <div> tags can be nested, so there is no good way of getting a single useful number out of them, the same visual position in the book could correspond to several different nested <div>s. And you would get weird jumps in numbering, for example, if the visually first para is numbered 1, the visually second one may or may not be numbered 2 depedning on the presence of nested divs.
Last edited by kovidgoyal; 08-11-2013 at 12:28 AM. |
08-11-2013, 12:44 AM | #7 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Feb 2011
Device: none
|
thanks
|
08-11-2013, 02:39 AM | #8 |
Well trained by Cats
Posts: 29,792
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Paper mode/Two column mode in new PDF reader | Fourier | Onyx Boox | 3 | 10-15-2012 10:48 AM |
USB Host Mode (Master Mode) on K3 | ericepe | Kindle Developer's Corner | 1 | 01-24-2012 04:59 AM |
Request Safe mode or recovery mode for Pocket Edge? | felixblackcat | enTourage eDGe | 25 | 01-08-2012 05:07 PM |
Reference Mode in calibre Viewer | Lady Fitzgerald | Calibre | 2 | 10-12-2010 10:19 AM |
funny ebook pop culture reference | Nate the great | Amazon Kindle | 10 | 03-21-2009 07:12 PM |