diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-RCS.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-RCS.html | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-RCS.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-RCS.html deleted file mode 100644 index d05b40eea6c..00000000000 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-RCS.html +++ /dev/null @@ -1,73 +0,0 @@ -<head> -<title>UK TeX FAQ -- question label RCS</title> -</head><body> -<h3>Version control using RCS, CVS or the like</h3> -<p/>If you use RCS, CVS, <i>Subversion</i>, -<i>Bazaar</i> or <i>Git</i> to maintain -your (La)TeX documents under version control, you may need some -mechanism for including the version details in your document, in such -a way that they can be typeset (that is, rather than just hiding them -inside a comment). -<p/>The most complete solution for RCS and CVS is to use the -(LaTeX) package <i>rcs</i>, which allows you to parse and -display the contents of RCS keyword fields in an extremely -flexible way. The package <i>rcsinfo</i> is simpler, but does most -of what you want, and some people prefer it; it is explicitly -compatible with <i>LaTeX2HTML</i>. -<p/>If, however, you need a solution which works without using external -packages, or which will work in Plain TeX, then you can use the -following minimal solution: -<blockquote> -<pre> -\def\RCS$#1: #2 ${\expandafter\def\csname RCS#1\endcsname{#2}} -\RCS$Revision: 1.24 $ % or any RCS keyword -\RCS$Date: 2011/02/10 23:01:29 $ -... -\date{Revision \RCSRevision, \RCSDate} -</pre> - -</blockquote><p> -<p/>If you’ve entered the brave new world of <i>Subversion</i>, the -package <i>svn</i> may be for you. It has explicit cleverness -about dealing with dates: -<blockquote> -<code>\</code><code>documentclass</code><code>{<<i>foo</i>>}</code><br> -<code>...</code><br> -<code>\</code><code>usepackage{svn}</code><br> -<code>\</code><code>SVNdate</code><code> $Date$</code><br> -<code>\</code><code>author{...}</code><br> -<code>\</code><code>title{...}</code><br> -<code>...</code><br> -<code>\</code><code>begin{document}</code><br> -<code>\</code><code>maketitle</code><br> -<code>...</code><br> -<code>\</code><code>end{document}</code> -</blockquote><p> -will (once <i>subversion</i> has committed a copy of the document) -cause <code>\</code><code>maketitle</code> use the date that has been written into the -<code>$Date$</code> keyword. -<p/>Another alternative for <i>Subversion</i> users is the -<i>svninfo</i> package, which has much the same mechanisms as does -<i>svn</i> but with a rather different focus. <i>Svninfo</i> -does the date trick that <i>svn</i> performs (controlled by a -package option), and can set up page foot-lines using -<a href="FAQ-fancyhdr.html">package <i>fancyhdr</i></a>. There isn’t much to -choose between the two packages: you should read the packages’ -documentation to see which suits you best. -<p/>An alternative script-based approach to version control has been taken -by the <i>vc</i> bundle, that in certain situations might work more -reliably than any of the packages mentioned above. The <i>vc</i> -bundle supports <i>Bazaar</i>, <i>Git</i> and -<i>Subversion</i> usage and works with both LaTeX and -Plain TeX. Note that <i>vc</i> is the only option that -currently claims to support <i>Bazaar</i>- and -<i>Git</i>-controlled repositories. -<dl> -<dt><tt><i>rcs.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/rcs.zip">macros/latex/contrib/rcs</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/rcs/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/rcs.html">catalogue entry</a> -<dt><tt><i>rcsinfo.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/rcsinfo.zip">macros/latex/contrib/rcsinfo</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/rcsinfo/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/rcsinfo.html">catalogue entry</a> -<dt><tt><i>svn.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/svn.zip">macros/latex/contrib/svn</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/svn/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/svn.html">catalogue entry</a> -<dt><tt><i>svninfo.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/svninfo.zip">macros/latex/contrib/svninfo</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/svninfo/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/svninfo.html">catalogue entry</a> -<dt><tt><i>vc</i></tt><dd><a href="http://mirror.ctan.org/support/vc.zip">support/vc</a> (or <a href="http://mirror.ctan.org/support/vc/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/vc.html">catalogue entry</a> -</dl> -<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=RCS">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=RCS</a> -</body> |