diff options
| author | Marat Radchenko <marat@slonopotamus.org> | 2024-01-16 11:12:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-16 22:12:02 +0300 |
| commit | 394ec4cd5283725f1e1c92fde8266524b26aebfd (patch) | |
| tree | 6fd7745d1b254a75b3f95fc4691b368a0a77a0ef /data | |
| parent | aec6be126965f622624f611070645fc1931bf18a (diff) | |
Drop MOBI support (#458)
Amazon is slowly killing it, it's just a question of time when it fully dies.
References:
* https://kdp.amazon.com/en_US/help/topic/GULSQMHU5MNH4EZM
> Starting August 1, 2021, we will no longer support MOBI files for reflowable eBooks. Use EPUB, DOCX or KPF to publish new or update reflowable eBooks.
* https://www.amazon.com/gp/help/customer/display.html?nodeId=G5WYD9SAF7PGXRNA
> Beginning in late 2022, you'll no longer be able to send MOBI (.AZW, .MOBI) files to your Kindle library using Send to Kindle. This change won't affect any MOBI files already in your Kindle library. You can still read them with Kindle. MOBI is an older file format and won't support the newest Kindle features for documents.
* https://www.reddit.com/r/kindle/comments/16rw6e3/amazon_announcement_about_mobi_support_timeline/
> We will end all Send to Kindle support for MOBI files by December 20, 2023.
* https://www.mobileread.com/forums/showthread.php?t=336365
> Does anyone still have Kindle Previewer installer older than 3.49 that you could share? The reason I am looking for it is because newer versions no longer open .mobi files.
Diffstat (limited to 'data')
| -rw-r--r-- | data/samples/sample-book.adoc | 2 | ||||
| -rw-r--r-- | data/styles/epub3-css3-only.scss | 1 | ||||
| -rw-r--r-- | data/styles/epub3.scss | 7 |
3 files changed, 7 insertions, 3 deletions
diff --git a/data/samples/sample-book.adoc b/data/samples/sample-book.adoc index 0703e5f..2577c43 100644 --- a/data/samples/sample-book.adoc +++ b/data/samples/sample-book.adoc @@ -6,7 +6,7 @@ v1.0, 2014-04-15 :doctype: book :epub-chapter-level: 2 :producer: Asciidoctor -:keywords: Asciidoctor, samples, e-book, EPUB3, KF8, MOBI, Asciidoctor.js +:keywords: Asciidoctor, samples, e-book, EPUB3, Asciidoctor.js :copyright: CC-BY-SA 3.0 :username: graphitefriction :description: This guide describes the Asciidoctor attributes, values, and layout options available for producing a customized and polished document. diff --git a/data/styles/epub3-css3-only.scss b/data/styles/epub3-css3-only.scss index cd2d600..7f28258 100644 --- a/data/styles/epub3-css3-only.scss +++ b/data/styles/epub3-css3-only.scss @@ -32,6 +32,7 @@ body code, body kbd, body :not(.verse) > pre, :not(.verse) > pre :not(code) { font-family: "M+ 1mn", monospace !important; } +/* TODO: DO we still need this? */ @media amzn-kf8 { /* Kindle does its own margin management, so don't use an explicit margin */ /*body { diff --git a/data/styles/epub3.scss b/data/styles/epub3.scss index be1d5c6..88540c3 100644 --- a/data/styles/epub3.scss +++ b/data/styles/epub3.scss @@ -841,7 +841,7 @@ div.verse { page-break-inside: avoid; } -/* TODO we may want to reenable hyphens here, but not for kf8 */ +/* TODO we may want to reenable hyphens here */ div.verse > pre { font-family: "M+ 1p", sans-serif; background-color: transparent; @@ -1160,7 +1160,10 @@ nav[hidden~="hidden"] { } @media amzn-mobi { - /* NOTE mobi7 doesn't support custom fonts, so revert to generic ones */ + /* + NOTE mobi7 doesn't support custom fonts, so revert to generic ones. + See https://github.com/asciidoctor/asciidoctor-epub3/issues/56. + */ body p, ul, ol, li, dl, dt, dd, figcaption, caption, footer, table.table th, table.table td, div.verse .attribution { font-family: serif; |
