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

DIFadd and 1.000 #272

Open
Friedrich2 opened this issue Aug 22, 2022 · 1 comment
Open

DIFadd and 1.000 #272

Friedrich2 opened this issue Aug 22, 2022 · 1 comment
Labels
On hold Waiting for more input from reporter

Comments

@Friedrich2
Copy link

Friedrich2 commented Aug 22, 2022

At least within longtable (probably generally), DIFadd and Co. have problems with numbers with points used as decimal separator. (E.g. 1.000 or 1.0456) yielding

! Missing } inserted.
<inserted text> 
                }
l.1772 			5 & \DIFdelbegin \DIFdel{1.035}
                                         \DIFdelend \DIFaddbegin \DIFadd{1,0...

Execution query:
latexdiff --graphics-markup=none --packages=amsmath,hyperref,siunitx,biblatex --math-markup=OFF -t CFONT oldfile.tex newfile.tex

How does this happen?

I know that it could take a while to close this bug, so please mention it within the latexdiff manual. The same holds for this issue, since it does not seem to be an easy-to-fix issue and my issue was hard to find (at least for me). As I currently do not have the time to compile a minimal example, I will likely add an MWE later. Besides: Thanks for your great work!

@ftilmann
Copy link
Owner

Thanks for reporting but I have trouble understanding what exactly is the issue. The example suggests a dot is turned into a comma, but maybe this is just a typo, as off the top of my head I cannot imagine how this could have occurred. Otherwise, this change-highlighting looks fine, or what do you expect?
Could you clarify this? Thanks

@ftilmann ftilmann added the On hold Waiting for more input from reporter label Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On hold Waiting for more input from reporter
Projects
None yet
Development

No branches or pull requests

2 participants