# \[ANN\] RTex Plugin

**URL:** <https://www.ruby-forum.com/t/ann-rtex-plugin/55260>\
**Category:** Rails\
**Created:** [March 18, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/ann-rtex-plugin/55260 "2006-03-18T19:00:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![midnightcoder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/edb3f5/32.png) [@midnightcoder](https://www.ruby-forum.com/u/midnightcoder)\
**Post date:** [March 18, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/ann-rtex-plugin/55260/1 "2006-03-18T19:00:16Z")

</div>

Announcing the initial release of the RTex Plugin for Rails.

This plugin adds support for .rtex templates/partials, which consist  
of a mixture of LaTeX ([http://www.latex-project.org/](http://www.latex-project.org/)) markup and Ruby  
(using ERB). The resulting LaTeX markup is passed through pdflatex to  
generate a PDF for the user.

You can find more information on the plugin on the Rails wiki Plugin  
page, or at the plugin’s homepage, [codefluency.com](http://codefluency.com/pages/rtex)

Notes:

The RTex Plugin may be broken in any number of ways. At the moment,  
there’s no support for escaping content inserted into the LaTeX  
document (it up to you to escape &s in the tabular environment, for  
instance, protect from inadvertent slash commands, etc). YMMV. If you  
encounter any problems, please contact me directly via email; I plan  
on continuing its development.

The RTex Plugin was not meant as a replacement for PDF::Writer (ie,  
the Rails PDF Plugin); the choice to use LaTeX was made for reasons of  
performance when generating large/complex documents and due to LaTeX’  
advanced capabilities.

Regards,  
Bruce W.
