08-20-2013, 06:53 AM | #16 | |
Grand Sorcerer
Posts: 12,754
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
a) Feature Creep b) Business case for investing time (and money) in the process c) Size of population who might actually want this feature |
|
08-21-2013, 08:57 PM | #17 | |
Addict
Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
Quote:
almost definitely won't match the pages size for your book. What you could do as a workaround is to insert the 'real' page numbers as anchors and set the display property to 'none', so that you don't get superfluous page breaks in the middle of the text.. Any references could then link to that anchor point. |
|
Advert | |
|
08-22-2013, 04:13 AM | #18 | |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
Quote:
When I say "pre parsing" that is a temporarily process, just for the cache. It's gone, when you open another book on the same reader. Or when you remove it. The idea behind is nothing new at all and exactly the same like e.g. in picture viewing software. It just renders one or two pictures of the standard order which will come next. I'm just curious if the hardware of readers can do that - if the devolopers of the firmware want it. |
|
08-22-2013, 04:20 AM | #19 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
ePub readers do "pre-parse" the whole of a flow when that flow is loaded into memory. What they don't do is to pre-parse a different flow that you might jump to (eg a separate flow containing an endnote), because they don't have enough RAM to store a parse-tree for the entire book in memory. It's up to you, as an ebook creator, to ensure that an endnote is contained within the same flow as its reference if you want good performance.
|
08-22-2013, 04:33 AM | #20 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@HarryT
Of course they should not pre parse the whole book. I just think of pre parsing one single page. The one which contains the the target page of the first endnote sign. I talk about a vision of a firmware not about something an epub author can do right now. I just talk about what developers of a firmware could do. |
Advert | |
|
08-22-2013, 08:43 AM | #21 | |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
Additionally, pre-parsing any other page could result in slower rendering of the original page. Ebook Readers are still getting more powerful and the lag in linking to an endnote flow and then back to the original reading position is always improving so maybe this will eventually become a non-issue in a well structured book. Last edited by Agama; 08-22-2013 at 08:48 AM. |
|
08-22-2013, 09:59 AM | #22 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@Agame
My suggestion is pragmatically. It would be may be to much pre parsing, if every target page of a link is pre parsed. The target page for the first link is OK, I think. And in the typical case of endnotes, the target page will contain more than only the content of the first link, but also the second or third. But: When the implementation shows, that - by energy drain - it is OK to pre parse every target page: even better. Well, I hope you are right with your appreciation about the improvements of speed. But I think a smart pre parsing will always be faster. And for the "feeling" to really have fun in working with endnotes (or other internal links) the speed cannot be valued high enough, IMHO. Usability studies always show: delay is evil. People don't like it (if they ever experienced a faster way) |
08-22-2013, 10:06 AM | #23 |
Grand Sorcerer
Posts: 12,754
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Preparsing EVERY target page is the most asinine idea imaginable.
Basically this would mean that IF an ePub contains a TOC that links to every chapter in the book, the ENTIRE ePub would need to be rendered. Can you visualize the delay that this would entail? |
08-22-2013, 10:19 AM | #24 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@PeterT
Not every target page of every link of the whole book. But every target page of all links of one single page of a book. About delay: Pre parsing of target pages should of course be started after the rendering of the text page you are just reading has finished. That's the whole idea in pre parsing: the processor works, when nothing else is to do. |
08-22-2013, 11:01 AM | #25 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
"Pages" don't exist in a reflowable epub (origin or potential target). Only flows. And since breaking epubs into smaller "flows" isn't something that's required by spec, It's very MUCH possible that a precaching engine would be asked to precache an entire book.
Or are we philosophizing about the fantasy spec that won't allow editors to make ebooks "wrong" again? I get confused sometimes. Last edited by DiapDealer; 08-22-2013 at 11:10 AM. |
08-22-2013, 11:26 AM | #26 |
Well trained by Cats
Posts: 30,447
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Until the EPUB working group demands that all devices must support and pass a standard certification to a minimum required feature list, you have what you have now:
A PITA for book developers 16+ different renderings because various manufacturers chose to interpret (or ignore) the EPUB guidelines. The EPUB file extension and Logo need to have a License (Low or No cost) before they be used on a book. The License specifies that minimum compliance has been met for this article. (USB has such a policy, unfortunately it appears to have a hefty FEE) |
08-22-2013, 02:15 PM | #27 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
There is a part of the ePub 2 spec which allows for "real" footnotes (ie displayed at the foot of the current page) but unfortunately no device or app (that I'm aware of) implements it.
|
08-22-2013, 04:53 PM | #28 | |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
It would be a complete waste of time/battery to cache the first link if the user is interested in the 2nd, 3rd, Nth and not interested in the 1st. There's no way of telling what would be best to cache until the user clicks a link, and then - it's too late to bother caching! We can expect eBook readers to continue to increase in performance and therefore make any pre-caching of flows unecessary. Until then either keep your end notes in the same flow as the text being noted, or make your end note flow suitably small so that it is quick to parse, (but bear in mind that a huge number of files referenced in the OPF will slow down book processing! See https://www.mobileread.com/forums/sho...d.php?t=212892) Caching ahead would also be likey to use up the battery more quickly, which would be most annoying. Last edited by Agama; 08-22-2013 at 04:56 PM. |
|
08-22-2013, 04:56 PM | #29 | |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
Quote:
That's what I mean with page. But I'm not a programmer. When you are sure, that it's principally technically impossible to realize what I'm talking about, I have to respect that. I can't prove the contrary. I'm not talking about the EPUB spec. I just talk about the device and it's firmware. |
|
08-22-2013, 05:09 PM | #30 | |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
Quote:
* It's a book of 400 pages (the number which is shown in the footer). * The book has 15 chapters on 15 XHTML documents * The book contains 80 endnotes. * The book has 40 pages which contains links to endnotes. Some of these pages contain 1, some 2, others 3 endnote links (the maximum). * All endnotes are in the file endnotes.xhtml. That document has 8 pages. That means: There are 10 endnotes on a page per average In such a book you can expect, that pre parsing means, that 40 times endnotes.xhtml is parsed - additionally as to a firmware which do no pre parsing. But may be I'm completly wrong with my thoughts. I'm not a developer, as I mentioned. I just suppose that there are smart ways to implement a pre parsing. In the worst case of pre parsing there are |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Leaked Hatchette document outlining why they are relevant | sabredog | News | 12 | 12-13-2011 12:24 AM |
ids - Best practice | drMerry | Library Management | 7 | 05-07-2011 12:02 PM |
Which is consdered correct practice? | crutledge | Sigil | 3 | 01-15-2011 02:00 PM |
Best practice for <title> tags | cscotts | Calibre | 1 | 12-14-2010 05:54 AM |
restrictive practice | nobicus | Sony Reader | 14 | 09-30-2008 12:27 PM |