RTeX has been updated for Rails 2. The v1 branch (supporting Rails 1) is available from Subversion at Rubyforge.

Current Version:
1.99.0 (2.0 Preview 1)

Installing RTeX

Installing LaTeX

First, you’ll need LaTeX. I recommend the official site for more details.

Configuration

You’ll need to make sure pdflatex and latex are available in your PATH environment variable (or equivalent). If using RTeX as a Rails plugin, make sure they’re in PATH for the Rails process owner.

Installing the RTeX Rubygem

The easiest (and recommended) way to install RTeX is by using Rubygems.

sudo gem install rtex

The standalone executable, rtex, should not be available. For information on using the standalone executable, see the RTeX Executable page.

Installing the Rails plugin

If you’d like to use RTeX as a Rails template handler, install it with:

rtex --install /path/to/your/app

It’s also possible to unpack the entire gem to vendor/plugins/rtex, but it’s not recommended.

For information on how to use RTeX from within your Rails application, see the Rails page.