node-latex-pdf

0.0.2 • Public • Published

node-latex-pdf

Convert your latex files to pdf format.

Prerequisite

  • Install MiKTeX 2.9 on your environment
  • nodejs v6.9.4

Usage

  • Install:
npm install node-latex-pdf
  • Import in your code
    • Notice: The path in latex document must using absolutive path!
const selflatex = require('node-latex-pdf');
 
selflatex(__dirname + '/src/document.tex', __dirname + '/dest/', (err,msg) => {
    if(err)
      console.log(`Error, ${msg}`);
    else
      console.log(`Success! ${msg}`);
});

Author

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.27latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.27
0.0.10

Package Sidebar

Install

npm i node-latex-pdf

Weekly Downloads

7

Version

0.0.2

License

ISC

Last publish

Collaborators

  • kevinbird61