Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
branch: master

This branch is 8 commits behind minad:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
Manifest.txt
README.txt
Rakefile
latex-renderer.gemspec

README.txt

= README

Latex-renderer is a ruby library to generate images from latex code.

== Usage

Synchronous rendering:

 latex = Latex::Renderer.new(options)
 filename, filepath, hash = latex.render('\frac{1}{2}')

Asynchronous rendering:

 latex = Latex::AsyncRenderer.new(options)
 filename, filepath, hash = latex.render('\frac{1}{2}')
 ....
 filename, filepath, hash = latex.result(hash)

== Options

 * image_dir: Target directory
 * temp_dir:  Temporary directory
 * convert:   Options for imagemagick convert
 * image_format: Target format
 * debug: Debugging mode. Do not delete temporary files if an error occured

== TODO

 * write specs (There are no tests in test dir!)
 * don't use open4 library
Something went wrong with that request. Please try again.