<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>site/content/css/uv/active4d.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/all_hallows_eve.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/amy.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/blackboard.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/brilliance_black.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/brilliance_dull.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/cobalt.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/dawn.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/eiffel.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/espresso_libre.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/idle.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/iplastic.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/lazy.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/mac_classic.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/magicwb_amiga.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/pastels_on_dark.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/slush_poppies.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/spacecadet.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/sunburst.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/twilight.css</filename>
    </added>
    <added>
      <filename>site/content/css/uv/zenburnesque.css</filename>
    </added>
    <added>
      <filename>site/content/images/icons/contact.png</filename>
    </added>
    <added>
      <filename>site/content/images/icons/contribute.png</filename>
    </added>
    <added>
      <filename>site/content/images/icons/download.png</filename>
    </added>
    <added>
      <filename>site/content/images/icons/faq.png</filename>
    </added>
    <added>
      <filename>site/content/images/icons/manual.png</filename>
    </added>
    <added>
      <filename>site/content/images/icons/roadmap.png</filename>
    </added>
    <added>
      <filename>site/content/manual/executable.txt</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -41,7 +41,7 @@ opts = OptionParser.new do |opts|
     options[:tex] = true
   end
   
-  opts.on('-i PATH', '--install PATH', &quot;Install as plugin into Rails/Merb app at PATH&quot;) do |path|
+  opts.on('-i PATH', '--install PATH', &quot;Install as plugin into Rails app at PATH&quot;) do |path|
     unless Dir[plugins = File.join(path, 'vendor/plugins')].any?
       STDERR.puts &quot;Could not find application at #{path}&quot;
       exit 1</diff>
      <filename>bin/rtex</filename>
    </modified>
    <modified>
      <diff>@@ -5,11 +5,6 @@ filter:
 - textile
 ---
 
-
-h2. Version 2.0 Branch
-
-This is the Rails 2 compatible branch, includes the standalone @rtex@ executable, and is maintained by &quot;Bruce Williams&quot;:http://codefluency.com (github: &quot;bruce&quot;:http://github.com/bruce, email: _bruce at codefluency dot com_).
-
-h2. Version 1.0 Branch (Rails 1 compatible)
-
-This is the Rails 1 compatible branch and is maintained by Wiebe Cazemier (@contact info pending@).
\ No newline at end of file
+| *Branch* | *Details* | *Maintainer* | *Contact* |
+| v2 | Supports Rails 2 | &quot;Bruce Williams&quot;:http://codefluency.com | GitHub: &quot;bruce&quot;:http://github.com/bruce, E-Mail: _bruce at codefluency dot com_ |
+| v1 | Supports Rails 1 | &quot;Wiebe Cazemier&quot;:http://www.halfgaar.net | E-Mail: _wiebe at halfgaar dot net_ |
\ No newline at end of file</diff>
      <filename>site/content/contact/index.txt</filename>
    </modified>
    <modified>
      <diff>@@ -55,20 +55,35 @@ dt { font-weight: normal; }
   margin: 0;
 }
 
+pre.dawn span.EmbeddedSource {
+  background: none;
+}
+
+#menu { list-style: none; padding: 0; margin: 0; }
+#menu li {
+  padding-left: 24px;
+  line-height: 26px;
+  vertical-align: middle;
+}
+
+#content dl dt { font-weight: normal; background: #e6e6e6; padding: 4px; margin-top: 0.5em; margin-bottom: 0.25em; }
+
+&lt;% %w(contact contribute download faq manual roadmap).each do |type| %&gt;
+.&lt;%= type %&gt; { background: url(/images/icons/&lt;%= type %&gt;.png) center left no-repeat; }
+&lt;% end %&gt;
+
+td { padding: 4px; }
+
 pre {
   font-family: monospace;
   background: &lt;%= @page.color['box-bg'] %&gt;;
   padding: 1em;
   font-size: 1.1em;
+  overflow: auto;
 }
 
 em { background: none; }
 
-hr {
-  background: &lt;%= @page.color['highlight'] %&gt;;
-  color:      &lt;%= @page.color['highlight'] %&gt;;
-}
-
 #menu {
   padding: 1em;
   height: 100%;
@@ -76,7 +91,7 @@ hr {
   font-family: &quot;Georgia&quot;, &quot;Times New Roman&quot;, serif;
 }
 
