One excellent advantageous asset of utilizing Git to manage TeX tasks is the fact that we could utilize Git with the exceptional latexdiff device to make PDFs annotated with modifications between various variations of a task. Unfortunately, though latexdiff does run using Windows, it is quite finnicky to make use of with MiKTeX. (really, we have a tendency to believe it is better to make use of the Linux guidelines on Windows Subsystem for Linux, then run latexdiff from within Bash on Ubuntu on Windows.)
Whatever the case, we are going to require two different programs to get fully up and operating with PDF-rendered diffs. Sadly, these two are notably more specialized than one other tools we’ve looked over, violating the target that everything we install also needs to be of generic use. For this reason, and due to the Windows compatability issues noted above, we won’t be determined by PDF-rendered diffs somewhere else on this page, and here mention it as a really good apart.
That sa >latexdiff itself, which compares modifications between two various TeX supply versions, and rcs-latexdiff , which interfaces between latexdiff and Git. To install latexdiff on Ubuntu, we could again depend on apt :
For macOS / OS X, the simplest way to put in latexdiff is to utilize the package supervisor of MacTeX. Either use Tex Live Utiliy , A gui system distributed with MacTeX or run the next demand in a shell
For rcs-latexdiff , we suggest the fork maintained by Ian Hincks. We are able to utilize the Python-specific package supervisor pip to automatically install Ian’s Git repository for rcs-latexdiff and run its installer:
After you have latexdif and rcs-latexdiff installed, we could make extremely expert PDF renderings by calling rcs-latexdiff on various Git commits. As an example, for those who have a Git label for variation 1 of a arXiv distribution, and wish to prepare a PDF of distinctions to deliver to editors when resubmitting, the after demand frequently works:
arXiv Build Management
Preferably, you’ll upload your research that is reproducible paper the arXiv as soon as your project has reached a point in which you like to share it utilizing the world. Continue reading