I am a LaTeX beginner and new to Scripting. I try to implement this interesting solution for latexdiff and multiple files found in this question-answer before I begin writing my phd thesis. However using...
- Win7 (64-bit)
- GitHub (Sourcetree, Git version 1.8.0msysgit.0)
- MikTex 2.9
- ActivePerl version 188.8.131.522
and after researching I do not know how to execute the script and the documentation on the site linked above is "sparsely". Here is what I did so far:
- Latexdiff is installed and successfully tested
- 'latexbatchdiff.sh' is placed in
C:\Users\USER\Dropbox\Github(added to PATH)
- Repository Path:
C:\Users\USER\Dropbox\Github\Testlab\.git\config-file looks like this:
[core] bare = false repositoryformatversion = 0 filemode = false logallrefupdates = true symlinks = false ignorecase = true [remote "origin"] url = https://github.com/MYGITHUBACCOUNT/Testlab.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [difftool.latex] cmd = latexdiff "$LOCAL" "$REMOTE" [difftool] prompt = false [alias] ldiff = difftool -t latex
There is also an 'install.sh' which is not documented at all, so I tried...
So, how does one execute this script on windows? Do I use the Windows CMD or the Cygwin Terminal? I would be really grateful for a beginner-friendly example.