diff --git a/app/views/wiki/export.rhtml b/app/views/wiki/export.rhtml
index e3cf7aae..2e15ebcf 100644
--- a/app/views/wiki/export.rhtml
+++ b/app/views/wiki/export.rhtml
@@ -5,7 +5,7 @@
- <%= link_to 'HTML', :web => @web.address, :action => 'export_html' %>
- <%= link_to "Markup (#{@web.markup.to_s.capitalize})", :web => @web.address, :action => 'export_markup' %>
-<% if OPTIONS[:pdflatex] && @web.markup == :textile or @web.markup == :markdownMML %>
+<% if OPTIONS[:pdflatex] and @web.markup == :textile || @web.markup == :markdownMML %>
- <%= link_to 'TeX', :web => @web.address, :action => 'export_tex' %>
- <%= link_to 'PDF', :web => @web.address, :action => 'export_pdf' %>
<% end %>
diff --git a/app/views/wiki/page.rhtml b/app/views/wiki/page.rhtml
index 0f8caeb3..5ef20cf0 100644
--- a/app/views/wiki/page.rhtml
+++ b/app/views/wiki/page.rhtml
@@ -41,9 +41,11 @@
|
<%= link_to 'TeX', {:web => @web.address, :action => 'tex', :id => @page.name},
{:id => 'view_tex'} %>
+
<% end %>