latexdiff icon indicating copy to clipboard operation
latexdiff copied to clipboard

latexdiff-vc cant find diff file

Open sz-slodowicz opened this issue 4 years ago • 2 comments

while executing latexdiff i get the following message:

$ latexdiff-vc --git --force -r Versioning.tex --pdf
Working on  Versioning.tex
Running: latexdiff   "Versioning-oldtmp-304.tex" "Versioning.tex" > "Versioning-diff.tex"
Generated difference file Versioning-diff.tex
sed: can't read ;: No such file or directory
sed: can't read \mv: No such file or directory
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (MiKTeX 21.3)
entering extended mode
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (MiKTeX 21.3)
entering extended mode
! I can't find file `Versioning-diff.tex;'.
<*> Versioning-diff.tex;

Please type another input file name:

I do not understand why, beacaue the file .tex file and the tex.TEMPXXX is created in the directory. Without the --pdf option the process is successfull.

sz-slodowicz avatar Apr 01 '21 20:04 sz-slodowicz

On my system I cannot reproduce the error. On which system are you, and which shell are you using. latexdiff-vc makes extensive use of system (i.e. command line) commands. The error message with the \mv suggests that the semi-colon is not interpreted as a command separator by the shell you are using.

ftilmann avatar Apr 01 '21 22:04 ftilmann

Strawberry perl : 'Win32 strawberry-perl 5.30.2.1 MiKTeX: 2.9 Git bash: git version 2.28.0.windows.1 I do not know if you need additional information I get the same result when I run latexdiff in cmd and git bash

sz-slodowicz avatar Apr 02 '21 07:04 sz-slodowicz