Commits

Jon Waltman  committed 03b05b7 Merge

Merged in klukas/sphinx (pull request #115)

Add configuration option for transitions in LaTeX output

  • Participants
  • Parent commits 868c7c5, 43bacd0

Comments (0)

Files changed (3)

File sphinx/texinputs/sphinx.sty

File contents unchanged.

File sphinx/texinputs/sphinxmanual.cls

File contents unchanged.

File sphinx/writers/latex.py

         'tableofcontents': '\\tableofcontents',
         'footer':          '',
         'printindex':      '\\printindex',
+        'transition':      '\n\n\\bigskip\\hrule{}\\bigskip\n\n',
     }
 
     def __init__(self, document, builder):
         self.body.append('}\n')
 
     def visit_transition(self, node):
-        self.body.append('\n\n\\bigskip\\hrule{}\\bigskip\n\n')
+        self.body.append(self.elements['transition'])
     def depart_transition(self, node):
         pass