1.0.2 • Published 2 years ago

lualatex-py v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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-py

Usage

lualatex-py --output-directory=out doc.tex

If 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
  ]
}
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago