On Sep 23, 2009, at 11:18 AM, hel-o wrote:

>
> Is there a possibility to associate style information with the new  
> toc macro?
>
> Tried
>
> (% class="toc" %)
> {{toc start="5"/}}
>
> and get
>
> Not an inline macro

Right now it's not possible to pass params to macros. It's planned but  
not done:
http://jira.xwiki.org/jira/browse/XWIKI-3237

You can watch and vote for this issue.

What you can do though is this:
{{box cssClass="floatinginfobox" title="**Contents**"}}{{toc start="2"  
depth="3"/}}{{/box}}

or

(% .... %)(((
{{toc/}}
)))

Thanks
-Vincent
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to