-
Notifications
You must be signed in to change notification settings - Fork 19
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
0.13.0 #256
Open
eshellman
wants to merge
47
commits into
master
Choose a base branch
from
v13
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove html.noimages, pdf.noimages. Add html.images as a pd requirement
store sourcefiles in ParserFactor to enable skipping the duplicate html parse
too much complexity
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.13.1 January 20, 2025
With this release we add some important new capabilities to Ebookmaker; other more profound functionalities such as PDF generation have been deferred to the next major version (0.14), but important groundwork is laid so that problems can surface sooner rather than later.
This release includes support for MathML. Although it's over 10 years old, it's only recently that all the major web browsers are supporting MathML. MathML has been part of the EPUB3 spec since its beginning. MathML also has important accessibility attributes and some assistive technologies (but not all), are supporting it. It renders math beautifully, allowing equations to reflow in ebooks, the lack of which makes our math-containing ebooks a poor experience in EPUB readers and Kindles. Fixes MathML test #254
math
element toimg
elements for our EPUB2 files. Thealttext
attribute of the math element will be used for thealt
attribute. Because of this, use of thealtimg
andalttext
attributes on the math element should be encouraged. If altimage is not supplied, the text content of the mathML content will be used in the EPUB2 file.math
element produced EPUB3 that didn't validateThis release adds support for inline (embedded) SVG via the
svg
element. Fixes EPUB content.opf file not reflecting presence of an <svg> #136, attributes appear to be downcased, causing validation errors #135,svg
element are case-sensitive, and thesvg
element MUST include anxmlns="http://www.w3.org/2000/svg"
attribute.role
attribute in EPUB2 files, because there's no way to use use it in EPUB2 files without triggering a validation error. Therole
attribute is retained for inline svg in EPUB3 files. No problems occur for HTML5 files.implement HTML5/EPUB3 audio element for sound files. Fixes Add HTML5/EPUB3 audio in 0.13 #214.
audio
elements are deprecated to links for EPUB2 filesx-ebookmaker
CSS, we are adding CSS to unhide elements that contain the audio elements, for EPUB3 only.autoplay
please!<audio title="" controls="controls"><source src="music/test.mp3" type="audio/mpeg" id="id-audio">Audio content is not currently supported on your device.</audio>
. It's important to have localized fallback text inside theaudio
element, after thesource
element.groundwork for PDF generation from html5 (v 0.14)
added the "production" flag to allow context-sensitive log entries. if the flag is set, then lack of header/footer markers will be reported as CRITICAL errors; if not (the default, there will be INFO messages instead. The production flag also turns on ALTTEXT logging. Fixes Add a config flag to suppress log messages irrelevant to pre-upload usage #251
added FILESDIR and CACHEDIR to sample conf file
changed the WARNING when FILESDIR was not configured to an INFO; there was already a sensible default. Fixes set default for FILESDIR #248.
it's been a long time since logging was rationalized. In general, there was much unneeded logging. Many WARNING messages were changed to INFO; many INFO messages were changed to DEBUG, and several DEBUG messages were removed, commented out, or changed to summary messages outside of a loop. Fixes Review INFO warnings and change to DEBUG where appropriate #250, Change pagenum warnings to INFO #249
any links to gutenberg.org, pglaf.org, or pgdp.org are now considered gutenberg links and get an INFO message rather than a WARNING.
Flow optimization
nonstandard single-line comments in
style
elements are now removed. These made up a majority of our ERROR logs. fixes EBM's removal of CDATA markers from style elements leaves debris #252removed dependency on CherryPy that made code hard to understand and was useful only when using Ebookmaker as a web spider, which we don't do. mediatypes are no longer wrapped in a
Hederelement
object, they're just strings.inappropriate alt text ERRORs changed to WARNINGs.
added test for html5 source file