[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Question on TBL
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] Question on TBL |
Date: |
Mon, 02 Sep 2002 23:39:26 +0100 |
Hi Mike,
> > > .TS
> > > center box tab (#);
> > > cfCWw (.5i) | cfCWw (2.5i) | cfIw (.5i).
> > > po#ll#right
> > > \^#\^#margin
> > > .TE
> > >
> > > When formatting it, tbl gives the error message:
> > > unrecognized format `('
> > > giving up on this table
> >
> > tbl is assuming you want font "Iw" and then doesn't know what to do
> > with the "(".
> >
> > f,F Either of these specifiers may be followed by a font
> > name (either one or two characters long), font number (a
> > single digit), or long name in parentheses (the last form is a GNU
> > tbl extension). A one-letter font name must be separated by one
> > or more blanks from whatever follows.
>
> Okay, but why is it not assuming that I want font CWw on the first two
> columns?
Because a font name is only one or two characters unless it is a `long
name in parentheses'. A regexp is
/^f[\x20\t]*
(
\([^\x20\t]\)
|
.[^0-9\x20\t\n.]?
)$/
So it's fCW and fIw.
See line 850 in src/preproc/tbl/main.cc for more detail.
Cheers,
Ralph.