We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: Ruby LaTeX to PDF preprocessor (and Rails plugin)
Homepage: http://rtex.rubyforge.org
Clone URL: git://github.com/bruce/rtex.git
Click here to lend your support to: rtex and make a donation at www.pledgie.com !
Support edge rails post commit d2ccb852d
[#5 state:resolved]
bruce (author)
Sun Aug 17 13:19:48 -0700 2008
commit  d226f07cac31201d1ef241c8dcbca851d1ae40c5
tree    571493b3d861754c5a7f70e82d831483a6a0c7d6
parent  a0dcf900304384a1ed3b437d125f374db2d4c4db
...
19
20
21
22
 
 
 
 
 
 
23
24
25
...
19
20
21
 
22
23
24
25
26
27
28
29
30
0
@@ -19,7 +19,12 @@ module RTeX
0
       class Template < ::ActionView::TemplateHandlers::ERB
0
         def initialize(*args)
0
           super
0
- @view.template_format = :pdf
0
+ # Support Rails render API before:
0
+ # commit d2ccb852d4e1f6f1b01e43f32213053ae3bef408
0
+ # Date: Fri Jul 18 16:00:20 2008 -0500
0
+ if defined?(@view)
0
+ @view.template_format = :pdf
0
+ end
0
         end
0
       end
0
       

Comments

    No one has commented yet.