[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a List of Sections at Start of Chapters

From: Mark Summerfield
Subject: Re: Getting a List of Sections at Start of Chapters
Date: Mon, 30 Oct 2006 07:26:54 +0000
User-agent: KMail/1.9.4

On Sunday 29 October 2006 22:17, Jeff Kingston wrote:
> > one{} two{} three{} four{} five{} six{}
> This line is your main problem.  Named parameters need to be
> declared using the "named" keyword, so this should be
>     named one {}
>     named two {}

Oops. That was v. silly of me. Anyway, thanks to fixing this plus your
other comments I now have a definition that is quite simple---and that

import @BookSetup 
def @ChapTop
    named one{}
    named two{}
    named three{}
    named four{}
    named five{}
    named six{}
    named address@hidden a71}
    right tag
    @Place x{1.5i}y{top - 0.5i - ysize}
        {{Bold address@hidden @NumberOf{tag}}
        y{top - 0.5i - ysize}
    4i @Wide {
        one @Case {
            {}   @Yield @Null
            else @Yield {bullet|0.8f @TitleOf{one}}
        two @Case {
            {}   @Yield @Null
            else @Yield {bullet|0.8f @TitleOf{two}}
        three @Case {
            {}   @Yield @Null
            else @Yield {bullet|0.8f @TitleOf{three}}
        four @Case {
            {}   @Yield @Null
            else @Yield {bullet|0.8f @TitleOf{four}}
        five @Case {
            {}   @Yield @Null
            else @Yield {bullet|0.8f @TitleOf{five}}
        six @Case {
            {}   @Yield @Null
            else @Yield {bullet|0.8f @TitleOf{six}}

Mark Summerfield, Qtrac Ltd., www.qtrac.eu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]