140 likes | 330 Views
eTextbook Authoring tools for OpenDSA. Life is uncertain. What should we ( OpenDSA ) author in? HTML5 looks to be promising But what authoring tool chain should we use?. What is HTML5?. Technically: HTML CSS JavaScript Functionally: Content Layout style Interactive activities.
E N D
Life is uncertain • What should we (OpenDSA) author in? • HTML5 looks to be promising • But what authoring tool chain should we use?
What is HTML5? Technically: • HTML • CSS • JavaScript Functionally: • Content • Layout style • Interactive activities
Authoring Tools Principles • Physical layout vs. Semantic representation • This is a section header • This is 15 point bold font • Prefer to author at the semantic level • Presentation representation vs. authoring representations • PDF vsLaTeX or MS Word • HTML5 has elements of both
Document Processing • The relative characteristics of: • LaTeX • MS Word
Binary vs. ASCII formats • Binary formats are often proprietary, and often can only be to presentation formats. • If you choose wrong, you are unlikdely to be able to reuse or convert your materials. • Many ASCII formats are interchangeable, and hand conversion is practical • Pandoc will convert between many ASCII formats
Mathematics • Raw HTML • Math ML • LaTeX • Mathjax
XML • Lots of tools for parsing, validating, editing, etc. • Many authoring formats are XML-based • Not necessarily convenient for writing in directly • DocBook • DITA • EPub
Lightweight Markup • Designed to be “easy” to use by authors • Convert to a presentation format • Markdown • reStructuredText • AsciiDoc
OpenDSA Requirements • ASCII format • Passthrough to JavaScript for visualizations • Mathematics (prefer LaTeX format) • Extensible – define our own tags • Cross references • Navigation • Glossary, index, etc. • Themes
reStructuredText (reST) • Python community’s standard for documentation • Sphinx compiler will convert to various presentation formats • HTML • LaTeX • ePub • PDF
Try #2: reST version • Used Haiku theme