Tags:
create new tag
view all tags

Question

How do I maintain a numbered list format if one of the list items uses %INCLUDE%?

I have certain paragraphs that I need to repeat over and over on multiple pages. I have put each paragraph on its own Wiki page, and I %INCLUDE{Topic}% to bring the paragraph into my main pages.

The problem is that on some pages, if I'm in an indented (Numbered) list when I invoke the %INCLUDE% the indentation is maintained for that list item, but as soon as I follow the included item with my next " 1.", the list starts over all the way to the left and at 1, like this:

  1. My top level item
    1. my first subitem text
    2. my second subitem text
      1. my first indent in subitem 2 b. my second indent in subitem 2, with %INCLUDE{Topic}%.
    3. my third item text

displays like this:

a. My top level item

  1. my first submitem text
  2. my second subitem text
    1. my first indent in subitem 2 b. my second indent in subitem 2 with the text that is in the Topic include
1. my third subitem text

where what I want is this:

a. My top level item

  1. my first submitem text
  2. my second subitem text
    1. my first indent in subitem 2 b. my second indent in subitem 2 with the text that is in the Topic include
  3. my third subitem text

(with the sequence number "3" and the first level indentation).

Environment

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

-- CathyHandzel - 16 Sep 2005

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I found the answer. I need a %STOPINCLUDE% on my topic pages and then the calling formats are retained.

-- CathyHandzel - 17 Sep 2005

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-09-19 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.