News for hackers. Stuff that matters.
Re:Bookdown – Authoring Books and Technical Documents with R... by ivan_ah on Sunday December 04, 2016 @01:18AM (#13098999)
The main idea in softcover is to use (a restricted subset of) LaTeX as the "main" representation, which then gets converted to html + MathJaX using tralics (a latex-to-xml converter) and lots of custom pre-processing, and post-processing steps. The source code is quite readable. The end result is the following pipeline:

     .tex --> .html+MathJax --> .epub --> .mobi
The "Softcover-flavored Markdown" is just an optional convenience to enable people who don't know LaTeX to use the system as follows:

     .md --> .tex --> .html+MathJax --> .epub --> .mobi
The way I see the .md to .tex conversion is not that exciting, but the fact we finally have a civilized way to produce .epub/.mobi from .tex files is an amazing achievement. If you're working on books, I highly recommend checking out the softcover software stack.

There are no comments on this comment yet.