SECLCOOct 4, 2020

Reproducible Science with LaTeX

arXiv:2010.01482v21 citations
AI Analysis

This addresses the need for more efficient and automated reproducible science workflows for researchers using LaTeX, though it is incremental as it builds on existing tools.

The paper tackles the problem of integrating code execution directly into LaTeX documents to automate the inclusion of calculation outputs in PDFs, facilitating reproducible research by allowing users to invoke programming languages or command-line tools during compilation.

This paper proposes a procedure to execute external source codes from a LaTeX document and include the calculation outputs in the resulting Portable Document Format (pdf) file automatically. It integrates programming tools into the LaTeX writing tool to facilitate the production of reproducible research. In our proposed approach to a LaTeX-based scientific notebook the user can easily invoke any programming language or a command-line program when compiling the LaTeX document, while using their favorite LaTeX editor in the writing process. The required LaTeX setup, a new Python package, and the defined preamble are discussed in detail, and working examples using R, Julia, and MatLab to reproduce existing research are provided to illustrate the proposed procedure. We also demonstrate how to include system setting information in a paper by invoking shell scripts when compiling the document.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes