Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-26-2012, 01:26 PM   #1
csokol
Junior Member
csokol began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2012
Device: Kindle
Converting HTML to EPUB - <pre> and <code> issues

Hello,

I'm trying to convert html to epub using ebook-convert.

I'm having some problems with <code> tags inside <pre> tags, only when using moon reader with epubs converted with calibre. With aldiko and iBooks readers it's working fine.

Here is a excerpt of the html to be converted (it's a very confuse html because it's generated automatically by the syntax highlighter pygments):
https://gist.github.com/3960008

Here is a print screen of what moon reader shows to me when I convert that excerpt:


But what I expected was something at least looking like this:



Any ideas?

Thanks!
csokol is offline   Reply With Quote
Old 10-28-2012, 10:16 AM   #2
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Can you attach an html version of this excerpt, (changing extension to .txt to upload to MR), which shows the problem? What does the converted ePub look like in calibre's reader?
Agama is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Source code for converting html to mobi Thisiswhatiam Kindle Formats 10 06-04-2012 02:47 PM
Viewing the source code for converting html to mobi. Thisiswhatiam Development 3 05-23-2012 03:12 PM
Issues converting Web HTML docs to ebooks kenth Conversion 9 03-03-2011 03:28 PM
bookmark issues converting HTML to EPUB isabellkirsten Calibre 0 04-09-2010 11:47 PM
ebook-convert HTML to EPUB and problem with <pre><code> mikegr Calibre 2 03-09-2010 02:27 PM


All times are GMT -4. The time now is 04:21 AM.


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