835 |
href = atts['uri'] |
href = atts['uri'] |
836 |
self.body.append('\n\\centering\n') |
self.body.append('\n\\centering\n') |
837 |
if atts.has_key('width'): |
if atts.has_key('width'): |
838 |
self.body.append('\n\\includegraphics{%s}{%s}\n' % (atts['width'], href)) |
self.body.append('\n\\includegraphics[width on %s]{%s}\n' % (atts['width'], href)) |
839 |
else: |
else: |
840 |
self.body.append('\n\\includegraphics{%s}\n' % href) |
self.body.append('\n\\includegraphics{%s}\n' % href) |
841 |
##self.body.append('\\end{center}\n') |
##self.body.append('\\end{center}\n') |