https://github.com/toolbuddy/node-latex-pdf
Module of docode, markdown to pdf maker.
https://github.com/toolbuddy/node-latex-pdf
convertor latex node pdf
Last synced: about 1 year ago
JSON representation
Module of docode, markdown to pdf maker.
- Host: GitHub
- URL: https://github.com/toolbuddy/node-latex-pdf
- Owner: toolbuddy
- Created: 2017-09-30T05:23:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-30T06:38:51.000Z (over 5 years ago)
- Last Synced: 2025-05-02T16:55:03.879Z (about 1 year ago)
- Topics: convertor, latex, node, pdf
- Language: TeX
- Size: 1.81 MB
- Stars: 0
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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!
```js
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
- Kevin Cyu, kevinbird61@gmail.com