Skip to content

oyvindrobertsen/node-latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-latex Build status

A simple LaTeX library for Node.js that will support multiple compilers (defaulting to rubber) and references, images, etc.

Uses mocha for tests.

Usage

var latex = require('node-latex');
latex.compile('file.tex');

Uses Rubber to compile, so that's a dependency. WIP: Support for other compilers will be implemented. The compile function also accepts an options object. For now, the compiler option is ignored.

var compileOpts = {
  path: <PATH_TO_TEX_FILE>,
  compiler: 'xelatex',
  outDir: <PATH_TO_OUTPUT_DIR>
}

About

A simple LaTeX library for Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published