Commits

Jon Waltman  committed 60838c4

[texinfo] Change paragraphindent from 2 to 0.

  • Participants
  • Parent commits fffa9be

Comments (0)

Files changed (1)

File sphinx/writers/texinfo.py

         'direntry': '',
         'exampleindent': 4,
         'filename': '',
-        'paragraphindent': 2,
+        'paragraphindent': 0,
         'preamble': '',
         'project': '',
         'release': '',
     ## Blocks
 
     def visit_paragraph(self, node):
-        if 'continued' in node or isinstance(node.parent, nodes.compound):
-            self.body.append('\n@noindent')
         self.body.append('\n')
     def depart_paragraph(self, node):
         self.body.append('\n')
     def visit_literal_block(self, node):
         self.body.append('\n@example\n')
     def depart_literal_block(self, node):
-        self.body.append('\n@end example\n\n'
-                         '@noindent\n')
+        self.ensure_eol()
+        self.body.append('@end example\n')
 
     visit_doctest_block = visit_literal_block
     depart_doctest_block = depart_literal_block