/[gzz]/gzz/metacode/latex2e.py
ViewVC logotype

Diff of /gzz/metacode/latex2e.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37 by humppake, Sat Feb 15 10:22:54 2003 UTC revision 1.38 by benja, Sat Feb 15 12:02:29 2003 UTC
# Line 1235  class LaTeXTranslator(nodes.NodeVisitor) Line 1235  class LaTeXTranslator(nodes.NodeVisitor)
1235    
1236      def visit_title(self, node):      def visit_title(self, node):
1237          """Only 3 section levels are supported by LaTeX article (AFAIR)."""          """Only 3 section levels are supported by LaTeX article (AFAIR)."""
1238            if node.astext().lower().strip() == 'abstract':
1239                self.body.append('\\abstract')
1240                raise nodes.SkipNode
1241            
1242          if isinstance(node.parent, nodes.topic):          if isinstance(node.parent, nodes.topic):
1243              # section titles before the table of contents.              # section titles before the table of contents.
1244              if node.parent.hasattr('id'):              if node.parent.hasattr('id'):

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26