runcode – Execute foreign source code and embed the result in the pdf file
This LaTeX package executes programming source codes (including all command line tools) from within LaTeX and embeds the output in the resulting .pdf file. Many programming languages can be easily used and any command-line executable can be invoked when preparing the .pdf file from a .tex file.
It is however recommended to use this package in server-mode together with the Python talk2stat package. Currently, this server-mode supports Julia, MatLab, Python, and R. More languages will be added. For more details and usage examples, refer to the package’s github repository.
|Licenses||The LaTeX Project Public License 1.3c|
|Copyright||2020–2023 Haim Bar and HaiYing Wang|
|Contained in||TeX Live as runcode|
MiKTeX as runcode
Download the contents of this package in one zip archive (411.2k).
Maybe you are interested in the following packages as well.
- lt3luabridge: Execute Lua code in any TeX engine that exposes the shell
- basix: A BASIC interpreter written in TeX
- hybrid-latex: Allow active Python code in LaTeX documents
- epspdfconversion: On-the-fly conversion of EPS to PDF