arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.06639cs.PLcs.AIcs.LG
收藏

你只写三次:从单一来源创建文档,计算笔记本和演示文稿

You Only Write Thrice: Creating Documents, Computational Notebooks and Presentations From a Single Source

University of Bristol(布里斯托大学)

Kacper Sokol, Peter Flach

摘要:

学术贸易需要处理以不同格式发布的相同内容的多种变体:手稿,演示文稿,海报和计算笔记本。需要跟踪版本以适应编写-审查-反驳-修改生命周期,这又增加了一层复杂性。我们建议通过在版本控制的环境(如git)中维护单个源文档,添加功能以生成学术界流行的输出格式集合,从而显着减少这种负担。为此,我们利用了各种开源工具,从英特尔科学计算生态系统和操作选定的软件工程概念。我们提供了一个概念验证的工作流程,可以从一个markdown源文件中组合出一本书(在线文档)、一本笔记本(计算叙事)和reveal.js幻灯片。托管在GitHub上,我们的方法支持更改跟踪和版本控制,以及基于底层代码问题管理基础设施的透明审查流程。我们的工作流程的展示可以在https://so-cool.github.io/you-only-write-thrice/上预览。

英文摘要:

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/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