![]() |
#1 |
Member
![]() Posts: 23
Karma: 10
Join Date: Apr 2014
Location: Paris
Device: ipad 2, Ubuntu
|
Javascript files not referenced in ebook-editor
(Sorry for my bad english)
The Calibre ebook reader does very well with Javascript. But, when you add some Javascript file to an ebook with the Ebook Editor, these files are not automatically referenced in the content.opf file (unlike other files such as html, jpeg, gif, css, mp3, movies,...). I can be a great work to reference by hand all these files (I think especially with the MathJax library that allows the display of mathematics in html files). Would it be possible that, in the future, the Ebook Editor references the Javascript files in the content.opf (I think it's not a big deal to add this functionality and it would be very useful). Thanks for all. Great thanks to Kovid for all this work; Calibre is a wonderful software. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Why are you adding mathjax to the your book? If you intend it to be read witht he calibre viewer, the calibre viewer comes bundled with its own copy of mathjax, see http://manual.calibre-ebook.com/typesetting_math.html
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Since javascript is not part of the ePUB2 standard and the editor only handles ePUB2, I am not surprised. Audio and video are a bit of grey area.
Javascript is only allowed in ePUB3 files. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Files changed on opening in the Editor | Ripplinger | Editor | 5 | 08-27-2014 08:43 AM |
Calibre Editor mishandles display of otf files | roger64 | Editor | 11 | 03-26-2014 03:48 AM |
Editor chmod's files | eschwartz | Editor | 2 | 03-13-2014 03:46 PM |
Greetings from an ebook Anthology Editor! | chawkins | Introduce Yourself | 2 | 09-17-2011 05:42 PM |
O'Reilly: 50% off Javascript eBooks till 14.06.22, also half price eBook every day | Cyberman tM | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 06-07-2011 10:11 AM |