Skip to content

toolbuddy/node-latex-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Module of docode, markdown to pdf maker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published