groff
[Top][All Lists]
Advanced

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

Re: [Groff] macros in tbl


From: SGT. Garcia
Subject: Re: [Groff] macros in tbl
Date: Sat, 7 Mar 2015 17:10:20 -0500
User-agent: Mutt/1.5.23.1-rc1 (2014-03-12)

On Mar 07  17:26 +0000, Ralph Corderoy wrote:
> Here's three lines of output from fgrep after I indicate end of file to
> tbl with Ctrl-D, shown as ^D.
> 
>     $ tbl | fgrep .UR
>     .TS
>     tab(/);
>     l l.
>     foo/bar
>     .UR foo:///bar
>     .UE
>     \&.UR/as text
>     .TE
>     ^D
>     .nr 3w0 \n[3w0]>?\w\[tbl]\&.UR\[tbl]
>     .UR foo:///bar
>     \&\h'|\n[3cl0]u'\&.UR\h'|\n[3cl1]u'as text
>     $

CORRECTION:
i don't know what to make of this. you're using '/' as separator, that
doesn't make it easy. and you have foo:///bar (3 forward slashes), is that
a typo or was it intended?

> 
> That shows the `\&.UR/as text' is treated as two columns of plain text
> whereas `.UR foo:///bar' has been passed through unaltered for troff to
> see.
> 
> I'm still not clear what you are trying to achieve.  Do you wish `.UR'
> to appear in the table as text?  If so, use \&.  Or do you want a URL to
> appear in the table, using .UR?
> 
> Cheers, Ralph.

latter, i want URL to appear in the table, using .UR.



reply via email to

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