pdf generation using mustache and xelatex
CoffeeScript
Permalink
Failed to load latest commit information.
examples providing the compiled tex source when error occurs Mar 12, 2013
.gitignore version 0.0.1 Mar 4, 2013
README.md version 0.0.1 Mar 4, 2013
index.coffee
index.js
package.json providing the compiled tex source when error occurs Mar 12, 2013

README.md

node-pdf

pdf generation using mustache and xelatex

usage

npm install node-pdf
fs = require 'fs'
{render} = require 'node-pdf'

data =
	title: 'Matrix'

render './matrix.tex', data, (err,rs)->
	if err
		console.log err
	else
		ws = fs.createWriteStream './output.pdf'
		rs.pipe ws