1LATEXDIFF-VC(1) LATEXDIFF-VC(1)
2
3
4
6 latexdiff-vc - wrapper script that calls latexdiff for different ver‐
7 sions of a file under version management (CVS, RCS or SVN)
8
10 latexdiff-vc [ latexdiff-options ] [ latexdiff-vc-options ] -r [rev1]
11 [-r rev2] file1.tex [ file2.tex ...]
12
13 or
14
15 latexdiff-vc [ latexdiff-options ] [ latexdiff-vc-options ][ --post‐
16 script ⎪ --pdf ] old.tex new.tex
17
19 latexdiff-vc is a wrapper script that applies latexdiff to a file, or
20 multiple files under version control (CVS or RCS), and optionally runs
21 the sequence of "latex" and "dvips" or "pdflatex" commands necessary to
22 produce pdf or postscript output of the difference tex file(s). It can
23 also be applied to a pair of files to automatise the generation of dif‐
24 ference file in postscript or pdf format.
25
27 --rcs, --svn, or --cvs
28 Set the version system. If no version system is specified, latexd‐
29 iff-vc will venture a guess.
30
31 latexdiff-cvs and latexdiff-rcs are variants of latexdiff-vc which
32 default to the respective versioning system. However, this default
33 can still be overridden using the options above.
34
35 -r, -r rev or --revision, --revision=rev
36 Choose revision (under RCS, CVS or SVN). One or two -r options can
37 be specified, and the resulting in different behaviour:
38
39 latexdiff-vc -r file.tex ...
40 compares file.tex with the most recent version checked into
41 RCS.
42
43 latexdiff-vc -r rev1 file.tex ...
44 compares file.tex with revision rev1.
45
46 latexdiff-vc -r rev1 -r rev2 file.tex ...
47 compares revisions rev1 and rev2 of file.tex.
48
49 Multiple files can be specified for all of the above options.
50 All files must have the extension ".tex", though.
51
52 latexdiff-vc old.tex new.tex
53 compares two files.
54
55 The name of the difference file is generated automatically and
56 reported to stdout.
57
58 -d or --dir -d path or --dir=path
59 Rather than appending the string "diff" and optionally the version
60 numbers given to the output-file, this will prepend a directory
61 name "diff" to the original filename, creating the directory and
62 subdirectories should they not exist already. This is particularly
63 useful in order to clone a complete directory hierarchy. Option‐
64 ally, a pathname path can be specified, which is prepended instead
65 of "diff".
66
67 --ps or --postscript
68 Generate postscript output from difference file. This will run the
69 sequence "latex; latex; dvips" on the difference file (do not use
70 this option in the rare cases, where three "latex" commands are
71 required if you care about correct referencing). If the difference
72 file contains a "\bibliography" tag, run the sequence "latex; bib‐
73 tex; latex; latex; dvips".
74
75 --pdf
76 Generate pdf output from difference file using "pdflatex". This
77 will run the sequence "pdflatex; pdflatex" on the difference file,
78 or "pdflatex; bibtex; pdflatex; pdflatex" for files requiring bib‐
79 tex.
80
81 --force
82 Overwrite existing diff files without asking for confirmation.
83 Default behaviour is to ask for confirmation before overwriting an
84 existing difference file.
85
86 --help or -h
87 Show help text
88
89 --version
90 Show version number
91
92 All other options are passed on to "latexdiff".
93
95 latexdiff
96
98 latexdiff-vc uses external commands and is therefore limited to Unix-
99 like systems. It also requires the RCS version control system and latex
100 to be installed on the system. Modules from Perl 5.8 or higher are
101 required.
102
104 Copyright (C) 2005 Frederik Tilmann
105
106 This program is free software; you can redistribute it and/or modify it
107 under the terms of the GNU General Public License Version 2 Contribu‐
108 tors: S Utcke, H Bruyninckx
109
110
111
112perl v5.8.5 2006-04-24 LATEXDIFF-VC(1)