Hello Barrie, The solution here is simple: just close the nested list with the empty item:
p0 - p1 p2 - a1 - b1 - p3 - a2 - b2 - p4 This "empty item closes current list" mark was created just to be used in this specific situation, where nested list couldn't be closed without closing everything (with the two blanks). And of course, who doesn't like to use the two blanks can always close lists with the empty item. It's a personal choice :) Note: numbered lists and definition lists can also be closed by empty items. Bye On Thu, Feb 5, 2009 at 11:18, Barrie Stott <[email protected]> wrote: > I have a simple layout problem in a .t2t file but it beats me. I'd be > grateful if someone with more txt2tags experience than I have could > have a look at it. > > Below is the bare essentials of a file. (between the ---- lines). > I.e., all the `p' are paragraphs or sequences of such and list items > a1..b2 are similar. > > ------------ > p0 > - p1 > > p2 > - a1 > - b1 > > p3 > - a2 > - b2 > > p4 > ------------ > > Thus what I have is a block of text followed by a list with a single > item that consists of 4 blocks, all at the same level: > > paragraphs, > paragraphs followed by a list, > paragraphs followed by a list, > paragraphs. > > I want the html layout to exhibit the same structure as the input but > what I get is the stuff between the ---- lines below. > > ------------ > p0 > * p1 > > p2 > > * a1 > * b1 > > p3 > * a1 > * b1 > > p4 > ------------ > > p3 and p4 should line up under p2. If I put a blank line before p3 (or > p4), it lines up under p0, which is what I would expect since it would > be finishing the outer list. > > How can get p3 and p4 to line up under p2 which is what I want? > > Barrie. > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > txt2tags-list mailing list > https://lists.sourceforge.net/lists/listinfo/txt2tags-list > -- Aurélio Marinho Jargas www.aurelio.net ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ txt2tags-list mailing list https://lists.sourceforge.net/lists/listinfo/txt2tags-list
