Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-21-2020, 05:54 AM   #16
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 60,048
Karma: 56698693
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by fbrzvnrnd View Post
I don't wanna go out topic but I think there are multiple problems here: Apple, you said. But I add Amazon for his "static" kindle format, the publishers fear to invest money in a digital format they really do not believe in, the DRM that freeze the 3rd parts hardware and software producers, IDPF idea to force a ebook format that *must* be a copy of a traditional book... and counting.
DRM is not the problem. IDPF is not forcing eBooks to mimic pBooks. I agree that Amazon is not helping by forcing Mobi to still be viable when it's obsolete and needs to go. KFX is a mess and that needs to go as well.
JSWolf is offline   Reply With Quote
Old 10-21-2020, 06:07 AM   #17
fbrzvnrnd
Evangelist
fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.
 
Posts: 406
Karma: 190694
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by JSWolf View Post
DRM is not the problem. IDPF is not forcing eBooks to mimic pBooks.
DRM is a problem because I cannot wrote a epub "killer appication" when every hardware/device uses a different wat to handle DRM. And IDPF IMHO forces when, for example, disable connection between ebook and internet or when not allows to change the DOM while reading.
fbrzvnrnd is offline   Reply With Quote
Old 10-21-2020, 09:56 AM   #18
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 22,939
Karma: 131533424
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Whether or not EPUB is still being developed has absolutely no bearing on the topic at hand. With spec or without, proprietary nonsense (and the downright ignoring of spec) has always meant that book designers must jump through hoops to make things work on multiple platforms. That won't change now that the EPUB specification is considered "nearly complete". DRM also has no bearing on the fact that a scattershot approach to the wide publication of similarly rendering content has always been--and will always be--necessary.

EPUB specifications were largely ignored by EPUB vendors and rendering devices/applications (even open ones) when the IDPF still existed as an independent organization, and they will continue to be largely ignored after. Their continued existence was never going to usher in any golden age of ebook publishing prosperity (nor simplicity).
DiapDealer is offline   Reply With Quote
Old 10-21-2020, 09:57 AM   #19
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 4,590
Karma: 2707438
Join Date: Nov 2009
Device: many
That is not the idpf. Under epub3, you are allowed remote resources (ie for large media files) and javascript can be used to modify the DOM. The problem is the large number of broken and outdated reading devices that the manufacturers are not fixing by updating the firmware on to the current standard.

So ebook devs have learned to target the lowest common denominator instead of the epub3 standard meaning most of its "features" go unused.
KevinH is offline   Reply With Quote
Old 10-21-2020, 01:54 PM   #20
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 2,316
Karma: 10800000
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
if you need epub3 you either need a PDF or an App. Only epub2 is assured of working on all epub apps and ereaders and is also still the best format to upload to Amazon KDP.

While it's technically possible to have text at the bottom of a page, you are better not trying to duplicate the exact appearance of paper books.
Avoid
Drop caps or images with text flowing round them
Clever formatting to have text at the bottom of a page.
Colour
Links without underlines
Underlines that are not links (on typewriters it meant set this in bold)
Oblique text rather than using an Italic font.
SMALL CAPS. Simply having a smaller font looks poor, though works sometimes.
Animation, transparency, video, audio or interactive. Pretend it's paper. Put a link and a QR code to the media on the Web or in an App.

Other issues.
If the book is for a Western Latin/Roman font audience then avoid Cyrillic, full Greek (there is limited support), Arabic, Hebrew, any Asian font, emojis, vertical text or right to left text. Those are all possible, but on a subset of eink models, often for a particular market and also app etc for those markets. Curiously Icelandic and Polish characters seem to work on quite old Kindles, but not the full modern Greek alphabet. Embedding an image of an unsupported word works really badly. There are transliteration rules for Russian Cyrillic and Chinese (pinyan). Hebrew and Arabic are commonly transliterated to English even on supermarket products.

Check on a variety of old ereaders if in doubt.

Update of devices:
Many can't be due to lack of RAM. Or the people that wrote it are gone. Also no assurance that users will update.
Quoth is offline   Reply With Quote
Old 10-21-2020, 04:23 PM   #21
fbrzvnrnd
Evangelist
fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.
 
Posts: 406
Karma: 190694
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by KevinH View Post
That is not the idpf. Under epub3, you are allowed remote resources (ie for large media files) and javascript can be used to modify the DOM. The problem is the large number of broken and outdated reading devices that the manufacturers are not fixing by updating the firmware on to the current standard.

So ebook devs have learned to target the lowest common denominator instead of the epub3 standard meaning most of its "features" go unused.
No, you can not have remote text, for example, only audio, video and font resources. And no, you can not change the DOM with javascript, if you want to follow the idpf specification ("A container-constrained script MUST NOT contain instructions for modifying the DOM of the parent Content Document or other contents in the EPUB Publication, and MUST NOT contain instructions for manipulating the size of its containing rectangle").
fbrzvnrnd is offline   Reply With Quote
Old 10-21-2020, 09:57 PM   #22
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 4,590
Karma: 2707438
Join Date: Nov 2009
Device: many
I regularly use javascript to add nodes for links to footnotes and etc and that does modify its own dom. So I am not sure what they mean by "DOM of the parent Content Document" here but modifying the dom of an xhtml page is possible.

