[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/metacode latex2e.py
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] gzz/metacode latex2e.py |
Date: |
Sat, 15 Feb 2003 07:02:29 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Benja Fallenstein <address@hidden> 03/02/15 07:02:29
Modified files:
metacode : latex2e.py
Log message:
Handle abstract correctly
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/metacode/latex2e.py.diff?tr1=1.37&tr2=1.38&r1=text&r2=text
Patches:
Index: gzz/metacode/latex2e.py
diff -u gzz/metacode/latex2e.py:1.37 gzz/metacode/latex2e.py:1.38
--- gzz/metacode/latex2e.py:1.37 Sat Feb 15 05:22:54 2003
+++ gzz/metacode/latex2e.py Sat Feb 15 07:02:29 2003
@@ -3,8 +3,8 @@
"""
:Author: Engelbert Gruber (hacked by the Gzz project)
:Contact: address@hidden
-:Revision: $Revision: 1.37 $
-:Date: $Date: 2003/02/15 10:22:54 $
+:Revision: $Revision: 1.38 $
+:Date: $Date: 2003/02/15 12:02:29 $
:Copyright: This module has been placed in the public domain.
LaTeX2e document tree Writer.
@@ -1235,6 +1235,10 @@
def visit_title(self, node):
"""Only 3 section levels are supported by LaTeX article (AFAIR)."""
+ if node.astext().lower().strip() == 'abstract':
+ self.body.append('\\abstract')
+ raise nodes.SkipNode
+
if isinstance(node.parent, nodes.topic):
# section titles before the table of contents.
if node.parent.hasattr('id'):
- [Gzz-commits] gzz/metacode latex2e.py, (continued)
- [Gzz-commits] gzz/metacode latex2e.py, Asko Soukka, 2003/02/12
- [Gzz-commits] gzz/metacode latex2e.py, Asko Soukka, 2003/02/12
- [Gzz-commits] gzz/metacode latex2e.py, Janne V. Kujala, 2003/02/12
- [Gzz-commits] gzz/metacode latex2e.py, Asko Soukka, 2003/02/12
- [Gzz-commits] gzz/metacode latex2e.py, Asko Soukka, 2003/02/12
- [Gzz-commits] gzz/metacode latex2e.py, Asko Soukka, 2003/02/13
- [Gzz-commits] gzz/metacode latex2e.py, Benja Fallenstein, 2003/02/14
- [Gzz-commits] gzz/metacode latex2e.py, Asko Soukka, 2003/02/14
- [Gzz-commits] gzz/metacode latex2e.py, Asko Soukka, 2003/02/14
- [Gzz-commits] gzz/metacode latex2e.py, Benja Fallenstein, 2003/02/14
- [Gzz-commits] gzz/metacode latex2e.py,
Benja Fallenstein <=