@unified-latex/unified-latex-cli v1.8.2
unified-latex-cli
What is this?
Command line interface to common unified-latex functions.
When should I use this?
If you want to reformat, process, or gather statistic on LaTeX files from the command line.
Examples
Reformat and pretty-print a file
unified-latex input.tex -o output.texList all commands defined via \newcommand and friends (and hide the file output).
unified-latex input.tex --no-stdout --statsExpand the definition of the macro \foo{...}, which takes one argument.
unified-latex input.tex -e "\\newcommand{foo}[1]{FOO(#1)}"View the parsed AST.
unified-latex input.tex --inspectConvert the file to HTML. (Note, you will need to include and configure a library like MathJax or KaTeX to render any math in the resulting HTML. Warnings are provided for macros that aren't recognized by the converter.)
unified-latex input.tex -o output.html --htmlLint all tex files in the current directory and watch for changes.
unified-latex . --no-stdout --lint-all --watchInstall
npm install @unified-latex/unified-latex-cliThis package contains both esm and commonjs exports. To explicitly access the esm export,
import the .js file. To explicitly access the commonjs export, import the .cjs file.
9 months ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago