1.0.2 • Published 4 years ago
lualatex-py v1.0.2
lualatex-py
A small script that only runs pythontex if the LaTeX document has Python code.
Installation
# npm
npm install -g lualatex-py
# pnpm
pnpm add --global lualatex-pyUsage
lualatex-py --output-directory=out doc.texIf you're using VSCode LaTeX Workshop, add the following to your settings.json file:
{
// ... other VSCode configs
"latex-workshop.latex.recipes": [
{
"name": "lualatex-py",
"tools": [
"lualatex-py"
]
},
// ... other recipes
],
"latex-workshop.latex.tools": [
{
"name": "lualatex-py",
"command": "lualatex-py",
"args": [
"--output-directory=out",
"%DOC%.tex"
]
},
// ... other tools
]
}