[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RCS keyword protection with @w{$} does not work for plaintext
From: |
Karl Berry |
Subject: |
Re: RCS keyword protection with @w{$} does not work for plaintext |
Date: |
Thu, 21 Aug 2008 15:55:23 -0500 |
in the the plaintext document it is literally $Date$
Never thought about that.
I'm not sure what can be done either. It doesn't seem like we should
always make @w{foo} output something like "foo_" or "foo ". It would
work ok for this case, but @w has other uses.
All I can think of is conditionally defining a macro.
@ifplaintext
@macro dollardate
$_Date$
@end macro
@end ifplaintext
@ifnotplaintext
@macro dollardate
@w{$}Date$
@end macro
@end ifnotplaintext
There must be a better way.