View Single Post
Old 09-03-2014, 01:20 PM   #16
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,430
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre uses a webkit browser engine to convert to pdf. So you should be able to use whatever javascript you like. However, using XML preprocessor directives is probably what causes the problems, as calibre will strip these in the conversion process, before they reach the WebKit engine. Try to replace them with normal tags.
kovidgoyal is online now   Reply With Quote