Differences between revisions 2 and 3
Revision 2 as of 2017-01-09 22:14:44
Size: 3384
Editor: nthiery
Comment:
Revision 3 as of 2017-01-09 22:15:33
Size: 3398
Editor: nthiery
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
Line 15: Line 16:
Line 43: Line 45:
Print: http://www.amazon.com/Abstract-Algebra-Applications-Thomas-Judson/dp/0989897591
PDF: http://abstract.ups.edu/download/aata-20150812.pdf
HTML: http://abstract.ups.edu/aata/
Source: https://github.com/twjudson/aata
Clone: git clone https://github.com/twjudson/aata.git
* Print: http://www.amazon.com/Abstract-Algebra-Applications-Thomas-Judson/dp/0989897591
* PDF: http://abstract.ups.edu/download/aata-20150812.pdf
* HTML: http://abstract.ups.edu/aata/
* Source: https://github.com/twjudson/aata
* Clone: git clone https://github.com/twjudson/aata.git

Brainstorm on live structured documents

See also the report for D4.2: Active/Structured Documents Requirements and existing Solutions for a comparison of Jupyter notebooks and MathHub.info active documents.

Potential approaches

Jupyter notebook export facility for Sphinx

Embedding Jupyter notebooks inside Sphinx documents

http://nbsphinx.readthedocs.org/en/0.2.5/

Thebe (by Oreilly)

https://github.com/oreillymedia/thebe

Javascript library for embedding live cells connected to a Jupyter kernel in any html page.

Live documentation for Sage with Sphinx and Thebe

This was implemented by Florent Cayré, Nicolas Thiéry at and after the Sage Days in http://trac.sagemath.org/ticket/20690. See https://trac.sagemath.org/ticket/20893 for a follow up.

MathBookXML

[[https://mathbook.pugetsound.edu/|MathBookXML] is an infrastructure for authoring large documents, in XML formats, with export to latex, html, Sage, SMC, Jupyter notebook. We enjoyed a remote presentation by its main author Robert Beezer.

Example of book: Abstract Algebra: Theory and Applications, Tom Judson

* Print: http://www.amazon.com/Abstract-Algebra-Applications-Thomas-Judson/dp/0989897591 * PDF: http://abstract.ups.edu/download/aata-20150812.pdf * HTML: http://abstract.ups.edu/aata/ * Source: https://github.com/twjudson/aata * Clone: git clone https://github.com/twjudson/aata.git

Nice features

  • Knowls (temporary widgets showing pieces of text, like proofs, other end of references or citations)
  • Active cells, connected to the Sage single cell server (all cells sharing the same evaluation context)
  • Possibility for the author to control the granularity of the output (one page per section, or subsection or ...)
  • Internationalization / multiple versions of the document (e.g. with or without solutions) / multiple output formats (pdf, html, epub)
  • Sidebar with table of contents, ...
  • Formal Grammar (dtd)
  • Mobile ready
  • TikZ support
  • Export vers notebook Sage, SageMathCloud, Jupyter (with the know structural problems)

Someone wrote a latex to XML translator to be able to author in latex.

MathBook XML resources

Site: http://mathbook.pugetsound.edu/ DTD: http://mathbook.pugetsound.edu/doc/dtd/

Potential for collaborations:

  • Rendering features of MathBookXML:
    • knowls logic (preview of theoremshttp://www.aimath.org/knowlepedia/)
    • Mobile support
    • Handling of tikz pictures
  • Exporting the ReST to XML to be fed into MathBookXML?
    • (there is a detailed DTD specifying the format)
  • Reusing the Jupyter kernel logic from Thebe in MathBookXML to let it work with Jupyter servers (tmpnb, local, ...)
  • Joint feature development: multiplying a given cell (adding above, adding below, splitting)

days77/structure-documents (last edited 2017-01-09 22:16:49 by nthiery)