groff
[Top][All Lists]
Advanced

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

[Groff] Odd problem escaping `.'


From: Louis Guillaume
Subject: [Groff] Odd problem escaping `.'
Date: Tue, 02 May 2006 08:39:12 -0400
User-agent: Thunderbird 1.5.0.2 (Macintosh/20060308)

Hi,

I'm looking for a way to get my section numbers in the table of
contents. This is with -ms.

This is what I've been trying:

.NH 1
OVERVIEW
.XS
\n[H1]
\.\n[H2]
\.\n[H3]
OVERVIEW
.XE


The above produces...

1 OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . .  1

... in the table of contents. Why does it not produce:

1.0.0.0 OVERVIEW . . . . . .

???

If I try to escape the `.' at the beginning of the line further like...

\\.\n[H2]

... I get `1\.0\.0\.0' which is just strange.


Any help would be great, thanks!

Louis





reply via email to

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