Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#102 Fix citation rendering in rst2odt with --create-links option

None
open
nobody
None
5
2013-07-03
2013-04-02
Masatake YAMATO
No

I'm using python-docutils-0.10-0.6.20120824svn7502.fc18, which is part
of Fedora 18, a GNU/Linux distribution.

This post includes a bug report and a patch fixting the bug.
Please, review the patch and merge it to the official source tree
if appreciated.

Bug description

rst2odt doesn't emit expected output for citation if --create-links option is given.

How to reproduce:

  1. Consider a.rst:

    .. [a] abc

  2. Run rst2odt with following command line:

$ rst2odt --create-links a.rst a.odt

  1. Look at the output

$ ooffice a.odt

You will see::

 []a
  abc

What we expect is::

 [a]
 abc
1 Attachments

Discussion

  • Dave Kuhlman
    Dave Kuhlman
    2013-04-08

    Fix commited. Revision 7645.

    Added the attached fix.

    Thank you, Masatake.