TL;DR
This paper introduces a method to integrate external code execution into LaTeX documents, enabling automatic inclusion of computation results for reproducible scientific publications.
Contribution
It presents a novel procedure and tools for executing external source codes within LaTeX, enhancing reproducibility and ease of use for scientific research documentation.
Findings
Supports multiple programming languages like R, Julia, and MatLab.
Allows inclusion of system settings via shell scripts during compilation.
Facilitates reproducible research with automated code execution in PDFs.
Abstract
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
