[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Creating a table macro
From: |
Automation Department |
Subject: |
[Groff] Creating a table macro |
Date: |
Tue, 17 May 2011 18:59:23 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Would like to create a very simple table macro.
eg.,
.de TABLE
.TS
box expand;
l s
l l.
\fI\\$1\fP
..
This does not work though other similarly crafted macros do. It 'starts'
the macro at the macro definition. Do I need to escape it?
Also, if I just do:
.de TABLE
box expand;
l s
l l.
\fI\\$1\fP
..
Then call with
.TS
.TABLE "Macro Junk"
column1 column2
.TE
I get:
tbl:final_rpt.roff:369: `.' not last character on line
tbl:final_rpt.roff:369: giving up on this table
Just hoping to save some typing.
Thanks!
- --
Chad Roseburg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJN0yf7AAoJEBi1nVMf5Zz5WmcH/RLXJwm3lahPn7ANZYCUmTHs
OpKOuLPZxqmQDunCgsfo59fzEpCCM5eZLeQvUAz4UhmnDd22gw5Uc8UBGJOQjQPz
/4yEAIJ3lbSCFV61guBgoI7NbszxRZhMiwu5CBmamWDkMxmug6p0k/sf9GosX+VS
W4yrUzN8dzq5/N74FEq+2I8pznAomi7cafWCiv6WPXDDVF/CCiMJhB9Lt4NyzMhf
MOjDj1br+ITupZ0FAA8P+NRSWVXHdNG/yEyoMEGd57yEimzo91EL0UaXuafhtdto
9GKd0DqtC/HrD2IUdihSjnUKdbT/z/i7+d70xFH8gL88tDkJh/U7+mLQRjk6Ss0=
=0ZUS
-----END PGP SIGNATURE-----
- [Groff] Creating a table macro,
Automation Department <=
- Re: [Groff] Creating a table macro, Ted Harding, 2011/05/18
- Re: [Groff] Creating a table macro, Automation Department, 2011/05/18
- Re: [Groff] Creating a table macro, Ted Harding, 2011/05/19
- Re: [Groff] Creating a table macro, Ted Harding, 2011/05/19
- Re: [Groff] Creating a table macro, Automation Department, 2011/05/19
- Re: [Groff] Creating a table macro, Tadziu Hoffmann, 2011/05/19
- Re: [Groff] Creating a table macro, Automation Department, 2011/05/19
- Re: [Groff] Creating a table macro, Tadziu Hoffmann, 2011/05/19
- Re: [Groff] Creating a table macro, Clarke Echols, 2011/05/19
- Re: [Groff] Creating a table macro, Automation Department, 2011/05/19