/[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.22 by humppake, Wed Feb 12 16:22:03 2003 UTC revision 1.23 by humppake, Wed Feb 12 16:26:37 2003 UTC
# Line 425  class LaTeXTranslator(nodes.NodeVisitor) Line 425  class LaTeXTranslator(nodes.NodeVisitor)
425    
426      def visit_caption(self, node):      def visit_caption(self, node):
427          self.body.append( '\\caption{\n' )          self.body.append( '\\caption{\n' )
428            atts = node.attributes.copy()
429          if atts.has_key('alt'): self.body.append('\\label{%s}\n' % atts['alt'])          if atts.has_key('alt'): self.body.append('\\label{%s}\n' % atts['alt'])
430    
431      def depart_caption(self, node):      def depart_caption(self, node):

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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