-
Arrr... aafigure is a bad example, because it can't do image maps (I picked that because is a popular one, but there are other examples that can use this, like graphviz and mscgen, which support image maps).
2009-07-18 05:27:28 UTC in Docutils: Documentation Utilities
-
The option is needed to easily plug an image map to a reST image. This is
useful even when no 'imagemap' directive is implemented yet, because the
image map can be written by hand using a 'raw' directive and for plug-ins
that generate their own images using an image map (aafigure, for
instance).
2009-07-18 05:23:13 UTC in Docutils: Documentation Utilities
-
The --output command line option was broken because when not set, the
options's "output" attribute was not set. This patch fixes that and
removes the "output" option from the object so the render function wont
get an unknown "output" option.
2009-06-07 02:16:46 UTC in Docutils: Documentation Utilities
-
Command-line options are converted to a dict so they can be passed
directly to the render function, but this conversion included the
as_dict() method. This patch fixes that.
2009-06-07 02:16:09 UTC in Docutils: Documentation Utilities
-
Right now this::
--------
"he/llo"
--------
renders both "/" as part of the quoted string and as a diagonal line that
unites the upper and lower horizontal lines. This patch fixes this
behaviour by making it renders as just 2 horizontal lines with a text
(with the character "/") in the middle.
2009-06-07 02:15:31 UTC in Docutils: Documentation Utilities
-
The svg output needs to use the visitor to get the SVG image size attributes so it can be properly embeded in the HTML. To do this, the render() function now returns a tuple (visitor, output). The output file it's not closed now when output is a string an a new file is opened, so the user should close the file himself.
2009-06-05 14:24:05 UTC in Docutils: Documentation Utilities
-
Fix :format: option name in README.txt.
2009-06-01 02:05:54 UTC in Docutils: Documentation Utilities
-
Add missing :proportional: option to README.txt.
2009-06-01 02:05:12 UTC in Docutils: Documentation Utilities
-
Unify rendering code into the new render() function
A new aafigure.render() function is added to simplify figure rendering and avoid code duplication. Now the command-line tool and the reST directive both use the render() function to do the actual rendering.
This greatly simplify the usage of the aafigure module from external modules (like a sphinx extension I'm working on =).
2009-06-01 02:04:26 UTC in Docutils: Documentation Utilities
-
Add support for upper horizontal line using '~~~'
This is similar to lower horizontal lines using '___'.
2009-06-01 02:03:04 UTC in Docutils: Documentation Utilities