Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 month 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-30T06:38:51.000Z (almost 4 years ago)
- Last Synced: 2024-10-12T13:41:42.197Z (2 months ago)
- Topics: convertor, latex, node, pdf
- Language: TeX
- Size: 1.81 MB
- Stars: 0
- Watchers: 2
- 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, [email protected]