Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-21-2013, 04:24 AM   #1
modified
Member
modified began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: Kindle 3, Kindle Paperwhite
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
Attached Files
File Type: epub Test.epub (4.0 KB, 23 views)
File Type: mobi Test.mobi (11.0 KB, 17 views)
modified is offline   Reply With Quote
Old 03-21-2013, 04:43 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,769
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
convert to azw3
kovidgoyal is online now   Reply With Quote
 
Enthusiast
Old 03-21-2013, 06:13 AM   #3
modified
Member
modified began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: Kindle 3, Kindle Paperwhite
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!
modified is offline   Reply With Quote
Old 03-21-2013, 07:19 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,769
Karma: 4998511
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.
kovidgoyal is online now   Reply With Quote
Old 03-21-2013, 08:36 AM   #5
modified
Member
modified began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: Kindle 3, Kindle Paperwhite
Just tried with both the Sent to Kindle email and the app client.
Nope, azw3 is still a no go. Oh well.
modified is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub validation error help "attribute border is not declared for element img bmacklin ePub 11 09-20-2012 07:22 PM
ePub errors (attribute-type, element, text-not-allowed thiefwriter ePub 5 09-17-2011 11:02 AM
Illustrated ebooks with epub: using the svg image element dpapathanasiou ePub 0 06-15-2011 04:17 PM
How to retain font style of EPUB to MOBI butterbescotch Conversion 2 05-02-2011 08:08 AM
Mobi TOC style vs ePub style? phearlez Kindle Formats 3 04-11-2010 06:35 AM


All times are GMT -4. The time now is 11:27 AM.


MobileRead.com is a privately owned, operated and funded community.