Removed (temporarily, I hope) the "export web to TeX" and PDF-output features. They were slow and didn't work right.

This commit is contained in:
Jacques Distler 2007-02-16 11:05:55 -06:00
parent 82e56697ee
commit 373f25bcb7
2 changed files with 3 additions and 1 deletions

View file

@ -5,7 +5,7 @@
<ul id="feedsList">
<li><%= link_to 'HTML', :web => @web.address, :action => 'export_html' %></li>
<li><%= link_to "Markup (#{@web.markup.to_s.capitalize})", :web => @web.address, :action => 'export_markup' %></li>
<% if OPTIONS[:pdflatex] && @web.markup == :textile or @web.markup == :markdownMML %>
<% if OPTIONS[:pdflatex] and @web.markup == :textile || @web.markup == :markdownMML %>
<li><%= link_to 'TeX', :web => @web.address, :action => 'export_tex' %></li>
<li><%= link_to 'PDF', :web => @web.address, :action => 'export_pdf' %></li>
<% end %>

View file

@ -41,9 +41,11 @@
|
<%= link_to 'TeX', {:web => @web.address, :action => 'tex', :id => @page.name},
{:id => 'view_tex'} %>
<!-- Doesn't really work right:
|
<%= link_to 'PDF', {:web => @web.address, :action => 'pdf', :id => @page.name},
{:id => 'view_pdf'} %>
-->
<% end %>
</small>