[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Trying to use tabs and tab stops in groff
From: |
T. Kurt Bond |
Subject: |
Re: [Groff] Trying to use tabs and tab stops in groff |
Date: |
Wed, 5 Apr 2017 14:07:47 -0400 |
Ok, now it makes sense. Thanks to both of you!
On Wed, Apr 5, 2017 at 2:03 PM, Ralph Corderoy <address@hidden>
wrote:
> Hi Kurt,
>
> > I'm trying to use tabs and tab stops in groff to so some simple
> > tables, and can't figure out why it is not working.
>
> Mike pointed out you need real ASCII tab characters to have your example
> work. `\t' is used in `copy mode', e.g. when defining a macro, to
> create a tab that's interpreted later, e.g. when the macro is invoked.
>
> $ printf '%s\n' .nf '.de m' 'foo\tbar' 'x\ty\tz\tz\ty' .. .m |
> > nroff | grep .
> foo bar
> x y z z y
> $
>
> --
> Cheers, Ralph.
> https://plus.google.com/+RalphCorderoy
>
--
T. Kurt Bond, address@hidden and http://unwind-protect.org/~tkb/
<http://unwind-protect.org/%7Etkb/>