Zim

Comment 6 for bug 208589

Revision history for this message
Michael Mulqueen (michael.mulqueen) wrote :

I would also be very for a table widget.

The Wikipedia format would be one approach, but I've always felt that it's rather... ugly. Obviously, if you could actually edit it like you'd edit a table in say OpenOffice.org Writer, that would be less of an issue.

I'm wondering whether having this as the format might work a little better:
{**Name**|**Address**|**Tel No**}
{Anne|12 South Street, Swanage|01929 223789}
{[Jack]|40 Leafy Avenue, Bournemouth|01202 168735}
{Rebecca|5 Anvil Crescent, Gussage All Saints|01202 896741}

You don't need any specialised formatting for headers, you just use bold type. Or if you wanted to make more use of semantics, then you could use the header syntax I guess (=Name=), just inside a cell - this would aid translation to HTML. Rather than having those awkward new row demarkations that you have with MediaWiki, you'd just use {asdasdasd} as a row. Rather than using MediaWiki's format to format the entire cell (using CSS), we could just render cells as if they were any other part of a zim document. So if you wanted a cell italic you'd just surround the contents with "//"s (of course, you could do this with the GUI, you wouldn't have to type it).

I don't mean to play down anyone else's idea. I think that what Zim needs isn't always what MediaWiki or LaTeX needs. We don't want to unnecessarily add bloat, by reusing the work of other projects - not that that would always been the case. Just my two pence.

Jaap, are there any plans to implement this in PyZim in the future?