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
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
Version | Downloads (Last 7 Days) | Tag |
---|
0.0.2 | 7 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
0.0.2 | 7 | |
0.0.1 | 0 | |
Package Sidebar
Install
Weekly Downloads