On Aug 28, 2008, at 11:24 AM, Vincent Massol wrote: > Hi Pascal, > > On Aug 28, 2008, at 10:21 AM, Pascal Voitot wrote: > >> I never use the table macro because I can't design tables in which >> headers >> are not columns but headers are rows! > > This will work.
Only thing to verify is how to have a table with no headers... Since if we don't have them I don't know how wikimodel will recognize it's a table. I'll ask. Thanks -Vincent > > >> Moreover, if you need tables in which one cell has "rowspan" or >> "colspan", >> the macro is not usable... > > This will work too. > > See http://code.google.com/p/wikimodel/wiki/WikiSyntaxCommon (this > is not the xwiki syntax but the idea is to have the same support for > tables). > > Thanks > -Vincent > >> With your syntax, will it be possible to do this? >> >> On Thu, Aug 28, 2008 at 9:37 AM, Thomas Mortagne >> <[EMAIL PROTECTED]>wrote: >> >>> On Wed, Aug 27, 2008 at 5:23 PM, Vincent Massol <[EMAIL PROTECTED]> >>> wrote: >>>> >>>> On Aug 18, 2008, at 10:38 AM, Vincent Massol wrote: >>>> >>>>> >>>>> On Jul 27, 2008, at 7:18 PM, Vincent Massol wrote: >>>>> >>>>>> >>>>>> On Jul 23, 2008, at 6:05 PM, Vincent Massol wrote: >>>>>> >>>>>>> Some open issues/questions: >>>>>>> >>>>>>> 1) I think we need a syntax for escaping a block of text. I'd >>>>>>> propose >>>>>>> using {{{whatever here}}} (same as creole and confluence). We >>>>>>> could do >>>>>>> it with a macro but I don't know how we could implement it >>>>>>> easily... >>>>>> >>>>>> Still not sure. Most said they liked the {{{ }}} notation. >>>>>> Right now >>>>>> I've implemented the {{nowiki}} macro. Do we still want/need >>>>>> this at >>>>>> the wiki syntax level? >>>>> >>>>> I think we do since it'll easier to type than {{nowiki}}. I'll >>>>> create an issue in wikimodel to add it since we were all in >>>>> agreement. >>>>> See http://code.google.com/p/wikimodel/issues/detail?id=38 >>>>> >>>>> I guess I'll just remove the nowiki macro when it's done. >>>>> >>>>> [snip] >>>>> >>>>>>> 4) Tables: do we keep the table macro or do we want a wiki >>>>>>> syntax >>>>>>> for >>>>>>> tables. >>>>>> >>>>>> Also need more input. >>>>> >>>>> My take is that we should go with a macro since this allows us to >>>>> have more options like filterable/sortable/pageable/etc than a >>>>> wiki >>>>> syntax. >>>> >>>> I was wrong. I've talked to Mikhail from wikimodel and what he's >>>> done >>>> for the wikimodel common syntax is to allow parameters for tables >>>> in >>>> the following manner: >>>> >>>> * Parameters at the table level: >>>> >>>> {{tableParam=value ...}} >>>> || column 1 || column 2 >>>> cell 1 | cell 2 >>>> >>>> * Parameters at the column level: >>>> >>>> || {{columnParam=value ...}} column 1 || column 2 >>>> cell 1 | cell 2 >>>> >>>> * Parameters at the line level: >>>> >>>> || column 1 || column 2 >>>> {{lineParam=value ...}} | Cell 1 | Cell 2 >>>> >>>> * Parameters at the cell level: >>>> >>>> || column 1 || column 2 >>>> {{cellParam=value...}} cell 1 | cell 2 >>>> >>>> He says it's easy to do the same for the XWiki Parser in wikimodel. >>>> >>>> Of course we'll need to change the parameter delimiter since >>>> {{ }} are >>>> already used for macros for the xwiki syntax. But we could use >>>> something like %% I guess. >>>> >>>> So I'm now more in favor of having a wiki syntax for tables >>>> instead of >>>> a macro. >>>> >>>> WDYT? >>> >>> This syntax looks good to me, I like the very simple syntax as a >>> default where we can add details when needed. >>> >>>> >>>> Thanks >>>> -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

