MathML Cloud - Diagram Center

advertisement
MathML Cloud
Sanders Kleinfeld, O’Reilly Media
Sue-Ann Ma, Benetech Labs
July 15, 2015
The DIAGRAM Center
●
A Benetech Global Literacy Initiative
●
Digital Image and Graphic Resources for Accessible
Materials
●
Goal: Make it easier, faster, and cheaper to create and
use accessible images for students with print disabilities
●
5-year Research & Development Center funded by the
U.S. Department of Education, Office of Special Education
Programs (OSEP)
●
Awarded to Benetech along with partners:
– The Carl and Ruth Shapiro Family National Center for Accessible
Media (NCAM) at WGBH
– U.S. Fund for DAISY
Page 2
Today’s Webinar is Presented By…
Sanders Kleinfeld
Director of Publishing Technology, O'Reilly Media, Inc.
Sue-Ann Ma
Product Manager, Benetech Labs
Page 3
Housekeeping
●
●
●
●
●
Download slides at
http://diagramcenter.org/webinars.html
Please enter your questions in chat window
Q & A at the end
This webinar is being recorded
We will notify you when a recording of this
webinar is posted at
http://diagramcenter.org/webinars.html
Page 4
Importance of STEM
STEM fields play an increasingly critical role in ensuring states’
economic vitality and the economic growth of the nation as a
whole. Every high school graduate needs essential competencies
in STEM as preparation for postsecondary education, work, and
citizenship.
- NGA Center for Best Practices
Page 5
Initial Goal of MathML Cloud
See
(sqrt 54 = x^3)
Hear
“Start Root 54 End Root
equals x cubed”
Page 6
Why is Digital Math So Hard?
Inputs
• Several ways
to input math
Outputs
• Visual rendering
(what you see)
• Aural rendering
(what you hear)
Other Needs
• Solving math
• Collaboration/feedback
• Navigation/drill-down
• Math diagrams
• And more…
Tools
Page 7
Addressing the Digital Math Problem
“MathML Cloud”
Page 8
MathML Cloud on the Web
Visit MathML Cloud: https://mathmlcloud.org/
Page 9
MathML Cloud Outputs Provides Options
Page 10
MathML Cloud Adoption
●
Integration Options for MathML Cloud:
1. Try it out
2. Use the API
3. Take the code
●
Target Audience: large-scale content producers (e.g.
publishers and conversion vendors)
–
Volume impact!
–
Technical resources to help integrate into the existing pipeline
–
Born Accessible means starting early in the production chain
–
Reach out to Benetech’s existing partners
Page 11
About O’Reilly Media
●
O'Reilly Media spreads the knowledge of innovators
through its books, online services, magazines, research,
and conferences.
●
Publishes ~150 frontlist STEM titles each year in print and
ebook (EPUB, MOBI, PDF) formats each year
●
Majority of frontlist titles are focused on computing topics;
small but significant percentage (~10-15%) contain
complex mathematical equations
Page 12
O’Reilly’s Production Workflow
●
Books are authored and produced in O’Reilly’s Atlas
platform (https://atlas.oreilly.com).
●
Production is performed on source files in XHTML5,
DocBook XML, or AsciiDoc formats.
●
Equations are embedded directly in source files in either
LaTeX or MathML markup (usually LaTeX, because of its
more lightweight syntax).
●
Print and ebook outputs are autogenerated using a XSL
and CSS-based toolchain.
Page 13
O’Reilly’s Production Workflow (flowchart)
AsciiDoc or DocBook
Packaging
XSL + CSS
EPUB
Antenna
House +
Print
CSS3
Print PDF
XHTML5
Antenna
House +
Web
CSS3
Web PDF
(optional; can start with XHTML5)
Packaging
XSL + CSS
EPUB
Custom XSL for
EPUB postprocessing +
KF8/Mobi7 CSS
Mobi-ready EPUB
Source Content
Intermediate Output
Kindlegen
Mobi (KF8)
Final Output For Sale
Page 14
O’Reilly’s Challenge
How do we take our LaTeX equation
source content and automatically
convert it so that it’s optimized for both
print and electronic output formats?
Page 15
O’Reilly’s Challenge
Neither MathML nor SVG are
currently viable equation formats for
ebooks, due to wildly inconsistent
rendering support across the
ereader ecosystem
Page 16
MathML rendered in iBooks
Page 17
MathML rendered in Kindle Fire
Page 18
SVG rendered in iBooks
Page 19
SVG rendered in Kindle “classic”
Page 20
What’s left?
Only reliable, universal ebook
equation rendering format is bitmap
graphics (JPEG, PNG, GIF). But
how to autogenerate these graphics
from LaTeX and make them
accessible?
Page 21
O’Reilly Media’s Pilot Program
O’Reilly uses MathML Cloud API
(https://github.com/benetech/mmlc-api/wiki/API-Definition) to
batch-convert large quantities of LaTeX equations:
Page 22
Making requests to MathMLCloud API
Generating alt text for Pythagorean Theorem in LaTeX via
cURL POST request to MathML Cloud API:
LaTeX:
a^2+b^2=c^2
cURL request:
curl -X POST -d "math=a^2+b^2=c^2" -d
"mathType=TeX" -d "description=true"
https://mathmlcloud.org/equation
Page 23
Other Benefits to a MathML Cloud–Based
Workflow
●
Equation renderings are autogenerated; no need for an
illustrator to produce them in an image editor
●
Revisions can be made directly in the TeX/MML source; no
need to edit bitmap graphics directly
●
Equation content is web-ready as TeX/MML markup and
can be rendered in the browser with MathJax:
http://www.mathjax.org
●
For O’Reilly, time savings of 5-10 hours per book that
contains math content
Page 24
Beyond the pilot
O’Reilly is currently piloting:
●
Generating PNG images from LaTeX source using
MathML Cloud API at mathmlcloud.org
●
Generating alt text descriptions for PNG using MathML
Cloud API at mathmlcloud.org
Future work:
●
Setting up O’Reilly-hosted MathML Cloud server
●
Completing integration into automated Production
toolchain
Page 25
Looking Ahead for MathML Cloud
●
May 2015: MathML Cloud enters Beta
●
Second half of 2015:
– Monitor feedback from pilot programs & early adopters:
• Publishers
• Conversion Vendors
• edTech (e.g. LMS, authoring platform providers)
• Academic Institutions (e.g. alt media & educators)
Note: MathML Cloud is NOT optimized for all audiences
– Tweak MathML Cloud as needed
– Explore additional tools, features, and funding resources to
continue supporting the digital math arena for all learners
Page 26
Questions?
Page 27
For More Information
DIAGRAM Center Research
http://diagramcenter.org/research.html
Twitter @DIAGRAMC
https://twitter.com/DIAGRAMC
Email us
info@diagramcenter.org
Born Accessible
http://benetech.org/our-programs/literacy/born-accessible/
Benetech Global Literacy
http://benetech.org/our-programs/literacy/
Page 28
Even more resources
Visit our webinars page at
http://diagramcenter.org/webinars.html
●Tactile Graphics with a Voice
●New Models for Creating Accessible Interactive Widgets for STEM Learning
●3D Printing for the Accessible Classroom
●Accessible Image Sample Book
●Office Hours with the Image Description Experts
●Tools for Creating Accessible Math
●Best Practices for Integrating Accessible Images into eBooks and DTBs
●Accessible Images: From Creation to End User
●How to Describe Complex Images for Accessibility
●Digital Accessible Math Images
Page 29
Thank you for attending!
Page 30
Download