gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] navidoc/navidoc/writers latex2e.py


From: Benja Fallenstein
Subject: [Gzz-commits] navidoc/navidoc/writers latex2e.py
Date: Sat, 17 May 2003 08:13:21 -0400

CVSROOT:        /cvsroot/navidoc
Module name:    navidoc
Changes by:     Benja Fallenstein <address@hidden>      03/05/17 08:13:21

Modified files:
        navidoc/writers: latex2e.py 

Log message:
        Allow using latex commands in interpreted text: `$i=2$`

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/navidoc/navidoc/navidoc/writers/latex2e.py.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: navidoc/navidoc/writers/latex2e.py
diff -u navidoc/navidoc/writers/latex2e.py:1.5 
navidoc/navidoc/writers/latex2e.py:1.6
--- navidoc/navidoc/writers/latex2e.py:1.5      Tue May 13 07:49:05 2003
+++ navidoc/navidoc/writers/latex2e.py  Sat May 17 08:13:21 2003
@@ -19,7 +19,7 @@
 # MA  02111-1307  USA
 # 
 
-# $Id: latex2e.py,v 1.5 2003/05/13 11:49:05 humppake Exp $
+# $Id: latex2e.py,v 1.6 2003/05/17 12:13:21 benja Exp $
 
 #
 # Modified by Janne Kujala, Asko Soukka, Benja Fallenstein, Vesa Kaihlavirta
@@ -28,8 +28,8 @@
 """
 :Author: Engelbert Gruber (hacked by the Gzz project)
 :Contact: address@hidden
-:Revision: $Revision: 1.5 $
-:Date: $Date: 2003/05/13 11:49:05 $
+:Revision: $Revision: 1.6 $
+:Date: $Date: 2003/05/17 12:13:21 $
 :Copyright: This module has been placed in the public domain.
 
 LaTeX2e document tree Writer.
@@ -908,10 +908,13 @@
     def visit_interpreted(self, node):
         # @@@ Incomplete, pending a proper implementation on the
         # Parser/Reader end.
-        self.visit_literal(node)
+        # For now, pass through as LaTeX.
+        print "ASTEXT: %s" % node.astext()
+        self.body.append(node.astext())
+        raise nodes.SkipNode
 
     def depart_interpreted(self, node):
-        self.depart_literal(node)
+        pass
 
     def visit_label(self, node):
         # footnote/citation label




reply via email to

[Prev in Thread] Current Thread [Next in Thread]