Tags:
create new tag
, view all tags

Question

I've seen a discussion on Codev about preserving list structure, when things are included inline in a list - has anything like this been developed? It seems like most everything that you include in a running list kills the state of the list. For example:

   1. item 1
   1. item 2
      a. subitem 1
<pre>
Test
</pre>
      a. subitem 2

gives:

  1. item 1
  2. item 2
    1. subitem 1
Test
    1. subitem 2

In addition to restarting the counters, double "bullets" are printed on the last line. This is very annoying - there has to be a way around this, doesn't there?

I've seen mentioned a %BR%&nbsp; hack, but haven't seen details about that either

-B

There seems to be another rendering problem with alphanumeric ordered lists (see Subsection 2 in this recursive rendering example)

-- FranzJosefSilli - 25 Nov 2004

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version: 5.6.1
Client OS: Red Hat Linux release 7.3
Web Browser: firefox 1.0
Categories:  

-- BobEstes - 24 Nov 2004

Answer

perhaps RecursiveRenderPlugin

-- FranzJosefSilli - 25 Nov 2004

A list is finshed by an empty line or a line that starts with a not white space character. That is, you need to indent follow-up lines of bullets. That works most of the time, however the pre tags and verbatim tags are special, indenting those currently do not work for lists.

Workaround: Use %BR% and =monospaced text=. Example, write:

   1. item 1
   1. item 2
      a. subitem 1 %BR%
         =Test=
      a. subitem 2

to get:

  1. item 1
  2. item 2
    1. subitem 1
      Test
    2. subitem 2

-- PeterThoeny - 04 Dec 2004

 
Topic revision: r4 - 2004-12-04 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.