Reproducible Science with LaTeX
- URL: http://arxiv.org/abs/2010.01482v2
- Date: Tue, 6 Oct 2020 01:54:58 GMT
- Title: Reproducible Science with LaTeX
- Authors: Haim Bar and HaiYing Wang
- Abstract summary: This paper proposes a procedure to execute external source codes from a document.
It includes the calculation outputs in the resulting Portable Document Format (pdf) file automatically.
- Score: 4.09920839425892
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- 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.
Related papers
- MathNet: A Data-Centric Approach for Printed Mathematical Expression Recognition [2.325171167252542]
We present an improved version of the benchmark dataset im2latex-100k, featuring 30 fonts instead of one.
Second, we introduce the real-world dataset realFormula, with MEs extracted from papers.
Third, we developed a MER model, MathNet, based on a convolutional vision transformer, with superior results on all four test sets.
arXiv Detail & Related papers (2024-04-21T14:03:34Z) - Visually Guided Generative Text-Layout Pre-training for Document Intelligence [51.09853181377696]
We propose visually guided generative text-pre-training, named ViTLP.
Given a document image, the model optimize hierarchical language and layout modeling objectives to generate the interleaved text and layout sequence.
ViTLP can function as a native OCR model to localize and recognize texts of document images.
arXiv Detail & Related papers (2024-03-25T08:00:43Z) - TopoX: A Suite of Python Packages for Machine Learning on Topological
Domains [89.9320422266332]
TopoX is a Python software suite that provides reliable and user-friendly building blocks for computing and machine learning on topological domains.
TopoX consists of three packages: TopoNetX, TopoEmbedX and TopoModelx.
arXiv Detail & Related papers (2024-02-04T10:41:40Z) - Integration of LaTeX formula in computer-based test application for
academic purposes [0.21748200848556345]
Computer-based testing (CBT) has become widespread in recent years.
Most establishments now use it to deliver assessments as an alternative to using the pen-paper method.
Existing CBT applications lack the capacity to handle advanced formulas, programming codes, and tables.
arXiv Detail & Related papers (2024-01-13T16:36:51Z) - LILO: Learning Interpretable Libraries by Compressing and Documenting Code [71.55208585024198]
We introduce LILO, a neurosymbolic framework that iteratively synthesizes, compresses, and documents code.
LILO combines LLM-guided program synthesis with recent algorithmic advances in automated from Stitch.
We find that AutoDoc boosts performance by helping LILO's synthesizer to interpret and deploy learned abstractions.
arXiv Detail & Related papers (2023-10-30T17:55:02Z) - DocCoder: Generating Code by Retrieving and Reading Docs [87.88474546826913]
We introduce DocCoder, an approach that explicitly leverages code manuals and documentation.
Our approach is general, can be applied to any programming language, and is agnostic to the underlying neural model.
arXiv Detail & Related papers (2022-07-13T06:47:51Z) - Machine Translation of Mathematical Text [0.0]
We have implemented a machine translation system, the PolyMath Translator, for documents containing mathematical text.
The current implementation translates English to French, attaining a BLEU score of 53.5 on a held-out test corpus of mathematical sentences.
It produces documents that can be compiled to PDF without further editing.
arXiv Detail & Related papers (2020-10-11T11:59:40Z) - N-LTP: An Open-source Neural Language Technology Platform for Chinese [68.58732970171747]
textttN- is an open-source neural language technology platform supporting six fundamental Chinese NLP tasks.
textttN- adopts the multi-task framework by using a shared pre-trained model, which has the advantage of capturing the shared knowledge across relevant Chinese tasks.
arXiv Detail & Related papers (2020-09-24T11:45:39Z) - Synthesizing Tasks for Block-based Programming [72.45475843387183]
We propose a novel methodology to automatically generate a set $(rm Tout, rm Cout)$ of new tasks along with solution codes.
Our algorithm operates by first mutating code $rm Cin$ to obtain a set of codes $rm Cout$.
arXiv Detail & Related papers (2020-06-17T15:04:37Z) - A Makefile for Developing Containerized LaTeX Technical Documents [0.0]
We propose a Makefile for developing containerized $La$ technical documents.
The Makefile allows the author to execute the code that generates variables, tables and figures.
We release an open source repository of a template that uses the Makefile and demonstrate its use by developing this paper.
arXiv Detail & Related papers (2020-05-26T12:31:22Z) - KBSET -- Knowledge-Based Support for Scholarly Editing and Text
Processing with Declarative LaTeX Markup and a Core Written in SWI-Prolog [0.0]
KBSET includes specially developed styles and a prototypical core system that is written in SWI-Prolog.
KBSET can process declarative application-specific markup that is expressed in notation.
KBSET includes specially developed styles and a prototypical core system that is written in SWI-Prolog.
arXiv Detail & Related papers (2020-02-24T15:57:41Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.