ftilmann / latexdiff

Compares two latex files and marks up significant differences between them. Releases on www.ctan.org and mirrors
GNU General Public License v3.0
513 stars 72 forks source link

latexdiff-vc cant find diff file #228

Open sz-slodowicz opened 3 years ago

sz-slodowicz commented 3 years ago

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.

ftilmann commented 3 years ago

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.

sz-slodowicz commented 3 years ago

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