The Texinfo manual says: ,---- (texinfo)w ---- | You can also use [EMAIL PROTECTED]' to avoid unwanted keyword expansion in source | control systems. For example, to literally write $Id$ in your | document, use [EMAIL PROTECTED]'. `--------------------
This is exactly the trick I'm using, but I was surprised to discover today that it works fine for HTML (for example [1]) but in the the plaintext document it is literally $Date$ so the keyword expands when committed in a CVS repository. It seems there's nothing that could be done here... Should this paragraph in the manual be updated with this information, or this explanation is supposed to be only about the .texi? [1] http://gnu.org/software/trans-coord/manual/gnun/html_node/triggers.html 2008-08-21 Yavor Doganov <[EMAIL PROTECTED]> (tiny change) * doc/texinfo.txi (w): Clarify that prevention of RCS keyword expansion does not work for plain text. *** texinfo.txi 19 май 2008 21:26:47 +0300 1.224 --- texinfo.txi 21 авг 2008 23:29:51 +0300 *************** *** 11684,11690 **** @cindex $Id expansion, preventing You can also use @code{@@w} to avoid unwanted keyword expansion in source control systems. For example, to literally write @[EMAIL PROTECTED] ! in your document, use @code{@@[EMAIL PROTECTED]@}Id$}. @node tie --- 11684,11691 ---- @cindex $Id expansion, preventing You can also use @code{@@w} to avoid unwanted keyword expansion in source control systems. For example, to literally write @[EMAIL PROTECTED] ! in your document, use @code{@@[EMAIL PROTECTED]@}Id$}. This technique works for all ! output formats except plain text. @node tie
