Repository navigation
Support math #20
Description
Activity
Should be working in the reader
This is a basic examples of the stress test (slow to load):
http://futurepress.github.io/epub.js/examples/mathml.htmlI noticed that there is an update to epub.js about mathjax. Does that still
need to make it over to epubjs-reader?On Sun, Nov 17, 2013 at 2:08 AM, Fred Chasen notifications@github.comwrote:
Should be working in the reader
This is a basic examples of the stress test (slow to load):
http://futurepress.github.io/epub.js/examples/mathml.html—
Reply to this email directly or view it on GitHubhttps://github.com/futurepress/epubjs-reader/issues/20#issuecomment-28644551
.Katherine Fletcher, kathi.fletcher@gmail.com
kathi.fletcher@gmail.com
Twitter: kefletcher http://www.twitter.com/kefletcher Blog:
kefletcher.blogspot.com
kathi.fletcher@gmail.comIt is working in the latest version of epubjs-reader - let me know if you run into any issues.
Sorry to be so slow here, but I can't figure out how to get mathml to work
in reader. The example was helpful, but inside the reader repo, I can't
find the hooks/default/mathml.js that mathml.html seems to be including. I
am trying to do this by pattern matching, not any kind of real
understanding of how epub.js works inside reader and how all the js files
are constructed and referenced.Do you have an example inside reader? If you throw math into Moby Dick is
it going to work as is? If so, then I must just still have things
misconfigured.Cheers,
KathiOn Mon, Nov 18, 2013 at 8:03 PM, Fred Chasen notifications@github.comwrote:
It is working in the latest version of epubjs-reader - let me know if you
run into any issues.—
Reply to this email directly or view it on GitHubhttps://github.com/futurepress/epubjs-reader/issues/20#issuecomment-28759258
.Katherine Fletcher, kathi.fletcher@gmail.com
kathi.fletcher@gmail.com
Twitter: kefletcher http://www.twitter.com/kefletcher Blog:
kefletcher.blogspot.com
kathi.fletcher@gmail.comSorry for the confusion with that example. In the epub.js demo you have to add each hook, but with the reader all the default ones are packaged in
src/scripts/libs/epubjs/hooks.min.jswhich is already included.The reader should just work with a book with mathml it. Though chapters in the manifest must have
properties="mathml"Something like:
<manifest> <item id="c3" href="xhtml/ch1.html" properties="mathml scripted"/> </manifest>
Apparently MathJAX support not available in EPUBjs yet. (Hearsay from @kathi-fletcher). Need example.