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

strange effect of commented command #41

Closed
RBornat opened this issue Jan 14, 2016 · 3 comments
Closed

strange effect of commented command #41

RBornat opened this issue Jan 14, 2016 · 3 comments

Comments

@RBornat
Copy link

RBornat commented Jan 14, 2016

I have some texts which aren't different, but which contain a commented command. With the commented command present, I get strange results (which don't compile). Without it, no problem.

One text in original2.txt, the other in modification2.txt (they are identical) and the result in diff2.txt.

diff2.txt
modification2.txt
original2.txt

@ftilmann
Copy link
Owner

I am sorry: I cannot reproduce this.
For me
latexdiff original2.txt modification2.txt > diff2.txt
results in diff2.txt being identical to the other two files. Which version of latexdiff are you using (though this should work in any version). Are you on Windows, Mac or Linux (could matter because of line endings)

@RBornat
Copy link
Author

RBornat commented Jan 14, 2016

I'm now running 1.1.1-fast on a Mac

This is LATEXDIFF 1.1.1 (Algorithm::Diff 1.15 fast, Perl v5.18.2)
(c) 2004-2015 F J Tilmann

and it does the same for me: no inserts in the diff file. It was an excerpt from a much larger diff, and I thought I had taken enough context. And it may have been from before I was running 1.1.1. I'm sure it must have been, because now when I re-insert the commented lines I get valid Latex code. Whoops.

So please close this one too. Oh dear, I'm not doing very well in submitting latexdiff bugs. Thanks again, and I'll go quiet.

@RBornat RBornat closed this as completed Jan 14, 2016
@ftilmann
Copy link
Owner

No worries, glad to hear it's working for you, too, now

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

No branches or pull requests

2 participants