epub3-samples
pytikz
epub3-samples | pytikz | |
---|---|---|
3 | 1 | |
418 | 48 | |
0.7% | - | |
3.5 | 3.2 | |
10 months ago | 2 months ago | |
HTML | Jupyter Notebook | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
epub3-samples
-
Converting my PhD thesis into HTML
With MathML epubs can look decent. For example take a look at the sample MathML epub "A First Course In Linear Algebra" [0] (in a reader that supports MathML of course). It looks pretty good. The problem is Amazon STILL doesn't support MathML, so publishers just churn out a gross version where all the equations are images and so then it doesn't scale properly with the text and the book becomes 300+ MB because of it. And they can't be bothered to make two versions for readers like Kobo that do support MathML.
[0]: https://github.com/IDPF/epub3-samples/releases/download/2017...
-
File Types -- ? New to Brave, after a few days, I have only one question please?
For example, if you want to open epub files like https://github.com/IDPF/epub3-samples/releases/download/20170606/accessible_epub_3.epub inside Brave, you will have to install an epub reader extension then instead of downloading it will open inside Brave, if you want to change that behavior you have to disable the extension or limit the extension's domain list, or you right click and "save link as file", but unless the extension has the settings, there is no way to tell Brave to use extension or download manager depending on extensions, unless the extension gets disabled. And if you have an external epub reader, well, you can automatically open the extension when you tell Brave to do it as well.
-
Today I learned ePub is just HTML/CSS
I've worked on a ePub parse and renderer and the issues you're describing sound pretty familiar.
The three main components of the ePub (aside from the actual pages) are the TOC, the spine and the manifest. The manifest basically tells you where everything is, the TOC is the table of contents which can link to various pages and the spine gives you the traversal order.
Some mistakes I've seen are using the TOC to traverse the book. Using the spine to traverse the book but not handling hidden pages properly. Not handling two page spread properly.
So yeah the spec is nuanced and it would be easy to make a reader that worked with a lot of books but then had weird issues on another set of books that aren't particularly different.
I recall using this repo (https://github.com/IDPF/epub3-samples) to test specific functionality to make sure it was in line with the spec.
pytikz
-
Converting my PhD thesis into HTML
I recently discovered this python interface for tikz https://github.com/allefeld/pytikz
While it does not directly address the issues you point at, it does alleviate some issues.
* The syntax is somewhat easier to parse.
* It is a lot easier to write functions to redraw the same components over and over again.
* Doing math calculations to systemically place objects in relation to each other is a lot easier because python's arithmetic syntax is a lot more intuitive than TeX's.
Of course, this does mean that you have to fire up python to draw figures.
What are some alternatives?
epubjs-reader - Epub.js Reader
mathpix-markdown-it - Markdown rendering + Latex extras (equations, tables, ...), with conversion features, for the scientific community
Sigil - Sigil is a multi-platform EPUB ebook editor
ggplotnim - A port of ggplot2 for Nim
epub_builder - Python Epub builder utility class...
scroll - Tools for thought. An extensible alternative to Markdown.
tools - The Standard Ebooks toolset for producing our ebook files.
keenwrite-themes - Document typesetting configurations using ConTeXt
calibre - The official source code repository for the calibre ebook manager
steward - Your Customized Personal Information Steward
leech - Turn a story on certain websites into an ebook for convenient reading
web - The source code for the Standard Ebooks website.