On Wed, May 25, 2011 at 11:59 AM, Kevin Horn <kevin.h...@gmail.com> wrote:
>
>
> On Wed, May 25, 2011 at 12:44 PM, Jan Ulrich Hasecke
> <juhase...@googlemail.com> wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi,
>>
>> I want to include huge tables in my sphinx project. The data is in a
>> spreadsheet. I can save the spreadsheets as html via LibreOffice or as
>> CSV, but how can I convert these html-tables to rst-tables?
>>
>> I don't need the tables in the text, but as an appendix so maybe there
>> is a better solution?
>>
>> - --
>> Jan Ulrich Hasecke
>> DZUG e.V. (Deutschsprachige Zope User Group)
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (Darwin)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAk3dP+4ACgkQPUzUEFbILMSugQCgnF2s2Y6FGSPIWIjg1tGLf1dg
>> S6sAn05MxQyVotJU+4DdmmU4sX+Mc+gh
>> =8gMq
>> -----END PGP SIGNATURE-----
>>
>
> I use some code to parse the data and create rst tables.
>
> See:
> http://media.commandline.org.uk/code/table.txt
> and
> https://bitbucket.org/khorn/lore2sphinx/src/7b0939832687/lore2sphinx/table.py
>
> Kevin Horn
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-dev" group.
> To post to this group, send email to sphinx-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> sphinx-dev+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sphinx-dev?hl=en.
>

I've never used it but docutils (upon which Sphinx is based) already
has support for "CSV Tables". See
http://docutils.sourceforge.net/docs/ref/rst/directives.html#id1 for
details.

    --TP

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to