gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/metacode latex.py latex2e.py


From: Asko Soukka
Subject: [Gzz-commits] gzz/metacode latex.py latex2e.py
Date: Thu, 13 Feb 2003 12:24:40 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Asko Soukka <address@hidden>    03/02/13 12:24:40

Modified files:
        metacode       : latex.py latex2e.py 

Log message:
        option -> alternative

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/metacode/latex.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/metacode/latex2e.py.diff?tr1=1.29&tr2=1.30&r1=text&r2=text

Patches:
Index: gzz/metacode/latex.py
diff -u gzz/metacode/latex.py:1.2 gzz/metacode/latex.py:1.3
--- gzz/metacode/latex.py:1.2   Thu Feb 13 12:18:29 2003
+++ gzz/metacode/latex.py       Thu Feb 13 12:24:40 2003
@@ -41,4 +41,4 @@
 images.image.options['height'] = directives.unchanged;
 images.image.options['width'] = directives.unchanged;
 images.image.options['label'] = directives.unchanged;
-images.image.options['option'] = directives.unchanged;
+images.image.options['alternative'] = directives.unchanged;
Index: gzz/metacode/latex2e.py
diff -u gzz/metacode/latex2e.py:1.29 gzz/metacode/latex2e.py:1.30
--- gzz/metacode/latex2e.py:1.29        Thu Feb 13 12:18:29 2003
+++ gzz/metacode/latex2e.py     Thu Feb 13 12:24:40 2003
@@ -3,8 +3,8 @@
 """
 :Author: Engelbert Gruber (hacked by the Gzz project)
 :Contact: address@hidden
-:Revision: $Revision: 1.29 $
-:Date: $Date: 2003/02/13 17:18:29 $
+:Revision: $Revision: 1.30 $
+:Date: $Date: 2003/02/13 17:24:40 $
 :Copyright: This module has been placed in the public domain.
 
 LaTeX2e document tree Writer.
@@ -764,15 +764,15 @@
     def visit_figure(self, node):
         self.body.append('\\begin{figure')
         for child in node.children:
-            if child.attributes.has_key('option'):
-                self.body.append(child.attributes['option'])
+            if child.attributes.has_key('alternative'):
+                self.body.append(child.attributes['alternative'])
         self.body.append('}\n')
 
     def depart_figure(self, node):
         self.body.append('\n\\end{figure')
         for child in node.children:
-            if child.attributes.has_key('option'):
-                self.body.append(child.attributes['option'])
+            if child.attributes.has_key('alternative'):
+                self.body.append(child.attributes['alternative'])
         self.body.append('}\n')
 
     def visit_footer(self, node):




reply via email to

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