Support for tables in Inkscape?

Post questions on how to use or achieve an effect in Inkscape.
seans_potato_biz
Posts: 138
Joined: Mon Apr 07, 2008 6:01 am

Support for tables in Inkscape?

Postby seans_potato_biz » Wed Nov 04, 2015 9:38 pm

Is there any way to have tables in Inkscape? I'm trying to make scientific figures and need to include some small tables. Making one out of individual lines is not appealing!

My search of the Internet turned up some old add-on but it doesn't work with recent versions of Inkscape.
Win 7/10, Inkscape 0.92.2

We don't inherit the Earth from our parents; we borrow it from our children.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Support for tables in Inkscape?

Postby Moini » Thu Nov 05, 2015 2:00 am

Yes, there's an extension (tested with 0.91 on Linux) that can help with that (tables are not supported natively in SVG, though, but the extension helps with creating them from data).
You need to look into the example images to understand how it is used (it's not obvious, I find).

https://github.com/adamlabadorf/inkdatatable
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Support for tables in Inkscape?

Postby brynn » Thu Nov 05, 2015 7:03 am

Aside from that extension, or drawing one with paths, it might work to use one of the grid extensions. As far as I know, they're entirely customizable, so you could probably make one into a table. Of course the cells would not automatically grow when text is added, like in text editors.

Just a thought ;)

seans_potato_biz
Posts: 138
Joined: Mon Apr 07, 2008 6:01 am

Re: Support for tables in Inkscape?

Postby seans_potato_biz » Fri Nov 06, 2015 2:10 am

Moini wrote:Yes, there's an extension (tested with 0.91 on Linux) that can help with that (tables are not supported natively in SVG, though, but the extension helps with creating them from data).
You need to look into the example images to understand how it is used (it's not obvious, I find).

https://github.com/adamlabadorf/inkdatatable


Thanks. Which of those links do I need to download?
Win 7/10, Inkscape 0.92.2

We don't inherit the Earth from our parents; we borrow it from our children.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Support for tables in Inkscape?

Postby Moini » Fri Nov 06, 2015 4:11 am

You can either just download the two files that you really need:
https://github.com/adamlabadorf/inkdata ... atatab.inx and
https://github.com/adamlabadorf/inkdata ... datatab.py

or you take the whole zip file, and then also have the example files and usage instructions locally on your computer (and can look up things without having to return to github):
https://github.com/adamlabadorf/inkdata ... master.zip

In any case, you need to copy the .inx and the .py file into the directory indicated in
Edit -> Preferences -> System: User extensions
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Support for tables in Inkscape?

Postby brynn » Sat Nov 07, 2015 8:43 am

I didn't look closely before at the link Moini provided, and assumed it was the same tables extension that I have a link for. But it turns out to be different. So this one might help as well: http://sourceforge.net/projects/inkscape-tables/. I've never used it, so can't offer any further comments.


Return to “Help with using Inkscape”