On Wed, May 22, 2013 at 5:11 PM, Valdis Vītoliņš <[email protected]> wrote:
> Thomas,
> problem is that I don't want to put included content in a cell. Instead
> I'd like to continue table in the new row. E.g. as following table:
> |aa|aa
> |bb|bb
> |cc|cc
> |dd|dd
>
> with
> |cc|cc
> |dd|dd part included from the other document.
>
> I tried also different groupings, e.g.:
> (((|aa|aa
> |bb|bb
> {{include reference="Test.TableIncl"/}})))
> what includes table in the cell,
> or
> (((|aa|aa
> |bb|bb)))((({{include reference="Test.TableIncl"/}})))
> which starts new table, etc.
>
> It seems to me, including referenced document provides implicit grouping
> ~ like ((({{include reference="Test.TableIncl"/}})))

Ok I did not understood your use case, you can't continue a table
using include macro. The table is parsed before the include macro is
executed and you get the include macro either in a cell or in a new
standalone block.

In other word the table structure has to be complete before it's
parsed. You will have to use scripting to do what you want but there
is no way to do it with include macro.

>
> Valdis
>
>> On Wed, May 22, 2013 at 3:43 PM, Valdis Vītoliņš <[email protected]> 
>> wrote:
>> > I'd like to continue table from main document with content from
>> > referenced document, but can't get it right.
>> >
>> > I have TableIncl document:
>> > |cc|cc
>> > |dd|dd
>> >
>> > And then I use following:
>> > |aa|aa
>> > |bb|bb
>> >  {{include reference="Test.TableIncl"/}}
>> > I get table from TableIncl shown inside bb cell.
>> > If I put empty line, then new table is started.
>> >
>> > Any suggestions?
>> > Valdis
>> >
>> > _______________________________________________
>> > users mailing list
>> > [email protected]
>> > http://lists.xwiki.org/mailman/listinfo/users
>>
>> You can use group syntax to put anything you want in a table cell
>> (same for lists).
>>
>> See http://www.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax#HGroups
>>
>> --
>> Thomas Mortagne
>
>



--
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to