Re: Nested numbered lists

Mark Summerfield <[email protected]>
Newsgroups gmane.comp.type-setting.lout
Organization Qtrac Ltd.
Message-ID <20110101074636.51e7a6ff@dino>
Hi Paul,

On Thu, 30 Dec 2010 22:04:46 +0000
Paul Zarucki <[email protected]> wrote:
> Hi,
> 
> OK, I have found the definitions for the standard list forms in the
> file lout/include/bsf
> 
> This should help me figure out what I need to do in order to create
> my desired list format.

In general lout objects can be nested.

So:

    @List
    @LI{One}
    @LI{Two}
    @LI{
	@List
	@LI{Two point one}
	@LI{Two point two}
	@EndList
    }
    @LI{Three}
    @EndList

> 
> Regards,
> 
> Paul.
> 
> -------- Original Message --------
> Subject: 	Nested numbered lists
> Date: 	Thu, 30 Dec 2010 21:10:59 +0000
> From: 	Paul Zarucki <[email protected]>
> To: 	[email protected]
> 
> 
> 
> Hi,
> 
> How do I create a numbered list with sub-lists like
> 
> 1. Item one
>     1.1  sub-item one
>     1.2  sub-item two
>          1.2.1  sub-sub-item one
>          1.2.2  sub-sub-item two
>     1.3  sub-item three
> 2. Item two
>     2.1  sub-item one
>     2.2  sub-item two
> 
> I looked at the setup and source code files for the "doc" and
> "report" packages, in the lout/include directory, but could not see
> how the existing list formats are constructed.
> 
> Lout is very impressive! Thanks for your work on this software.
> 
> Regards,
> 
> Paul.



-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Advanced Qt Programming" - ISBN 0321635906
            http://www.qtrac.eu/aqpbook.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.