@pretextbook/latex-pretext
v0.0.13
Published
Tools for working with PreTeXt documents in LaTeX format
Readme
latex-pretext
This package provides a simple wrapper around @unified-latex/unified-latex-to-pretext to convert LaTeX to PreTeXt. It is used by the VSCode extension, but can also be used in other contexts.
Building
Run npm run build -w @pretextbook/latex-pretext to build the library.
Running unit tests
Run npm run test -w @pretextbook/latex-pretext to execute the unit tests via Vitest.
Development playground
From packages/latex-pretext, run npm run dev to open a local page with a LaTeX input pane and live PreTeXt output pane.
From the workspace root, you can still run npm run dev -w @pretextbook/latex-pretext.
If you want a static build of the playground, run npm run build:static -w @pretextbook/latex-pretext.
