tag:codefluency.lighthouseapp.com,2008-05-17:/projects/11492-rtex/eventscodefluency / RTeX Events2008-09-20T18:33:10Ztag:codefluency.lighthouseapp.com,2008-05-17:Event/121924542011-03-05T23:06:07-06:002011-03-05T23:06:07-06:00Bruce Williams[Changeset] RTeX: Changeset [01805839d11636cb06850ec2dae85787d89d1e04] by Bruce Williams<div><p>Add notice that the "official" fork is no longer maintained.
It's been a good run, but it's time for someone else to pick up the
project.<br>
<a href=
"https://github.com/bruce/rtex/commit/01805839d11636cb06850ec2dae85787d89d1e04">
https://github.com/bruce/rtex/commit/01805839d11636cb06850ec2dae857...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/70243972010-04-16T02:41:19-05:002010-04-16T02:41:19-05:00Bruce Williams[Changeset] RTeX: Changeset [2aff9ead25e40964d2d81fb3967ed191690d8843] by Bruce Williams<div><p>First step towards supporting Rails3. Modernize, fix test for
1.9<br>
<a href=
"http://github.com/bruce/rtex/commit/2aff9ead25e40964d2d81fb3967ed191690d8843">
http://github.com/bruce/rtex/commit/2aff9ead25e40964d2d81fb3967ed19...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/28499632009-03-23T00:57:44-05:002009-03-23T00:57:44-05:00David CatoRTeX: RTeX #l steals I18n #l [#11]<div><p>Well, my attempt at including a block of code appears to have
failed so I'm attaching it instead.</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/28499552009-03-23T00:53:38-05:002009-03-23T00:53:38-05:00David CatoRTeX: RTeX #l steals I18n #l [#11]<div><p>After thinking about this a bit further, it seems that the
following version of latex_escape might do the trick and allow RTeX
to coexist with Rails' I18n code.</p>
<p>@@@ruby def latex_escape(*args) if
Thread.current[:_rendering_rtex]</p>
<pre>
<code>RTeX::Document.escape(*args)
</code>
</pre>
<p>elsif self.respond_to?(:localize)</p>
<pre>
<code>localize(*args)
</code>
</pre>
<p>end end</p>
<pre><code>
At least it does the right thing in my application and tests that were previously failing because the code expected l() to be aliased to localize() are now passing, and the code that expects l() to be aliased to latex\_escape() is still passing.
</code></pre></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/28440022009-03-22T00:02:56-05:002009-03-22T00:02:56-05:00David CatoRTeX: render_to_string fails with RTeX [#12]<div><p>render_to_string fails when RTeX is loaded due to a failure to
return the result from render_without_rtex when not rendering PDF.
This used to work in RTeX 2.0.5, but commit
28e42cbe0323f3ed96f3dc95a7c15b72181a9ced removed the else clause at
the end of render_with_rtex.</p>
<p>If I restore the else clause, then render_to_string works, but I
don't know why the change was made or what side effects the
re-insertion of the clause might have (though I haven't seen any
problems yet).</p>
<p>Note, this is not the same as ticket <a href="/projects/11492/tickets/3" title="Ticket #3">#3</a> because I'm
not trying to render PDF output to a string, just normal HTML
output that isn't going through the RTeX renderer.</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/28439742009-03-21T23:36:05-05:002009-03-21T23:36:05-05:00David CatoRTeX: RTeX #l steals I18n #l [#11]<div><p>The l alias for latex_escape causes grief with projects that are
expecting l to be aliased to the localize method of
ActionView::Helpers::TranslationHelper.</p>
<p>In the "best-case" scenario, <%= l @date %> in a HTML view
simply gives the wrong result. In the worst-case scenario, <%= l
@date, :format => @format %> the result is a TemplateError
due to the wrong number of arguments.</p>
<p>Ideally, the l alias would just not be used in such situations
and be replaced by the intended method (either localize or
latex_escape), but sometimes you're working with code written by
others that did not take this conflict into consideration.</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/26101362009-02-26T21:23:40-06:002009-02-26T21:23:40-06:00Bruce Williams[Changeset] RTeX: Changeset [ec6495ae19359545c0588c8e358f7627e1251621] by Bruce Williams<div><p>Compatibility with Passenger (thread local variable wipe), 2.1.1
<a href="http://github.com/bruce/rtex/commit/ec6495ae19359545c0588c8e358f7627e1251621">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/26072302009-02-26T16:32:24-06:002009-02-26T16:32:24-06:00Bruce Williams[Changeset] RTeX: Changeset [c6e0ea02cc12db5a13e8a4b6fa6955c0c35966cc] by Bruce Williams<div><p>More little tweaks <a href="http://github.com/bruce/rtex/commit/c6e0ea02cc12db5a13e8a4b6fa6955c0c35966cc">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/26071722009-02-26T16:29:25-06:002009-02-26T16:29:25-06:00Bruce Williams[Changeset] RTeX: Changeset [ac3aac1a4d816c3dff1f206a423b5efc6d9cbc5b] by Bruce Williams<div><p>Tweak doc <a href="http://github.com/bruce/rtex/commit/ac3aac1a4d816c3dff1f206a423b5efc6d9cbc5b">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/26071442009-02-26T16:27:26-06:002009-02-26T16:27:26-06:00Bruce Williams[Changeset] RTeX: Changeset [c790e306df43a5ee8b1d7bcfa2c1237be8afb002] by Bruce Williams<div><p>Update docs. <a href="http://github.com/bruce/rtex/commit/c790e306df43a5ee8b1d7bcfa2c1237be8afb002">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/26067902009-02-26T16:05:50-06:002009-02-26T16:05:50-06:00Bruce WilliamsRTeX: Support Rails 2.2 [#9]<li>Tag set to <em class="change">“<span class="tag">prawn</span>, <span class="tag">rails</span>, <span class="tag">release</span>, <span class="tag">v2-branch</span>”</em></li>
<li>State changed from <em class="change">“open”</em> to <em class="change">“resolved”</em></li>
<div><p>The compatibility issue with Rails 2.2.2 (and 2.3, edge) should
be fixed as of RTeX v2.1.0, released today. Please let me know if
you run into any issues.</p>
<p>RTeX 2.1.0 also supports using RTeX alongside Prawn in the same
Rails application (the solution recommended by cmo-0 for this
ticket sidesteps a check designed to ensure RTeX doesn't 'steal'
every .pdf render).</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/26062462009-02-26T15:30:33-06:002009-02-26T15:30:33-06:00Bruce Williams[Changeset] RTeX: Changeset [28e42cbe0323f3ed96f3dc95a7c15b72181a9ced] by Bruce Williams<div><p>Release v2.1.0. Merge in rails-2.2.2 branch, modify to make sure
Prawn isn't trampled and 2.3.0 is supported. Simplify tagging of
templates for later processing (+ ensure it works with compiled
templates). Update README_RAILS <a href="http://github.com/bruce/rtex/commit/28e42cbe0323f3ed96f3dc95a7c15b72181a9ced">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/26062452009-02-26T15:30:33-06:002009-02-26T15:30:33-06:00Bruce Williams[Changeset] RTeX: Changeset [3ec83f6402e3d474e7a723f86a6781f6c996d9ef] by Bruce Williams<div><p>Merge commit 'nullobject/master' <a href="http://github.com/bruce/rtex/commit/3ec83f6402e3d474e7a723f86a6781f6c996d9ef">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/26062442009-02-26T15:30:33-06:002009-02-26T15:30:33-06:00Bruce Williams[Changeset] RTeX: Changeset [eb4b57609c90f0081bd66cd3bc0504890512241b] by Joshua Bassett<div><p>Bug fix for rails 2.3.0. <a href="http://github.com/bruce/rtex/commit/eb4b57609c90f0081bd66cd3bc0504890512241b">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/21070552009-01-06T18:17:36-06:002009-01-06T18:17:53-06:00Bruce WilliamsRTeX: Support Rails 2.2 [#9]<li>State changed from <em class="change">“new”</em> to <em class="change">“open”</em></li>
<div><p>I've pushed up this workaround to the repo in the 'rails-2.2.2'
branch, <a href="http://github.com/bruce/rtex/tree/rails-2.2.2">http://github.com/bruce/rtex/tre...</a></p>
<p>It will be merged with 'master' once I (or someone else) has the
chance to verify compatibility across Rails versions and with the
Prawn library.</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/21069482009-01-06T18:04:28-06:002009-01-06T18:04:28-06:00Bruce Williams[Changeset] RTeX: Changeset [48fd64205f8ac6daafc440ba1131bb81f9b4d839] by Bruce Williams<div><p>Add modified workaround from <a href="http://codefluency.lighthouseapp.com/projects/11492/tickets/9-support-rails-22#ticket-9-4">
http://codefluency.lighthouseapp...</a> * Note: This may not be
compatible with Prawn or other versions of Rails <a href="http://github.com/bruce/rtex/commit/48fd64205f8ac6daafc440ba1131bb81f9b4d839">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/20399602008-12-26T06:26:46-06:002008-12-26T06:26:46-06:00Joachim GarthRTeX: Support Rails 2.2 [#9]<div><p>cmo-0's solution works for me (+1, Thanks!)</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/20390572008-12-25T13:36:31-06:002008-12-25T13:36:31-06:00Bruce WilliamsRTeX: Support Rails 2.2 [#9]<div><p>I'll have to verify this doesn't clobber Prawn templates.</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/20385332008-12-25T05:15:03-06:002008-12-25T05:15:03-06:00cmo-0RTeX: better logging of latex errors (enchancement) [#10]<div><p>it will be better to concatenate the document.log file in the
temp rtex folder to the error displayed in the browser (aka added
to the document.rb in verify! method, YMMV.</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/20385212008-12-25T05:07:01-06:002008-12-25T05:07:01-06:00cmo-0RTeX: Support Rails 2.2 [#9]<div><p>it worked for me:</p>
<p>change the line in rtex/lib/rtex/framework/rails.rb</p>
<p>if result.is_a?(String) &&
@template.respond_to?(:rendered_with_rtex)</p>
<p>to</p>
<p>if result.is_a?(String) &&
@template.template_format=="pdf"</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/18999812008-12-06T10:50:18-06:002008-12-06T10:50:18-06:00Bruce WilliamsRTeX: Support Rails 2.2 [#9]<div><p>Two reports of compatibility issues with Rails 2.2.</p>
<ul>
<li>An empty response</li>
<li>PDF generation not occurring, raw LaTeX being returned</li>
</ul></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/14546922008-10-08T11:48:24-05:002008-10-08T11:48:24-05:00Bruce WilliamsRTeX: Cannot install using RubyGems =1.3 [#8]<li>State changed from <em class="change">“new”</em> to <em class="change">“resolved”</em></li>
<div><p>I've upgraded Echoe, removed the rubygems version requirement,
and released RTeX v2.0.5 (which should be available from RubyForge
mirrors shortly).</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/14546812008-10-08T11:47:46-05:002008-10-08T11:47:46-05:00Bruce WilliamsRTeX: Cannot install using RubyGems =1.3 [#8]<div><p>This is an issue with Echoe <= 3.0.0, which I used to build
v2.0.4.</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/14546682008-10-08T11:46:32-05:002008-10-08T11:48:23-05:00Bruce Williams[Milestone] RTeX: 2.0.5<div><p>Maintenance release</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/14538492008-10-08T10:36:31-05:002008-10-08T10:36:31-05:00Bruce Williams[Changeset] RTeX: Changeset [269ce6f6be0e607cdb46c07b564fbe83c36ac956] by Bruce Williams<div><p>Support for RubyGems > 1.2 (Bad Echoe, bad!) <a href="http://github.com/bruce/rtex/commit/269ce6f6be0e607cdb46c07b564fbe83c36ac956">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/13092932008-09-20T14:01:54-05:002008-09-20T14:01:55-05:00Bruce WilliamsRTeX: render_to_string with rtex [#3]<li>State changed from <em class="change">“open”</em> to <em class="change">“hold”</em></li>
<li>Tag changed from <em class="change">“<span class="tag">feature-request</span>”</em> to <em class="change">“<span class="tag">feature-request</span>”</em></li>
tag:codefluency.lighthouseapp.com,2008-05-17:Event/13092102008-09-20T13:46:32-05:002008-09-20T13:46:32-05:00Bruce WilliamsRTeX: rtex/prawn incompatability [#6]<li>Tag set to <em class="change">“<span class="tag">bug</span>, <span class="tag">rails</span>, <span class="tag">v2-branch</span>”</em></li>
<li>Milestone set to <em class="change">“<span class="milestone" data-id="19483">2.0.4</span>”</em></li>
<div><p>Just released in 2.0.4.</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/13092032008-09-20T13:45:31-05:002008-09-20T13:46:30-05:00Bruce Williams[Milestone] RTeX: 2.0.4<div><p>Bugfixes</p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/13091952008-09-20T13:42:16-05:002008-09-20T13:42:16-05:00Bruce Williams[Changeset] RTeX: Changeset [a5be0594068d313c2be18b1dbe9c817a46d16e38] by Bruce Williams<div><p>Increment version for release <a href="http://github.com/bruce/rtex/commit/a5be0594068d313c2be18b1dbe9c817a46d16e38">
http://github.com/bruce/rtex/com...</a></p></div>tag:codefluency.lighthouseapp.com,2008-05-17:Event/13091572008-09-20T13:33:10-05:002008-09-20T13:33:10-05:00Bruce WilliamsRTeX: Support to_s during escaping [#7]<li>State changed from <em class="change">“new”</em> to <em class="change">“resolved”</em></li>
<li>Tag set to <em class="change">“<span class="tag">bug</span>, <span class="tag">escaping</span>, <span class="tag">v2-branch</span>”</em></li>
<div><p>Resolved by 07278e3566b664da14893bd51bb76f217968de28</p></div>