Permalink
Browse files

Add quotations.

  • Loading branch information...
1 parent 2a9dda5 commit fdbae877f843904d9c3055cd3e7bd8fd8dc991e9 @stefanv stefanv committed Jul 14, 2012
Showing with 14 additions and 0 deletions.
  1. +5 −0 papers/00_vanderwalt/00_vanderwalt.rst
  2. +9 −0 publisher/writer/__init__.py
@@ -167,6 +167,11 @@ figures.
We show the different quantities of materials required in Table
:ref:`mtable`.
+Perhaps we want to end off with a quote by Lao Tse:
+
+ *Muddy water, let stand, becomes clear.*
+
+
.. Customised LaTeX packages
.. -------------------------
@@ -261,6 +261,15 @@ def depart_literal_block(self, node):
LaTeXTranslator.depart_literal_block(self, node)
+ def visit_block_quote(self, node):
+ self.out.append('\\begin{quotation}')
+ LaTeXTranslator.visit_block_quote(self, node)
+
+ def depart_block_quote(self, node):
+ LaTeXTranslator.depart_block_quote(self, node)
+ self.out.append('\\end{quotation}')
+
+
# Math directives from rstex
def visit_InlineMath(self, node):

0 comments on commit fdbae87

Please sign in to comment.