Reproducible Science with LaTeX

10/04/2020
by   Haim Bar, et al.
0

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.

READ FULL TEXT
research
03/03/2013

Genetic Programming for Document Segmentation and Region Classification Using Discipulus

Document segmentation is a method of rending the document into distinct ...
research
09/19/2017

Rbox: an integrated R package for ATOM Editor

R is a programming language and environment that is a central tool in th...
research
09/05/2022

An Exploratory Study on the Predominant Programming Paradigms in Python Code

Python is a multi-paradigm programming language that fully supports obje...
research
10/11/2021

Parsing Data Formats of the Inputs and Outputs of Geographic Models with Code Analysis

Model web services provide an approach for implementing and facilitating...
research
08/03/2023

PyPartMC: A Pythonic interface to a particle-resolved, Monte Carlo aerosol simulation framework

PyPartMC is a Pythonic interface to PartMC, a stochastic, particle-resol...
research
03/17/2023

Large-Scale Collaborative Writing: Technical Challenges and Recommendations

Collaborative writing is essential for teams that create documents toget...
research
06/21/2021

ciftiTools: A package for reading, writing, visualizing and manipulating CIFTI files in R

Surface- and grayordinate-based analysis of MR data has well-recognized ...

Please sign up or login with your details

Forgot password? Click here to reset