bug-texinfo
[Top][All Lists]
Advanced

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

RCS keyword protection with @w{$} does not work for plaintext


From: Yavor Doganov
Subject: RCS keyword protection with @w{$} does not work for plaintext
Date: Thu, 21 Aug 2008 23:42:11 +0300
User-agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

The Texinfo manual says:

,---- (texinfo)w ----
|   You can also use address@hidden' to avoid unwanted keyword expansion in 
source
| control systems.  For example, to literally write $Id$ in your
| document, use address@hidden'.
`--------------------

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  <address@hidden>  (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 @address@hidden
! in your document, use @code{@@address@hidden@}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 @address@hidden
! in your document, use @code{@@address@hidden@}Id$}.  This technique works for 
all
! output formats except plain text.
  
  
  @node tie






reply via email to

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