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 01-23-2019, 09:13 PM   #1
rubyhacker
Junior Member
rubyhacker began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2019
Device: none
Question Difficulty with conversion of (some) HTML

Hello, all...

I am using code that does syntax coloring of code and dumps it as HTML.

Images here:
- screenshot of generated HTML
- screenshot of HTML rendered in Chrome
- screenshot of epub shown in iBooks

[The images wouldn't insert properly for some reason, so I just left
bare URLs here.]

Note that the epub switches typefaces back and forth (and worse, it switches
size back and forth).

Any idea what's going on?

Thanks,
Hal Fulton

https://pasteboard.co/HXRtnUZ.png
https://pasteboard.co/HXRtXxa.png
https://pasteboard.co/HXRua7F.png

Last edited by rubyhacker; 01-23-2019 at 09:24 PM.
rubyhacker is offline   Reply With Quote
Old 01-24-2019, 12:48 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: 34,132
Karma: 10261492
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sh...d.php?t=186697
kovidgoyal is online now   Reply With Quote
Reply

Tags
conversion, epub, fonts, newbie

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default output to HTML and enable conversion to HTML Nostras Conversion 0 09-15-2016 05:24 PM
HTML-Conversion Divingduck Conversion 5 09-11-2013 01:23 PM
html to epub CLI conversion / html input m4mmon Conversion 2 05-05-2012 02:10 AM
Problem with html -> Mobi conversion - html tags visible. khromov Calibre 9 08-06-2011 11:25 AM
Difficulty with conversion of HTML ficbot Calibre 8 03-23-2009 09:34 AM


All times are GMT -4. The time now is 05:14 AM.


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