>>> > .ie d misc*st-\\$1 .ds misc*st-\\$1 \\$2 \\*[misc*st-\\$1]
>
> This macro does simply the equivalent to
>
>foo = bar + foo
Uff, not a macro, it's a simple string definition.
Werner
>> > While looking at the MM code I noticed a line:
>> >
>> > .ie d misc*st-\\$1 .ds misc*st-\\$1 \\$2 \\*[misc*st-\\$1]
>> >
>> > It seems like .ds is taking three arguments.
>>
>> No, only two. The argument to the string name `misc*st-\\$1' is
>> `\\$2 \\*[misc*st-\\$1]'. `info groff' should g
Okay, thanks. The fact that there is a space between the two parts of the
second argument threw me. I interpreted that to be a third argument.
Thanks.
Blake McBride
On Sat, Aug 1, 2009 at 2:55 AM, Werner LEMBERG wrote:
> > While looking at the MM code I noticed a line:
> >
> > .ie d misc*st
On Fri, Jul 31, 2009, Blake McBride wrote:
> I'd like to label nested lists with the enclosing list's number using MM
> like the following:
>
> 1. First item
> 1.1. First sub-item of the first list
> 1.2. Second sub-item of the first list
> 2. Second item
> 2.1. First sub-item of
> While looking at the MM code I noticed a line:
>
> .ie d misc*st-\\$1 .ds misc*st-\\$1 \\$2 \\*[misc*st-\\$1]
>
> It seems like .ds is taking three arguments.
No, only two. The argument to the string name `misc*st-\\$1' is
`\\$2 \\*[misc*st-\\$1]'. `info groff' should give all the details.
Greetings,
I'd like to label nested lists with the enclosing list's number using MM
like the following:
1. First item
1.1. First sub-item of the first list
1.2. Second sub-item of the first list
2. Second item
2.1. First sub-item of the second list
2.2. Second sub-item of th