And I did say MEDIA files (ie audio and video) and not Text.
KevinH is offline   Reply With Quote
Old 10-21-2020, 10:06 PM   #23
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 4,590
Karma: 2707438
Join Date: Nov 2009
Device: many
And according to the spec, Container-Constrained are for javascripts that are in iframe elements. Using regular javascript stored in the header (so called spine-level level) of an xhtml file that is listed in the spine can and does change the DOM. (with some minor exceptions).

The iframe box once laid out can not change size. This is not a problem for reflowable documents with javascripts stored in the header.

Last edited by KevinH; 10-21-2020 at 10:12 PM.
KevinH is offline   Reply With Quote
Old 10-22-2020, 03:20 AM   #24
fbrzvnrnd
Evangelist
fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.
 
Posts: 406
Karma: 190694
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by KevinH View Post
This is not a problem for reflowable documents with javascripts stored in the header.
Thank you for the answer, I did not notice the iframe reference. But there are too many problems when you change the DOM anyway, first of all all the EPUB3 readers I tried do not re-paginate the opened "chapter" when you change the DOM. So, if a 3 pages chapter became a 4 pages chapter after interaction with the user (modifing the DOM), the 4 page falls in the nowhere: turning the page 3 I do not read the page 4, but the page 1 of the next chapter.
fbrzvnrnd is offline   Reply With Quote
Old 10-22-2020, 03:23 AM   #25
fbrzvnrnd
Evangelist
fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.
 
Posts: 406
Karma: 190694
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by KevinH View Post
And I did say MEDIA files (ie audio and video) and not Text.
You said media, yes, not I. I'd like to have EPUB with static text and updated news about facts that are changing while the user is reading the book, but this is impossibile now (TBH I have done this in ePub2, but with a trick that was working only in few reader app).
fbrzvnrnd is offline   Reply With Quote
Old 10-22-2020, 02:42 PM   #26
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 4,590
Karma: 2707438
Join Date: Nov 2009
Device: many
But you should be able to pop up a window in javascript to display
what addition info you want (just like a pop up footnote). And what about using javascript to add an "aside" or footnote element, that might work.

I think you are allowed to have a remote image as a remote resource and if so you can build an svg image of text on your server with up-to-date info that a current epub could display since it would be grabbed during initial layout. That might be worth trying.


Quote:
Originally Posted by fbrzvnrnd View Post
Thank you for the answer, I did not notice the iframe reference. But there are too many problems when you change the DOM anyway, first of all all the EPUB3 readers I tried do not re-paginate the opened "chapter" when you change the DOM. So, if a 3 pages chapter became a 4 pages chapter after interaction with the user (modifing the DOM), the 4 page falls in the nowhere: turning the page 3 I do not read the page 4, but the page 1 of the next chapter.
KevinH is offline   Reply With Quote
Old 10-22-2020, 05:28 PM   #27
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,027
Karma: 17116633
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by fbrzvnrnd View Post
You said media, yes, not I. I'd like to have EPUB with static text and updated news about facts that are changing while the user is reading the book, but this is impossibile now (TBH I have done this in ePub2, but with a trick that was working only in few reader app).
I only have rudimentary JavaScript skills, but I had no problems hiding/unhiding text with JavaScript. For a proof-of-concept epub see the Local storage test chapter of this simple epub3 book.

For a more advanced example, see this epub3 demo by French studio Walrus:

Doitsu is offline   Reply With Quote
Old 10-27-2020, 04:21 AM   #28
fbrzvnrnd
Evangelist
fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.
 
Posts: 406
Karma: 190694
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by Doitsu View Post
I only have rudimentary JavaScript skills, but I had no problems hiding/unhiding text with JavaScript. For a proof-of-concept epub see the Local storage test chapter of this simple epub3 book.
Because you are hiding small piece of text that do not impact the number of "page" of the ebook
fbrzvnrnd is offline   Reply With Quote
Old 10-27-2020, 04:27 AM   #29
fbrzvnrnd
Evangelist
fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.fbrzvnrnd can program the VCR without an owner's manual.
 
Posts: 406
Karma: 190694
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by KevinH View Post
But you should be able to pop up a window in javascript to display
what addition info you want (just like a pop up footnote). And what about using javascript to add an "aside" or footnote element, that might work.
yes, but it is a different thing. I was working with interactive fiction in ebooks, or school books that "expand" or "compress" information following the student needs. This is a more radical vision of the book and I can not do this now if the ebook reader do not re-paginate the chapter when I change the DOM. Pop up is a nice idea, but for smaller part of text. BTW what you use for pop-up?
Quote:
Originally Posted by KevinH View Post
I think you are allowed to have a remote image as a remote resource and if so you can build an svg image of text on your server with up-to-date info that a current epub could display since it would be grabbed during initial layout. That might be worth trying.
Nice idea, I have to try it. Thank you for the suggestion.


f.
fbrzvnrnd is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gaps at bottom of page on kindle leed248680 Kindle Formats 3 09-01-2020 11:44 AM
Previous page on bottom right corner? nickie_twisp KOReader 2 10-15-2016 02:38 PM
text sticking to the bottom of the page 1v4n0 Workshop 2 09-23-2014 01:16 PM
Page numbers at bottom of screen Waylander Sony Reader 1 10-18-2013 02:21 PM
Text aligned on the bottom of the page? NASCARaddicted ePub 4 11-15-2010 01:14 PM


All times are GMT -4. The time now is 06:23 PM.


MobileRead.com is a privately owned, operated and funded community.