3 ms·
Alternatives in the Python world include Jupyter notebooks and Sphinx. Both have tons of extensions for including all sorts of media and content you need, incl
by bayesian_horse 7y ago
Alternatives in the Python world include Jupyter notebooks and Sphinx.
Both have tons of extensions for including all sorts of media and content you need, including musical charts, maps, formulas, plots, tables etc., and can be extended to include virtually everything you want.
The route from Sphinx/Jupyter to pdf/prints leads either via LaTex or via a headless browser. The latter option seems to have more potential though. HTML+JS now can render anything. Including rendering math formulas, 3D graphics, still shots from videos.
- criddell 7y ago> The latter option seems to have more potential though. How well does it handle page numbers and an associated table of contents?
- bayesian_horse 7y agoReally well. CSS has lots of paged media features, which are however not widely supported. There is paged.js which works quite well as a polyfill. CSS grids and Flexbox are very useful. Also, due to javascript it is really easy to incorporate custom layout logic. There are even several ways to use Knuth-Plass text justification. Also there are libraries to perform linear constraint resolution, google for cassowary, kiwi or gss(constraint css).