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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 06-19-2016, 02:47 AM   #16
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by BetterRed View Post
You mean everyone isn't one of us - I often photocopy/print the endnotes.

BR
ANOTHER one. Slowly but surely, the shunned ones emerge from the dark...




Hitch
Hitch is offline   Reply With Quote
Old 06-19-2016, 08:12 AM   #17
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,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Ghitulescu View Post
I wonder whether it is possible to implement a sort of history.back(-1) in an ePub, as not all eReaders allow such a functionality?
@Ghitulescu: I experimented with this some time ago, but finally gave up on it, because it'd require ePub3 apps/readers with JavaScript support. And since most ePub3 apps also have popup footnote support, it's somewhat pointless to implement a JavaScript solution.

(For more information on popup footnotes, see this post.)

My (valid) ePub3 test file uses onload, onclick and localStorage to save the id of the footnote reference and to dynamically generate backlinks that simulate the back button.
The book contains 3 chapters with identical footnote links and a footnotes html file with dummy definitions.
For debugging purposes the ePub will also display the id of the calling footnote reference and the href of the backlink via alert().
However, the only mobile app that it worked with was iBooks for iOS and the only PC ebook app it worked with was ADE 4.5.x.
(It also works with Sigil 0.9.5 or higher.)

However, since I only have very limited JavaScript skills, it's quite possible that there's a subtle JavaScript bug that I missed. I attached my file to his post so that ebook designers with much better JavaScript skills than me can have a look at it.

BTW, if you open the book with an ePub app without JavaScript support, the footnotes won't have backlinks, but the footnote links should still work.
Attached Files
File Type: epub dynamic_links_epub3x.epub (32.1 KB, 432 views)
Doitsu is offline   Reply With Quote
Advert
Old 06-19-2016, 04:25 PM   #18
mattmc
Connoisseur
mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.
 
Posts: 89
Karma: 185923
Join Date: May 2015
Device: iPad 1/2/Air, K3/PW2/Fire1, Kobo Touch, Samsung Tab, Nook Color/Touch
Quote:
Originally Posted by Hitch View Post
Indeed--I'd considered this sort of idea. Create a bunch of duplicate landing points that are effectively invisible, but that work. For this particular project, however, they are actual large sections of the book. e.g., "See Resources/Veterinarians," with 100 listings, and the like. It wouldn't be a trivial amount of repetitive content--and out of curiosity, how are you then "hiding it" from those paging through? Are you assuming that folks won't read the footnotes sequentially, or? Where are you putting them that's hidden from the casual thumber?
Yeah, each "footnote" is on its own page in the back of the book. Yes, assuming they won't flip through them. I mean, I'm specifically doing it with a sort of glossary, which is in a separate section from the actual footnotes, and I don't know anyone who likes to just read a glossary

But yeah, if you're linking to content in the book, this workaround wouldn't apply.

Quote:
Originally Posted by Doitsu View Post
@Ghitulescu:I experimented with this some time ago, but finally gave up on it, because it'd require ePub3 apps/readers with JavaScript support. And since most ePub3 apps also have popup footnote support, it's somewhat pointless to implement a JavaScript solution.

...

My (valid) ePub3 test file uses onload, onclick and localStorage to save the id of the footnote reference and to dynamically generate backlinks that simulate the back button.
The book contains 3 chapters with identical footnote links and a footnotes html file with dummy definitions.
For debugging purposes the ePub will also display the id of the calling footnote reference and the href of the backlink via alert().
However, the only mobile app that it worked with was iBooks for iOS and the only PC ebook app it worked with was ADE 4.5.x.

...

However, since I only have very limited JavaScript skills, it's quite possible that there's a subtle JavaScript bug that I missed. I attached my file to his post so that ebook designers with much better JavaScript skills than me can have a look at it.

BTW, if you open the book with an ePub app without JavaScript support, the footnotes won't have backlinks, but the footnote links should still work.
Um, wow. Mega props, Doitsu! If you don't mind, I just might use this at some point...

Last edited by mattmc; 06-19-2016 at 04:29 PM.
mattmc is offline   Reply With Quote
Old 06-19-2016, 09:39 PM   #19
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by mattmc View Post
Yeah, each "footnote" is on its own page in the back of the book. Yes, assuming they won't flip through them. I mean, I'm specifically doing it with a sort of glossary, which is in a separate section from the actual footnotes, and I don't know anyone who likes to just read a glossary
You don't? You do now, if internet-knowing counts.
Quote:
But yeah, if you're linking to content in the book, this workaround wouldn't apply.
Yeah. Suckage.

Quote:
Um, wow. Mega props, Doitsu! If you don't mind, I just might use this at some point...
I know, it's tasty, right? I've squirreled this little acorn away with my stuff from you and other nut--uh, guys! :-)

Hitch
Hitch is offline   Reply With Quote
Old 06-20-2016, 04:43 AM   #20
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
I am also of the opinion that a piece of anything, if not correctly working, should not be bought and used. This is often referred to as "voting with the purse".

