1LATEXDIFF-VC(1)                                                LATEXDIFF-VC(1)
2
3
4

NAME

6       latexdiff-vc - wrapper script that calls latexdiff for different
7       versions of a file under version management (CVS, RCS or SVN)
8

SYNOPSIS

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 ][
16       --postscript | --pdf ]  old.tex new.tex
17

DESCRIPTION

19       latexdiff-vc is a wrapper script that applies latexdiff to a file, or
20       multiple files under version control (git, subversion (SVN), mercurial
21       (hg), CVS, RCS), and optionally runs the sequence of "latex" and
22       "dvips" or "pdflatex" commands necessary to produce pdf or postscript
23       output of the difference tex file(s). It can also be applied to a pair
24       of files to automatise the generation of difference file in postscript
25       or pdf format.
26

OPTIONS

28       --rcs, --svn, --cvs, --git or --hg
29           Set the version control system used.  If no version system is
30           specified, latexdiff-vc will venture a guess.
31
32           latexdiff-cvs, latexdiff-rcs etc are variants of latexdiff-vc which
33           default to the respective versioning system. However, this default
34           can still be overridden using the options above.
35
36           Note that hg needs to support the "--root" option (version >= 2.9)
37
38       -r, -r rev or --revision, --revision=rev
39           Choose revision (under RCS, CVS, SVN, GIT or HG). One or two -r
40           options can be specified, and they result in different behaviour:
41
42           latexdiff-vc -r file.tex ...
43               compares file.tex with the most recently checked-in version
44               checked.
45
46           latexdiff-vc -r rev1 file.tex ...
47               compares file.tex with revision rev1.
48
49           latexdiff-vc -r rev1 -r rev2 file.tex ...
50               compares revisions rev1 and rev2 of file.tex.
51
52               Multiple files can be specified for all of the above options.
53               All files must have the extensions ".tex", ".bbl", or ".flt",
54               though.
55
56           latexdiff-vc  old.tex new.tex
57               compares two files.
58
59           The name of the difference file is generated automatically and
60           reported to stdout.
61
62       -d or --dir  -d path or --dir=path
63           Rather than appending the string "diff" and optionally the version
64           numbers given to the output-file, this will prepend a directory
65           name "diff" to the original filename, creating the directory and
66           sub-directories should they not exist already.  This is
67           particularly useful in order to clone a complete directory
68           hierarchy.  Optionally, a pathname path can be specified, which is
69           prepended instead of "diff".
70
71       --flatten,--flatten=keep-intermediate
72           If combined with "--git", "--svn" or "--hg" option or the
73           corresponding modes, check out the revisions to compare in a
74           separate temporary directory, and then pass on option "--flatten"
75           to latexdiff. The directory in which "latexdiff-vc" is invoked
76           defines the subtree which will be checked out.  Note that if
77           additional files are needed which are not included in the flatten
78           procedure (package files, included graphics), they need to be
79           accessible in the current directory. If you use bibtex, it is
80           recommended to include the ".bbl" file in the version management.
81
82           The generic usage of this function is : "latexdiff-vc --flatten -r
83           rev1 [-r rev2] master.tex" where master.tex is the project file
84           containing the highest level of includes etc.
85
86           With "--flatten=keep-intermediate", the intermediate revision
87           snapshots are kept in the current directory (Default is to store
88           them in a temporary directory and delete them after generating the
89           diff file.)
90
91       --only-changes
92           Post-process the output such that only pages with changes on them
93           are displayed. This requires the use of subtype ZLABEL in
94           latexdiff, which will be set automatically, but any manually set -s
95           option will be overruled (also requires zref package to be
96           installed). (note that this option must be combined with --ps or
97           --pdf to make sense)
98
99       --force
100           Overwrite existing diff files without asking for confirmation.
101           Default behaviour is to ask for confirmation before overwriting an
102           existing difference file.
103
104       --run
105           run latex command on diff file after generation of diff file.
106
107       --dvi
108           run latex and dvixxx commands after generation of diff file.
109
110       -c configfile =item --config var1=val1,var2=val2,... or -c var1=val1,..
111           Set configuration variables for latexdiff and latexdiff-vc.  The
112           option can be repeated to set different variables (as an
113           alternative to the comma-separated list).  Available variables for
114           latexdiff-vc:
115
116           "LATEXDIFF" latexdiff command (e.g. latexdiff-fast, latexdiff-so).
117           This command should support the option "--interaction=batchmode"
118           "LATEX" latex command (e.g. pdflatex, lualatex)
119           "DVI2"  Command for conversion of dvi file (e.g. dvips, dvipdf)
120           "BIBTEX" Command replacing bibtex
121
122           All other config variables are passed to latexdiff. Explicitly set
123           configuration changes always override implicit changes by the
124           following shortcut options --fast, --so, --ps and --pdf.
125
126       --fast or --so
127           Use "latexdiff-fast" or "latexdiff-so", respectively (instead of
128           "latexdiff").
129
130       --ps or --postscript
131           Generate postscript output from difference file.  This will run the
132           sequence "latex; latex; dvips" on the difference file (do not use
133           this option in the rare cases, where three "latex" commands are
134           required if you care about correct referencing).  If the difference
135           file contains a "\bibliography" tag, run the sequence "latex;
136           bibtex; latex; latex; dvips".
137
138       --pdf
139           Generate pdf output from difference file using "pdflatex". This
140           will run the sequence "pdflatex; pdflatex" on the difference file,
141           or "pdflatex; bibtex; pdflatex; pdflatex" for files requiring
142           bibtex.  Note that this is not just a shortcut for setting
143           configuration variable but also triggers some special behaviour.
144
145       --show-config
146           Show values of configuration variables.
147
148       --help or -h
149           Show help text
150
151       --version
152           Show version number
153
154       All other options are passed on to "latexdiff".
155

SEE ALSO

157       latexdiff
158

PORTABILITY

160       latexdiff-vc uses external commands and is therefore dependent on the
161       system architecture; it has been tested mainly on Unix-like systems. It
162       also requires a version control system and latex to be installed on the
163       system to make use of all features.  Modules from Perl 5.8 or higher
164       are required.
165

BUG REPORTING

167       Please submit bug reports using the issue tracker of the github
168       repository page https://github.com/ftilmann/latexdiff.git, or send them
169       to tilmann -- AT -- gfz-potsdam.de.  Include the version number of
170       latexdiff-vc (option "--version").
171

AUTHOR

173       Version 1.2.1 Copyright (C) 2005-2017 Frederik Tilmann
174
175       This program is free software; you can redistribute it and/or modify it
176       under the terms of the GNU General Public License Version 3
177       Contributors: S Utcke, H Bruyninckx; some ideas have been inspired by
178       git-latexdiff bash script.  C. Junghans: Mercurial Support.
179
180
181
182perl v5.22.1                      2020-06-13                   LATEXDIFF-VC(1)
Impressum