diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-13 20:59:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-13 20:59:12 +0000 |
commit | 969779c0e50630df6210a15dc83fb0619f2c4002 (patch) | |
tree | 903f07b478ec9b79f2805b4c48eca0f597d82281 /Master/texmf-dist/scripts/latexdiff/latexdiff-vc.pl | |
parent | 525515c8d9df4f6ece9b285a88e58f01bee94de8 (diff) |
latexdiff (13jun20)
git-svn-id: svn://tug.org/texlive/trunk@55540 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/latexdiff/latexdiff-vc.pl')
-rwxr-xr-x | Master/texmf-dist/scripts/latexdiff/latexdiff-vc.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/scripts/latexdiff/latexdiff-vc.pl b/Master/texmf-dist/scripts/latexdiff/latexdiff-vc.pl index 9843238c457..b50a52722ff 100755 --- a/Master/texmf-dist/scripts/latexdiff/latexdiff-vc.pl +++ b/Master/texmf-dist/scripts/latexdiff/latexdiff-vc.pl @@ -3,7 +3,7 @@ # latexdiff-vc - wrapper script for applying latexdiff to rcs managed files # and for automatised creation of postscript or pdf from difference file # -# Copyright (C) 2005-16 F J Tilmann (tilmann@gfz-potsdam.de) +# Copyright (C) 2005-20 F J Tilmann (tilmann@gfz-potsdam.de) # # Repository: https://github.com/ftilmann/latexdiff # CTAN page: http://www.ctan.org/pkg/latexdiff @@ -71,7 +71,7 @@ use strict ; use warnings ; my $versionstring=<<EOF ; -This is LATEXDIFF-VC 1.3.1 +This is LATEXDIFF-VC 1.3.1.1 (c) 2005-2020 F J Tilmann EOF @@ -315,11 +315,11 @@ if ( scalar(@revs)>0 ) { # make file list (last arguments), initial arguments have to be passed to latexdiff # We assume an argument is a valid file rather than a latexdiff argument -# if it has extension .tex, .bbl or .flt (output of flatex) +# if it has extension .tex, .bbl or .flt (output of flatex), and does not start with a - or -- @files=($file2); while( $file1=pop @ARGV ) { - if ( $file1 =~ /\.(tex|bbl|flt)$/ ) { + if ( $file1 =~ /\.(tex|bbl|flt)$/ && $file1 !~ /^-/) { # $file1 looks like a valid file name and is prepended to file list unshift @files, $file1 ; } else { |