However, for now on I am stuck with some hardware ereaders that have a back function and with an otherwise excellent ereader for android that has not this.

Meanwhile, searching the net I noticed that there might be a newer version of gitden, as many screenshots do show a back function.

I prefer to stay with epub2.0.
Ghitulescu is offline   Reply With Quote
Advert
Old 06-21-2016, 12:13 AM   #21
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
Quote:
Originally Posted by Hitch View Post
Are you assuming that folks won't read the footnotes sequentially, or? Where are you putting them that's hidden from the casual thumber?

(I'm one of those. Yes, it's true, I confess--I tend to read footnotes by themselves! The Horror, I know, but...)

Hitch
Well, I'd say if the reader is so casual that they don't realize they have read that same footnote thrice before, they can only benefit from reading it a fourth time.


Spoiler:
Yes, I know that's not what you meant...
doubleshuffle is offline   Reply With Quote
Old 06-21-2016, 02:58 AM   #22
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
Quote:
Originally Posted by doubleshuffle View Post
Well, I'd say if the reader is so casual that they don't realize they have read that same footnote thrice before, they can only benefit from reading it a fourth time.
History books greatly benefit from reading the same footnote twice or as many times as one need. So do many technical books. Even the comments on the Bible should be read many times

For now I copy/paste the same note over and over and renumber it/them accordingly. Not a big problem. Not very elegant either.
Ghitulescu is offline   Reply With Quote
Old 06-29-2016, 12:45 AM   #23
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
I'm not expert enough to answer the following question, nor in a position to experiment but... as long as there was no more than one link to the common target from a single html page (ie: in the chapter) could you link in a different css for each chapter with a different set of css variables? (If there was more than one link in the chapter, you'd only be able to pick one variable to come back to even with this hacky idea.)

Then if there was no css linked in the target's html, could it inherit the css of the preceding html page? If so, you could set the variables in the chapter's linked css and the target's html would use them.

So, in every chapter that you want a different return value you vary that value in the css variable.

Probably wouldn't work, but if there is a way to force that inheritance, it might. @import, maybe? I'm probably way off base here -- surely when you jump between an epub's internal documents, all prior css is lost...

2¢, and worth every penny.

Aloha.

ps: @document in your master css with nested anchor tags for every origin link at the target? So when you leave chapter 17 for the target html you link to its <a href="target.html#chapter17"> anchor, and your CSS variable gets applied? I don't know if the URL can include anchors for @document. ... or maybe a unique string in that anchor, and use the regexp function of @document?

pss: I bet variables don't work in most devices anyway.

psss: @document and symbolic links?

Last edited by capidamonte; 06-29-2016 at 01:20 AM. Reason: addendum
capidamonte is offline   Reply With Quote
Old 06-29-2016, 12:55 AM   #24
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by capidamonte View Post
I'm not expert enough to answer the following question, nor in a position to experiment but... as long as there was no more than one link to the common target from a single html page (ie: in the chapter) could you link in a different css for each chapter with a different set of css variables? (If there was more than one link in the chapter, you'd only be able to pick one variable to come back to even with this hacky idea.)

Then if there was no css linked in the target's html, could it inherit the css of the preceding html page? If so, you could set the variables in the chapter's linked css and the target's html would use them.

So, in every chapter that you want a different return value you vary that value in the css variable.

Probably wouldn't work, but if there is a way to force that inheritance, it might. @import, maybe? I'm probably way off base here -- surely when you jump between an epubs internal documents, all prior css is lost...

2¢, and worth every penny.

Aloha.

ps: @document in your master css with nested anchor tags for every origin link at the target? So when you leave chapter 17 for the target html you link to its <a href="target.html#chapter17"> anchor, and your CSS variable gets applied? I don't know if the URL can include anchors for @document. ... or maybe a unique string in that anchor, and use the regexp function of @document?
Cap:

Sweetie, you intrigue me, you do. I may give that a go this weekend, if I get some free time. Hmmmmmm....although knowing Tex, he may leap into testing it first. :-)

Hitch
Hitch is offline   Reply With Quote
Old 06-30-2016, 10:56 PM   #25
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
Hey, Your Hitchness!

I didn't see your reply before I PSSSed. I actually think the best bet is @document with symbolic links. And this all requires the reader to support variables in the first place, of course. Since most readers are based on some sort of linux, symbolic links would give you the simple html address that would work with @document.

Hope you are well, and mucho aloha.
capidamonte is offline   Reply With Quote
Old 07-01-2016, 03:37 AM   #26
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by capidamonte View Post
Hey, Your Hitchness!

I didn't see your reply before I PSSSed. I actually think the best bet is @document with symbolic links. And this all requires the reader to support variables in the first place, of course. Since most readers are based on some sort of linux, symbolic links would give you the simple html address that would work with @document.

Hope you are well, and mucho aloha.
We're pretty good here, SOSO, you know how it is.

