Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[latexdiff-vc] "Input file /tmp/... does not exist" if file has been renamed #240

Open
janniklasrose opened this issue Sep 27, 2021 · 1 comment

Comments

@janniklasrose
Copy link
Contributor

I have a git repository where the name of the main (entry point) document has changed throughout the history of the repo. This is tracked in git (git mv main.tex thesis.tex) but obviously is not picked up by latexdiff-vs.

Running latexdiff-git --flatten -r v1 thesis.tex prints:

Input file /tmp/xW_WCyRbjA/latexdiff-vc-v1/thesis.tex does not exist at /usr/local/texlive/2021/bin/x86_64-linux/latexdiff line 1210, line 69372.

I would no expect latexdiff-vc to handle this automatically, since such a change of main document does not necessarily come from a git mv. However, it would be great to be able to specify the "old.tex" filename in the specified revision.

@ftilmann
Copy link
Owner

ftilmann commented Mar 6, 2022

Sorry for reaction months after the fact, I am just going through the backlog. In principle should be possible to do that, but in the mean-time is suggest to use --flatten=keep-intermediate, and then after the error message run latexdiff directly on the resulting old and new files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants