groff
[Top][All Lists]
Advanced

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

Re: [Groff] Is this a bug?


From: Mike Bianchi
Subject: Re: [Groff] Is this a bug?
Date: Wed, 20 Aug 2008 09:55:06 -0400
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Wed, Aug 20, 2008 at 07:29:16AM -0500, Clarke Echols wrote:
> I ran into an interesting "behavior" this morning...
>
>
> Here is the offending text:
>
> .H3 "\f2.\^.\^.including 21 examples"
>
> Macro H3 is defined as:
>
> .  de H3
> .  ce 1
> .  ft HB
> .  ce 1
> \\$1
> .  ft 1
> ..
>
> I get an error because groff is interpreting the first dot
> in .\^.\^. as the first character in the argument to H3, apparently
> ignoring \f2.  If I put a \& sequence in front of the first dot,
> it's happy and everything works.
>
> Is this what I should expect?
>
> Clarke

Yes, it is what you should expect.

The  \f2  and  \^  are processed before the argument is passed to  H3 .

You could place the  \&  in front of the  \\$1  inside the macro so you
don't have to remember about the  \&  in the argument.

-- 
 Mike Bianchi
 Foveal Systems

 973 822-2085   call to arrange Fax

 address@hidden
 http://www.AutoAuditorium.com
 http://www.FovealMounts.com




reply via email to

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