-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requests from authors #46
Comments
Thanks @JayPanoz for collecting those requests. Have you documented how footnotes are implemented across EPUB3 readers? I agree that this is often requested by users, but we need to know more before we can figure out a solution in R2. |
I can already tell how they are displayed/managed but must document further details, for instance “are styles applied?” Some readers like iBooks may manage them as widgets so I won’t necessarily be able to have implementation details, it will be educated guesses. As far as I can tell:
Implementation detailsiBooks[edit = added some details, sorry.]
Kobo
Kindle
|
Regarding "popup footnotes" support in Readium: this functionality is currently implemented in a "feature branch" (i.e. not the mainstream Readium releases), see the Pull Request readium/readium-js-viewer#505 Basically, the note content is extracted from the EPUB content document (HTML DOM), and presented "externally" via a modal dialog implemented with the same user interface controls as the rest of the application (that is to say: Chrome extension and cloud reader app, as native apps would have to implement this to suit their own UI framework). This way, the note content is accessible to screen readers without resorting to injecting "live region" overlays inside the actual content. PS: the note content's CSS is set to |
Purely from a code perspective, I see only two things that we'll need to support:
Visually, I don't think it's up to us to decide how this will be handled. |
Given that out of the 4 apps I’ve discussed, there are 3 different visual implementations, I agree. Same for page numbers by the way. |
Well, we have to decide for Readium Desktop, the only end-user app we'll create in the short term. |
@llemeurfr I assume a lot of the requests I’ll collect will indeed be usable for Readium Desktop. Do you want me to maintain a dedicated Google Doc until there’s a RD repo? |
There's a Readium Desktop repo already (in the EDRLab Github for now), you could indeed publish interesting info on this repo, in specific UX issues. I'll give you access, people interested in RD UX decisions will be able to check them. |
Whoops, completely flew under my radar (didn't check the EDRLab github for some reason, sorry). Already have a request for page numbers so yeah, it’ll be the best place for details. |
Just to let you know I updated first message with some requests I got during yesterday’s eprdctn hour (math, themes, margins & backgrounds, tables). |
This is probably more of an UX issue but what I can tell, from an authoring point of view is that it’s really really painful to manage at the authors’ level in paginated environments. Tables may be cramped or overflow-x, additionally span several pages… And Columns are not particularly good at fragmenting them. What I tried for the OECD prototype which was presented at ePub Summit:
What iBooks doesTable is displayed as usual but double-click opens it in a web view, without authors’ styles. How the web deals with thisThis CSS-tricks article discusses possible solutions for tables, which are also an issue on the web. We’re on the same boat. What could be in the scope of R2Like footnotes, extract the HTML for a table’s content so that implementers at least have the option to do as iBooks does. |
FWIW, I can provide authors with 2 specific CSS variables for this (if background is set then text color should probably as well). We’ll have to deal with this for reading modes anyway i.e. make colors bleed so that the entire screen is the same color in night or sepia modes. And those 2 authors variables could be retrieved in JS at runtime (they’re a computed style). |
So I was mistaken about that, they’re actually using a plist and/or embedding an xml file in iBooks Author’s EPUB3 files. It’s quite hard to tell what they’re doing with it since I don’t know MathML very well. So if anybody could clarify that… |
We’re collecting feedback for Readium CSS and some requests may exceed the project’s scope. This issue is intended to list those requests.
I assume you’ll open specific issues for requests if needed so I may edit this first comment so that it’s easier to keep track. I’ll also include the source whenever possible so that you can require additional information.
pagelist/page numbers support since it is critical for textbooks in education (source)→ Streamer already retrieves pagelist/navdoc, it’s up to apps to display page numbers.mathml.css
and doesn’t rely on webkit’s)background-color: red
onbody
). I’ve just discovered that some Reading Systems actually do it.margin
in a chrome vs content wayThe text was updated successfully, but these errors were encountered: