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

Kacper Sokol, Peter Flach
7/2/2021
cs.PLcs.AIcs.LG

Official code: So-Cool/you-only-write-thrice (20 stars, TeX, BSD-3-Clause, last commit 2022-10-14).

Abstract

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

A companion repository to the "You Only Write Thrice: Creating Documents, Computational Notebooks and Presentations From a Single Source" paper published at Rethinking ML Papers – ICLR 2021 Workshop.

205TeX, PythonApr 12, 20214 years agoBSD-3-Clause
iclr2021jupyter-bookmachine-learningpublishing

Similar Papers

Cite this paper

@article{sokol2021only,
  title  = {You Only Write Thrice: Creating Documents, Computational Notebooks and Presentations From a Single Source},
  author = {Kacper Sokol and Peter Flach},
  year   = {2021},
  eprint = {2107.06639},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.06639}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.06639.svg)](https://codeofpaper.com/paper/2107.06639)

Discussion