On Fri, May 23, 2008 at 11:59 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> For my fellow emacs users:
>
> If you aren't aware of it, there is a reST mode for emacs:
>
> http://docutils.sourceforge.net/tools/editors/emacs/rst.el
>
> In the course of experimenting today, I wrote a few elisp macros (attached)
> to aid in adding inline cross-references to the code that might be generally
> useful.  By putting the cursor over a particular token, you can easily mark
> it as a class, function, method, module etc.  For example, pressing "C-c c"
> over the word "Axes" will replace it with ":class:`Axes`".

Will rest recognize the module this comes from?- I've been using the
full path :class:`matplotlib.lines.Line2D` and when I just want the
Line2D w/o the full path :class:`~matplotlib.lines.Line2D`.  I haven't
tested this yet since we don't have the api docs linked in, but this
is how I've been writing...

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to