CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/runcode

README
LaTeX Package: runcode 2024/01/12 v2.3
----------------------------------------
The runcode package enables the execution of source code (e.g., R, 
Julia, Matlab, shell, Python, etc.) and embed the results in the pdf file
when compiling the LaTeX file. To use this package the shell-escape 
option must be enabled.

Copyright (C) 2020-2023
Haim Bar and HaiYing Wang https://github.com/Ossifragus/runcode

Files:
  * README - this file
  * runcode.sty - package source
  * runcode.tex - documentation (source)
  * runcode.pdf - documentation (pdf format)
  * runcode_troubleshoot.tex - documentation (source)
  * runcode_troubleshoot.pdf - documentation (pdf format)
  * generated/ - a folder which contains files generated by runcode for the runcode_troubleshoot file

Installation: 
[manual installation]
  Put the runcode.sty file in the proper directory - tex/latex/runcode/
     and the documentation runcode.pdf under  doc/latex/runcode/
  Or, simply put the runcode.sty file in your project's folder.

[MikTeX]
  * Use the MikTeX Update Wizard to update runcode package.

License:
  This work may be distributed and/or modified under the conditions
  of the LaTeX Project Public License, either version 1.3c of this
  license or (at your option) any later version. The latest version
  of this license is in http://www.latex-project.org/lppl.txt
  and version 1.3c or later is part of all distributions of LaTeX
  version 2005/12/01 or later.

Download the contents of this package in one zip archive (411.3k).

runcode – Execute foreign source code and embed the result in the pdf file

This package executes programming source codes (including all command line tools) from within 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.

Packageruncode
Repositoryhttps://github.com/Ossifragus/runcode
Version2.3 2024-01-12
LicensesThe Project Public License 1.3c
Copyright2020–2024 Haim Bar and HaiYing Wang
MaintainerHaim Bar
HaiYing Wang
Contained inTeX Live as runcode
MiKTeX as runcode
TopicsCallback
Exec foreign
...
Guest Book Sitemap Contact Contact Author