gnu: Add texlive-pythonimmediate.

* gnu/packages/tex.scm (texlive-pythonimmediate): New variable.
This commit is contained in:
Nicolas Goaziou 2023-08-29 15:59:12 +02:00
parent ba56666e21
commit e0f8188975
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -93295,6 +93295,39 @@ (define-public texlive-python
script's output in the document.")
(license license:gpl3+)))
(define-public texlive-pythonimmediate
(package
(name "texlive-pythonimmediate")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/pythonimmediate/"
"tex/latex/pythonimmediate/")
(base32
"0qdmb155k34g5mml04a8rwwgq9m4s984cjd732zx34hbbqd5rvzr")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(propagated-inputs (list texlive-currfile texlive-l3packages
texlive-precattl texlive-saveenv))
(home-page "https://ctan.org/pkg/pythonimmediate")
(synopsis "Library to run Python code")
(description
"This is a library to run Python code. Just like PerlTeX or PyLuaTeX,
this only requires a single run, and variables are persistent throughout the
run. Unlike PerlTeX or PyLuaTeX, there is no restriction on compiler or
script required to run the code.
There are also debugging functionalities: TeX errors result in Python
traceback, and Python errors result in TeX traceback. Errors in code executed
with the @code{pycode} environment give the correct traceback point to the
Python line of code in the TeX file. For advanced users, this package allows
the user to manipulate the TeX state directly from within Python, so you don't
need to write a single line of TeX code.
In addition to this LaTeX package you need the Python
@code{pythonimmediate-tex} package.")
(license license:lppl1.3c)))
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar