I would like to know if anyone has a nice way of combining latexdiff-rcs with printing actual RCS tags in their document.
For example, I am using CVS to version control a latex document. My document page headers have the RCS tags Revision, Date and Author in the preamble of my tex document,
\usepackage{rcs}
\RCS$Revision: 1.36 $ % or any RCS keyword
\RCS$Date: 2011/11/01 09:53:19 $
\RCS$Author: shaun $
\date{Revision \RCSRevision, \RCSDate, \RCSAuthor}
\fancyhf{}
\chead{Revision \RCSRevision, \RCSDate, \RCSAuthor}
\rhead{\thepage}
\pagestyle{fancy}
If I then use latexdiff-cvs with an earlier revision, latexdiff parses this into,
\RCS\DIFdelbegin \DIFdel{$Revision: 1.26 $ }\DIFdelend \DIFaddbegin
\DIFadd{$Revision: 1.27 $ }\DIFaddend % or any RCS keyword
\RCS\DIFdelbegin \DIFdel{$Date: 2011/03/08 08:22:24 $
}\DIFdelend \DIFaddbegin \DIFadd{$Date: 2011/04/29 06:50:24 $
}\DIFaddend \RCS$Author: shaun $
Which doesn't really compile the page header at all. However, if latexdiff gave me this,
\RCS$Revision: \DIFdelbegin \DIFdel{1.26}\DIFdelend \DIFaddbegin \DIFadd{1.27} \DIFaddend $ % or any RCS keyword
\RCS$date: \DIFdelbegin \DIFdel{2011/03/08 08:22:24}\DIFdelend \DIFaddbegin \DIFadd{2011/04/29 06:50:24}\DIFaddend $
\RCS$Author: shaun $
Then it compiles very nicely, and looks good.
rcs-multipackage. It handles RCS tags. AFAIK,latexdiffhas an option to ignore certain macros, which would avoid this issue. – Martin Scharrer♦ Nov 4 '11 at 11:17