We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

I was wondering if there was any way to do the following: include a topic, but lower the heading levels?

For example, if UsingMainpage contained

---+Introduction
I would like it to be lowered to :
---++Introduction
or
---+++Introduction
...when I include it in my meta-topic.

I could imagine that it would be possible to do:

%INCLUDE{UsingAMainpage, level="-1"}%
%INCLUDE{UsingAMainpage, level="-2"}%
but perhaps there's already a way to achieve this?

Thanks!

Edward Moyse

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Missing functionality

-- TWikiGuest - 21 Feb 2005

Answer

AFAIK there is no way to do this yet, although it has been proposed several times. Guess this should be reposted as FeatureRequest.

-- FranzJosefSilli - 21 Feb 2005

Please follow-up in RelativeHeadingLevelsforINCLUDE

-- PeterThoeny - 21 Feb 2005

Thanks Peter! Just replying as I now have an account and can be reached.

-- EdwardMoyse - 03 Mar 2005

 
Topic revision: r4 - 03 Mar 2005 - 20:52:28 - EdwardMoyse
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback