|
|
#1 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90
Karma: 50742
Join Date: Jan 2011
Device: PW5
|
EPUB -> MOBI: Can't style HR element?
Hi guys,
I'm trying to style the HR element in mobi but I don't seem to have any luck. The HR element is styled properly in the original epub ( margin-top: 3em; margin-bottom: 3em; width: 50%; ) but it does not seem to convert to mobi. I've tried to force it using a custom css (that was used for the original epub) but no luck either. I'm using ebook-convert from the command line. Code:
C:\test>ebook-convert Test.epub Test.mobi --mobi-toc-at-start --extra-css="epub.css" Code:
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on C:\test\Test.epub
Parsing all content...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Detected chapter: Chapter 1
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Creating MOBI Output...
67% Running MOBI Output plugin
Serializing resources...
Creating MOBI 6 output
Generating in-line TOC...
Applying case-transforming CSS...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Serializing markup content...
Compressing markup content...
Generating MOBI index for a book
MOBI output written to C:\test\Test.mobi
Output saved to C:\test\Test.mobi
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
convert to azw3
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90
Karma: 50742
Join Date: Jan 2011
Device: PW5
|
Thanks, Kovid. Switching to azw3 fixed it.
I guess this is a limitation of the mobi format then. It really is too bad. I use Amazon's Send to Kindle feature extensively to sideload books and it doesn't support azw3. Thanks again for the quick reply! |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I believe send to kindle recently started supporting azw3, at least some people have reported that it has, though I haven't tried it myself.
|
|
|
|
|
|
#5 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90
Karma: 50742
Join Date: Jan 2011
Device: PW5
|
Just tried with both the Sent to Kindle email and the app client.
Nope, azw3 is still a no go. Oh well. |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ePub validation error help "attribute border is not declared for element img | bmacklin | ePub | 12 | 11-06-2015 12:00 PM |
| ePub errors (attribute-type, element, text-not-allowed | thiefwriter | ePub | 5 | 09-17-2011 12:02 PM |
| Illustrated ebooks with epub: using the svg image element | dpapathanasiou | ePub | 0 | 06-15-2011 05:17 PM |
| How to retain font style of EPUB to MOBI | butterbescotch | Conversion | 2 | 05-02-2011 09:08 AM |
| Mobi TOC style vs ePub style? | phearlez | Kindle Formats | 3 | 04-11-2010 07:35 AM |