tex-render
Installation
SKILL.md
TeX Render
Turn TeX math into reusable image files through the bundled command-line renderer. The workflow is agent-neutral: use whatever shell execution and file-delivery capabilities the current environment provides.
Render
-
Set
<skill-dir>to the absolute directory containing this loadedSKILL.md. PreserveSKILL.md,package.json,package-lock.json, andscripts/together when installing the skill in any host. -
Check that
<skill-dir>/node_modulesexists. If it does not, follow the host's approval policy for npm lifecycle scripts, then runnpm install --omit=devin<skill-dir>. -
Pass TeX through stdin. This avoids shell interpolation and quoting errors:
printf '%s' 'E = mc^2' | node <skill-dir>/scripts/render.js