-#release { height: 20px; padding: 0 0 0 1em; background: #e6e6e6; }
+#release { height: 20px; padding: 4px; margin-bottom: 1em; border: 1px #e6e6e6 solid; border-bottom: 1px #ccc solid; }
 #release * {
   line-height: 20px;
   vertical-align: middle;
@@ -87,6 +102,16 @@ hr {
   margin-right: 1em;
 }
 
+/* =============== */
+/* = BREADCRUMBS = */
+/* =============== */
+
+.breadcrumbs { list-style: none; padding: 0; margin: 0; height: 40px; }
+.breadcrumbs li { display: inline; padding: 0; margin: 0; }
+.breadcrumbs li:before { content: &quot;&gt; &quot;; }
+.breadcrumbs li:first-child:before { content: &quot;&quot;; }
+.breadcrumbs li:last-child { color: #aaa; font-family: &quot;Georgia&quot;, &quot;Times New Roman&quot;; font-style: italic; }
+
 /* Tables
  * --------------------------------------------------------------------- */
 table {
@@ -110,6 +135,8 @@ p.title {
   margin-bottom: 0.75em;
 }
 
+#footer { color: #aaa; font-style: italic; padding: 4px; border-top: 1px #e6e6e6 solid; }
+#footer { text-align: center; }
 #header p.title { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
 
 /* EOF */</diff>
      <filename>site/content/css/site.css</filename>
    </modified>
    <modified>
      <diff>@@ -20,7 +20,7 @@ Unstable code is available on the RTeX project's &quot;GitHub page&quot;:http://github.com
 
 h2. License
 
-Use it, change it, charge for it, give credit (more details below).
+RTeX is released under the MIT License.  Portions of RTeX found in @vendor/@ are redistributed for dependency purposes and include their own copyright and licensing information.
 
 &lt;pre id='license'&gt;
 (The MIT License)</diff>
      <filename>site/content/download/index.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,6 @@
 ---
+title: Home Page
+homepage: true
 filter:
   - erb
   - textile
@@ -7,4 +9,6 @@ h2. Welcome
 
 RTeX is a Ruby library (and web framework plugin) used to generate PDF documents on-the-fly using the &quot;LaTeX typesetting system&quot;:http://www.latex-project.org/.
 
-RTeX is maintained by Bruce Williams (creator, maintaining the v2, Rails 2 compatible branch) and Wiebe Cazemier (maintaining the v1, Rails 1 compatible branch).  See the &quot;contact&quot;:/contact page to reach them.
+Get started with the &quot;Manual&quot;:/manual (it's still a bit short, but it's something)!
+
+RTeX is maintained by Bruce Williams (creator, maintaining the v2 branch) and Wiebe Cazemier (maintaining the v1 branch).  See the &quot;Development Roadmap&quot;:/roadmap and &quot;Contribution&quot;:/contribution pages if you're interested in tracking development, and feel free to &quot;contact&quot;:/contact us if you have any questions.</diff>
      <filename>site/content/index.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 ---
 title: RTeX Manual
 extension: html
-distry: true
+dirty: true
 filter:
   - erb
   - textile
@@ -12,7 +12,7 @@ This is a _growing_ set of documentation; please bear with us as it is expanded!
 h2. Topics
 
 &lt;ol&gt;
-  &lt;% @pages.find(:limit =&gt; :all, :in_directory =&gt; 'manual', :sort_by =&gt; :position) do |p| %&gt;
+  &lt;% @pages.find(:limit =&gt; :all, :in_directory =&gt; 'manual', :order_by =&gt; :position) do |p| %&gt;
     &lt;% next if p == @page %&gt;
     &lt;li&gt;&lt;a href='&lt;%= p.url %&gt;'&gt;&lt;%= p.title %&gt;&lt;/a&gt;&lt;/li&gt;
   &lt;% end %&gt;</diff>
      <filename>site/content/manual/index.txt</filename>
    </modified>
    <modified>
      <diff>@@ -7,13 +7,21 @@ filter:
   - textile
 ---
 
+h2(#latex). Installing LaTeX
+
+First, you'll need LaTeX.  I recommend &quot;the official site&quot;:http://www.latex-project.org/ftp.html for more details.
+
+h3. Configuration
+
+You'll need to make sure @pdflatex@ and @latex@ are available in your @PATH@ environment variable (or equivalent).  If using RTeX &quot;as a Rails plugin&quot;:/manual/rails.html, make sure they're in @PATH@ for the Rails process owner.
+
 h2(#gem). Installing the RTeX Rubygem
 
 The easiest (and recommended) way to install RTeX is by using &quot;Rubygems&quot;:http://rubygems.org.
 
   sudo gem install rtex
   
-The standalone executable, @rtex@, should not be available.  For information on using the standalone executable, see the &quot;RTeX Executable&quot;:/manual/rtex_executable page.
+The standalone executable, @rtex@, should not be available.  For information on using the standalone executable, see the &quot;RTeX Executable&quot;:/manual/executable.html page.
   
 h2(#rails). Installing the Rails plugin
 </diff>
      <filename>site/content/manual/install.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,15 +1,13 @@
 ---
-title: RTeX as a Rails plugin
+title: Using RTeX as a Rails plugin
 extension: html
-position: 2
+position: 3
 filter:
   - erb
   - textile
 ---
 
-RTeX can be used as a &quot;Template Handler,&quot; similar to &quot;HAML&quot;:http://haml.hamptoncatlin.com/ or &quot;Markaby&quot;:http://markaby.rubyforge.org/, but with PDFs being output.
-
-_Please note that much of this information is also available within @README_RAILS.rdoc@ inside the RTeX gem (and plugin, once installed into an app)._
+RTeX can be used as a &quot;Template Handler,&quot; similar to &quot;HAML&quot;:http://haml.hamptoncatlin.com/ or &quot;Markaby&quot;:http://markaby.rubyforge.org/, but generating PDFs.
 
 h2. Rails Version Dependency
 
@@ -30,43 +28,38 @@ With the following:
 
 h4. app/controllers/items_controller.rb
 
-&lt;pre&gt;
-&lt;notextile&gt;
+&lt;% uv :lang =&gt; 'ruby', :theme =&gt; 'dawn' do %&gt;
   def index
     @items = Item.find(:all)
   end
-&lt;/notextile&gt;
-&lt;/pre&gt;
+&lt;% end %&gt;
 
 h4. app/views/items/index.pdf.rtex
 
-&lt;pre&gt;
-&lt;notextile&gt;
+&lt;% uv :lang =&gt; 'latex' do %&gt;
   \section*{Items}
   \begin{itemize}
-    &amp;lt;%= render :partial =&gt; @items %&amp;gt;
+    &lt;quote-erb&gt;&lt;%= render :partial =&gt; @items %&gt;&lt;/quote-erb&gt;
   \end{itemize}
-&lt;/notextile&gt; 
-&lt;/pre&gt;
+&lt;% end %&gt;
 
 h4. app/views/items/_item.pdf.rtex
 
-&lt;pre&gt;
-&lt;notextile&gt;
-  \item &amp;lt;%=l item.name %&amp;gt; \\
-&lt;/notextile&gt;
-&lt;/pre&gt;
+&lt;% uv :lang =&gt; 'latex' do %&gt;
+  \item &lt;quote-erb&gt;&lt;%=l item.name %&gt;&lt;/quote-erb&gt; \\
+  
+&lt;% end %&gt;
+
+Note the @l@ (or @latex_escape@) helper used above.  It escapes LaTeX command sequences (similar to how @h@ escapes HTML in normal Rails views).
 
 h4. app/layouts/application.pdf.rtex
 
-&lt;pre&gt;
-&lt;notextile&gt;
+&lt;% uv :lang =&gt; 'latex' do %&gt;
   \documentclass[12pt]{article}
   \begin{document}
-    &amp;lt;%= yield %&amp;gt;
+    &lt;quote-erb&gt;&lt;%= yield %&gt;&lt;/quote-erb&gt;
   \end{document}
-&lt;/notextile&gt;
-&lt;/pre&gt;
+&lt;% end %&gt;
 
 If you hit @http://the.server.url/items.pdf@, you end up with a nice PDF listing of items.
 
@@ -82,7 +75,16 @@ Note you can set certain options for RTeX by passing additional options to @rend
   &lt;dt&gt;@:processor@&lt;/dt&gt;&lt;dd&gt;The executable used for final generation (default: @'pdflatex'@); note this must currently produce a PDF file.&lt;/dd&gt;
   &lt;dt&gt;@:shell_redirect@&lt;/dt&gt;&lt;dd&gt;Additional string to be tacked onto system calls, generally used to redirect STDERR to keep logs clean, ie @'&gt; /dev/null 2&gt;&amp;1'@) (default @nil@)&lt;/dd&gt;
   &lt;dt&gt;@:tmpdir@&lt;/dt&gt;&lt;dd&gt;The temporary directory to use (default @RAILS_ROOT/tmp@)
-&lt;/dl&gt;  
+&lt;/dl&gt; 
+
+h4. Example
+
+&lt;% uv :lang =&gt; 'ruby' do %&gt;
+  def index
+    @items = Item.find(:all)
+    render :filename =&gt; 'item-listing.pdf'
+  end
+&lt;% end %&gt;
 
 
 </diff>
      <filename>site/content/manual/rails.txt</filename>
    </modified>
    <modified>
      <diff>@@ -8,8 +8,11 @@ filter:
 
 Here are some basic guidelines on the list of features and target releases.
 
-* Support for merb: 2.1
-* Support for sinatra: 2.1
-* Add queuing/offload support for asynchronous processing/notification: ?
+| *Feature* | *Target Release* |
+| Loading of custom filters by @rtex@ executable | 2.1 |
+| Access to LaTeX filters from plugins | 2.1 |
+| &quot;Merb&quot;:http://merbivore.com plugin support | 2.2 |
+| &quot;Sinatra&quot;:http://sinatrarb.com plugin support | 2.2 |
+| Built-in Queuing/Offload for asynchronous processing | TBD |
 
 Have more ideas?  &quot;Contact&quot;:/contact us.
\ No newline at end of file</diff>
      <filename>site/content/roadmap/index.txt</filename>
    </modified>
    <modified>
      <diff>@@ -16,7 +16,7 @@ filter:    erb
    &lt;link rel=&quot;stylesheet&quot; href=&quot;/css/blueprint/print.css&quot; type=&quot;text/css&quot; media=&quot;print&quot; /&gt;
 
    &lt;!-- CodeRay syntax highlighting CSS --&gt;
-   &lt;link rel=&quot;stylesheet&quot; href=&quot;/css/coderay.css&quot; type=&quot;text/css&quot; /&gt;
+   &lt;link rel=&quot;stylesheet&quot; href=&quot;/css/uv/&lt;%= UV_THEME %&gt;.css&quot; type=&quot;text/css&quot; /&gt;
 
    &lt;!-- Homepage CSS --&gt;
    &lt;link rel=&quot;stylesheet&quot; href=&quot;/css/site.css&quot; type=&quot;text/css&quot; media=&quot;screen, projection&quot; /&gt;
@@ -24,7 +24,7 @@ filter:    erb
 &lt;body&gt;
   
 &lt;div id='legacy'&gt;
-  &lt;p&gt;&lt;strong&gt;RTeX has been updated for Rails 2.&lt;/strong&gt; If you're looking for the v1 branch (Rails 1 compatible) RTeX documentation, &lt;a href='/v1'&gt;go here&lt;/a&gt;.
+  &lt;p&gt;&lt;strong&gt;RTeX has been updated for Rails 2.&lt;/strong&gt; The v1 branch (supporting Rails 1) is available &lt;a href='http://rubyforge.org/scm/?group_id=2471'&gt;from Subversion at Rubyforge&lt;/a&gt;.
 &lt;/div&gt;
 
 &lt;div class=&quot;container&quot;&gt;
@@ -40,24 +40,24 @@ filter:    erb
          &lt;a href='/download'&gt;&lt;%= stable_version %&gt;&lt;/a&gt;
        &lt;/dd&gt;
      &lt;/dl&gt;
-     &lt;% if @page.title %&gt;
+     &lt;% if !@page.homepage &amp;&amp; @page.title %&gt;
+       &lt;%= breadcrumbs(@page) %&gt;
        &lt;h1&gt;&lt;%= @page.title %&gt;&lt;/h1&gt;
      &lt;% end %&gt;
-      &lt;%= @content %&gt;
+      &lt;div id='content'&gt;&lt;%= @content %&gt;&lt;/div&gt;
    &lt;/div&gt;
 
    &lt;ul id='menu' class=&quot;column span-5 append-2 last&quot;&gt;
-     &lt;li&gt;&lt;a href='/faq'&gt;FAQ&lt;/a&gt;&lt;/li&gt;
-     &lt;li&gt;&lt;a href='/download'&gt;Download&lt;/a&gt;&lt;/li&gt;
-     &lt;li&gt;&lt;a href='/manual'&gt;Manual&lt;/a&gt;&lt;/li&gt;
-     &lt;li&gt;&lt;a href='/roadmap'&gt;Development Roadmap&lt;/a&gt;&lt;/li&gt;
-     &lt;li&gt;&lt;a href='/contribute'&gt;Contribute!&lt;/a&gt;&lt;/li&gt;
-     &lt;li&gt;&lt;a href='/contact'&gt;Contact&lt;/a&gt;&lt;/li&gt;
+     &lt;li class='faq'&gt;&lt;a href='/faq'&gt;FAQ&lt;/a&gt;&lt;/li&gt;
+     &lt;li class='download'&gt;&lt;a href='/download'&gt;Download&lt;/a&gt;&lt;/li&gt;
+     &lt;li class='manual'&gt;&lt;a href='/manual'&gt;Manual&lt;/a&gt;&lt;/li&gt;
+     &lt;li class='roadmap'&gt;&lt;a href='/roadmap'&gt;Development Roadmap&lt;/a&gt;&lt;/li&gt;
+     &lt;li class='contribute'&gt;&lt;a href='/contribute'&gt;Contribute!&lt;/a&gt;&lt;/li&gt;
+     &lt;li class='contact'&gt;&lt;a href='/contact'&gt;Contact&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
 
    &lt;div class=&quot;column span-20 prepend-2 append-2 first last&quot; id=&quot;footer&quot;&gt;
-     &lt;hr/&gt;
-     &lt;p&gt;This website was created with &lt;a href=&quot;http://webby.rubyforge.org&quot;&gt;Webby&lt;/a&gt;&lt;/p&gt;
+     &lt;p&gt;RTeX is &amp;copy; 2006-2008 &lt;a href='/contact'&gt;Bruce Williams, Wiebe Cazemier&lt;/a&gt;, released under the MIT License.&lt;br/&gt;This website was created with &lt;a href=&quot;http://webby.rubyforge.org&quot;&gt;Webby&lt;/a&gt;, with icons from &lt;a href='http://www.pinvoke.com/'&gt;pinvoke&lt;/a&gt;.&lt;/p&gt;
    &lt;/div&gt;
 
 &lt;/div&gt;</diff>
      <filename>site/layouts/default.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,5 @@
+try_require 'uv'
+require 'hpricot'
 require File.dirname(__FILE__) &lt;&lt; &quot;/../../lib/rtex/version&quot;
 
 def stable_version
@@ -6,4 +8,23 @@ def stable_version
   else
     RTeX::Version::STRING
   end
-end
\ No newline at end of file
+end
+
+UV_THEME = 'dawn'
+
+::Webby.site.uv = { :theme =&gt; UV_THEME }
+
+Webby::Filters.register :erb do |input, cursor|
+  b = cursor.renderer.get_binding
+  replaced = {}
+  input.gsub!(/&lt;quote-erb&gt;(.*?)&lt;\/quote-erb&gt;/) do |match|
+    key = &quot;(quote-erb_#{match.object_id})&quot;
+    highlighted = Hpricot(Uv.parse($1, &quot;xhtml&quot;, 'html_rails', false, UV_THEME))
+    source = highlighted.at('pre &gt; span.EmbeddedSource').inner_html
+    replaced[key] = source
+    key
+  end
+  replaced.inject(ERB.new(input, nil, '-').result(b)) do |result, (key, value)|
+    result.sub(key, value)
+  end
+end</diff>
      <filename>site/lib/variables.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,2 +1,3 @@
 Extracted from instiki, http://www.instiki.org
-Copyright (c) David Heinemeier Hansson, Ruby License
\ No newline at end of file
+Copyright (c) David Heinemeier Hansson, Ruby License
+</diff>
      <filename>vendor/instiki/LICENSE</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>743635b21adcd72a5ab267785e24486cea6922e5</id>
    </parent>
  </parents>
  <author>
    <name>Bruce Williams</name>
    <email>bruce@codefluency.com</email>
  </author>
  <url>http://github.com/bruce/rtex/commit/c0c6351af73badd62780bda6e6b6467e48e361fb</url>
  <id>c0c6351af73badd62780bda6e6b6467e48e361fb</id>
  <committed-date>2008-04-23T23:38:50-07:00</committed-date>
  <authored-date>2008-04-23T23:38:50-07:00</authored-date>
  <message>Build out syntax highlighting, examples, prep for release</message>
  <tree>8c284a66dc6ceca30b196d042d107bcd012c2edc</tree>
  <committer>
    <name>Bruce Williams</name>
    <email>bruce@codefluency.com</email>
  </committer>
</commit>
