[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Nesting macro calls in mdoc
From: |
Ruslan Ermilov |
Subject: |
Re: [Groff] Nesting macro calls in mdoc |
Date: |
Thu, 8 Aug 2002 21:36:18 +0300 |
User-agent: |
Mutt/1.3.99i |
On Fri, Mar 22, 2002 at 04:19:30AM +0000, Colin Watson wrote:
> I've got a man page here, written in mdoc, which seems to nest macros
> correctly according to the documentation but generates an error. Can
> anyone shed any light on it? The line in question is:
>
> .Ic Sq \&? .
>
> ... which should print the three characters `?' in a literal font
> followed by a dot. However, it produces this error message:
>
> Usage: .Ic interactive_command ... (#102)
>
> Is it not possible to call quoting macros like Sq from other parsed
> macros? Is the punctuation they generate confusing matters? The problem
> doesn't seem to be unique to either .Ic or .Sq, so I'm wondering if I've
> missed something much more fundamental in groff_mdoc(7).
>
The correct command would be ``.Sq \&? .'', .Ic requires a text- or
punctuation-type argument.
Cheers,
--
Ruslan Ermilov Sysadmin and DBA,
address@hidden Sunbay Software AG,
address@hidden FreeBSD committer,
+380.652.512.251 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
- Re: [Groff] Nesting macro calls in mdoc,
Ruslan Ermilov <=