|
From: | Clarke Echols |
Subject: | Re: [Groff] Copy register value to another register? |
Date: | Sun, 30 May 2010 21:03:26 -0600 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
DUH! I forgot all about the double backslash. Thanks for pointing out the [not so] obvious when the brain isn't doing its job. :-) Clarke Larry Jones wrote:
Clarke Echols writes:But I prefer to use a macro like this: .de macro .nr returnlocation \n[nl]u \"Preserve location to return to.That substitues the value when the macro is defined, which isn't what you want; you need to double the backslash to defer the substitution until the macro is invoked: .de macro .nr returnlocation \\n[nl]u \"Preserve location to return to.
[Prev in Thread] | Current Thread | [Next in Thread] |