[xwiki-users] How to suppress the rendering of the TOC macro inside an included page?

2010-11-16 Thread H.-Dirk Schmitt
Hello!

is there a way to suppress the rendering of the TOC macro inside an
included page?
Can I control the level of headlines for the included page (e.g. make
'=' to '===') ?

Best Regards,

H.-Dirk Schmitt
-- 


*
H.-Dirk Schmitt http://www.computer42.org *
Dipl. Math.

eMail:/dirk.schm...@computer42.org/
mobile:/+49 177 616 8564/
phone: /+49 2642 99 41 10/
fax: /+49 2642 99 41 15/

Kripper Str. 35, D-53489 Sinzig

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to suppress the rendering of the TOC macro inside an included page?

2010-11-16 Thread Vincent Massol
Hi,

On Nov 16, 2010, at 9:51 AM, H.-Dirk Schmitt wrote:

 Hello!
 
 is there a way to suppress the rendering of the TOC macro inside an
 included page?

Not really. Anything is possible but it would be complex. You'd need to 
overwrite the include macro to have a special handling.

Maybe this would help though:
http://jira.xwiki.org/jira/browse/XWIKI-4358

Thanks
-Vincent

 Can I control the level of headlines for the included page (e.g. make
 '=' to '===') ?
 
 Best Regards,
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to suppress the rendering of the TOC macro inside an included page?

2010-11-16 Thread Joris Dirks
On Tue, Nov 16, 2010 at 9:51 AM, H.-Dirk Schmitt d...@computer42.org wrote:
 Hello!

 is there a way to suppress the rendering of the TOC macro inside an
 included page?
 Can I control the level of headlines for the included page (e.g. make
 '=' to '===') ?

Yes, in your example:
{{toc depth=3 /}}

Please see: http://code.xwiki.org/xwiki/bin/view/Macros/TocMacro20
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users