groff
[Top][All Lists]
Advanced

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

Re: Using .[ and .] in a macro


From: Thomas Dupond
Subject: Re: Using .[ and .] in a macro
Date: Tue, 5 Dec 2023 10:25:49 +0100
User-agent: Mozilla Thunderbird

Le 2023-12-03 à 07:47, hbezemer--- via a écrit :
Dear all,I would like to create a macro along the lines of:.de CITE.[\\$2\\$1.]\\$3..Which would 
result in:.CITE <mykeyword> <optional left of label stuff> <optional right of 
label stuff>The problem that arises is that refer sees the definition of the macro asa 
citation (of course).Is there an elegant way to get this to work?Kind regards,Hans


Hi,

It sounds like you should not be able to do what you want since refer process the file before groff and thus your .CITE macro will not be defined when the file goes through refer.

Regards,
--
Thomas





reply via email to

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