I just pulled my ancient carcass out of bed---pulled a 36-hour "shift," so I'm a bit ragged round the edges. I'll look at this again when I'm less bedraggled. Can't seem to do those long days like I used to!

Hitch
Hitch is offline   Reply With Quote
Old 07-03-2016, 07:22 PM   #27
mattmc
Connoisseur
mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.
 
Posts: 89
Karma: 185923
Join Date: May 2015
Device: iPad 1/2/Air, K3/PW2/Fire1, Kobo Touch, Samsung Tab, Nook Color/Touch
Quote:
Originally Posted by capidamonte View Post
Hey, Your Hitchness!

I didn't see your reply before I PSSSed.
I don't know if that was intentional, but

Quote:
Originally Posted by capidamonte View Post
I actually think the best bet is @document with symbolic links. And this all requires the reader to support variables in the first place, of course. Since most readers are based on some sort of linux, symbolic links would give you the simple html address that would work with @document.
I appreciate your unconventional ideas, but you're a little off-target here. Symlinks are a *nix OS thing, they don't exist in an ebook rendering environment. That's like saying you should embed a (Windows) Start button in your Microsoft Word document. These things are not quite on the same plane of existence.

Unfortunately, the problem boils down to one of state. If you want a backlink to change based on where the reader came from, you want your application to have a state. Full EPUB2 compatibility, AFAIK, means no Javascript, and no JS means no state. No amount of tricky CSS styling will get you anywhere, as that stuff is stateless.

Funny, as I'm about to hit Submit Reply, I actually understood what you meant by symlinks. If you could have each of your hyperlinks hit a symlink that went to the same document, but somehow "defined a different URI for where you were", you could then use the @document directive to use CSS to hide/show the appropriate backlinks. Huh. 10 points for cleverness, but yeah, symlinks are out and @document is an experimental CSS feature :/
mattmc is offline   Reply With Quote
Old 07-03-2016, 07:36 PM   #28
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
Your last paragraph is what I mean, yes. Did you actually try it?

There is definitely a file system, and the link file can be part of that system. The application that is running on your device is probably running a Linux kernel, and in Linux environment everything is accessible as a file. No state required, I don't think.

Yes, @document is experimental. But do you know whether it is actually working in any devices or not?

I've touched on these points in my original suggestion, and I still think it needs to be tried. It may well not work, for exactly the reason that @document may not be supported, CSS variables may not be supported. Should still be tried, because it's pretty simple and it just might work and it isn't difficult to test.

Aloha, and thanks for responding. And for understanding what I was trying to suggest.
capidamonte is offline   Reply With Quote
Old 07-03-2016, 10:36 PM   #29
mattmc
Connoisseur
mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.
 
Posts: 89
Karma: 185923
Join Date: May 2015
Device: iPad 1/2/Air, K3/PW2/Fire1, Kobo Touch, Samsung Tab, Nook Color/Touch
Quote:
Originally Posted by capidamonte View Post
Your last paragraph is what I mean, yes. Did you actually try it?

There is definitely a file system, and the link file can be part of that system. The application that is running on your device is probably running a Linux kernel, and in Linux environment everything is accessible as a file. No state required, I don't think.

Yes, @document is experimental. But do you know whether it is actually working in any devices or not?

I've touched on these points in my original suggestion, and I still think it needs to be tried. It may well not work, for exactly the reason that @document may not be supported, CSS variables may not be supported. Should still be tried, because it's pretty simple and it just might work and it isn't difficult to test.

Aloha, and thanks for responding. And for understanding what I was trying to suggest.
Yeah, unfortunately the symlink thing would leave out all Windows-based stuff. So...tricky.

Per this article: https://css-tricks.com/the-at-rules-of-css/
@document is compatible with almost nothing as of May 2015.

Given that evidence, and my limited time, I think I won't work on it further...but I appreciate the out-of-the-box thinking
mattmc is offline   Reply With Quote
Old 07-04-2016, 12:05 AM   #30
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by capidamonte View Post
Yes, @document is experimental. But do you know whether it is actually working in any devices or not?
It's CSS level 4, and is currently supported only by the Gecko (Firefox) rendering engine. So basically, unless somebody builds an eBook reader based on Gecko, it is safe to say that it isn't supported anywhere.

If @document were supported in Safari, you might have a chance with the WebKit-based readers, but it isn't. See:

https://bugs.webkit.org/show_bug.cgi?id=51172
dgatwood 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
WANTED eReader that has epub Formate.... Barbara1955 Which one should I buy? 22 10-12-2015 06:41 AM
Wanted: Company who makes Epub seglare80 ePub 14 03-13-2014 05:06 PM
Suppose I wanted to make an epub??? ProDigit ePub 97 04-17-2012 10:10 PM
added epub, now wanted to get metdata salines Calibre 12 11-24-2011 01:28 AM
Wanted: EPUB testbed e-reader - what's good and cheap Greg Anos Which one should I buy? 4 10-11-2010 10:58 AM


All times are GMT -4. The time now is 02:12 AM.


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