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 01-18-2014, 02:33 PM   #1
iaw4
Junior Member
iaw4 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2010
Device: kindle
xhtml->epub/mobi/azw auto-embedding of all js/css/etc?

I have some html+mathjax documents. as is common, the html document just points to the external mathjax .js file. but when I use calibre for conversion to epub, the math rendering disappears. so I need/want to include mathjax in the epub itself. I know it is a pain, because this can be multi-megabytes long. eventually, I need to create a mathjax slim.

I looked for a preference in calibre that asks it to include copies of all external (js and css) resources into epub2 files (for ibooks and eventually iOS and android kindles), but couldn't find it. is this possible?

regards,

/iaw
iaw4 is offline   Reply With Quote
Old 01-18-2014, 09:48 PM   #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: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre automatically includes all linked css when you convert html, since JS is not allowed in any ebook format (except epub 3 which calibre does not support) JS is discarded.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to auto convert to azw instead of mobi sending to kindle? gennaro Calibre 3 06-14-2013 03:59 PM
Workflow - XHTML to mobi to ePub lissie Workshop 7 01-23-2013 03:22 AM
XHTML to EPUB and MOBI: How to mark up metadata in source document johnstephens Conversion 6 05-23-2012 02:58 PM
Embedding fonts for epub & mobi output. Nigel Flanagan Conversion 11 02-23-2011 02:33 PM


All times are GMT -4. The time now is 01:12 AM.


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