计算机科学 > 程序设计语言
[提交于 2021年7月15日]
标题:You Only Write Thrice: Creating Documents, Computational Notebooks and Presentations From a Single Source
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Academic trade requires juggling multiple variants of the same content published in different formats: manuscripts, presentations, posters and computational notebooks. The need to track versions to accommodate for the write--review--rebut--revise life-cycle adds another layer of complexity. We propose to significantly reduce this burden by maintaining a single source document in a version-controlled environment (such as git), adding functionality to generate a collection of output formats popular in academia. To this end, we utilise various open-source tools from the Jupyter scientific computing ecosystem and operationalise selected software engineering concepts. We offer a proof-of-concept workflow that composes Jupyter Book (an online document), Jupyter Notebook (a computational narrative) and reveal.js slides from a single markdown source file. Hosted on GitHub, our approach supports change tracking and versioning, as well as a transparent review process based on the underlying code issue management infrastructure. An exhibit of our workflow can be previewed at https://so-cool.github.io/you-only-write-thrice/.
提交历史
来自:Kacper Sokol[v1] 2021年7月15日 星期四 00:00:00 UTC