ftilmann / latexdiff

Compares two latex files and marks up significant differences between them. Releases on www.ctan.org and mirrors
GNU General Public License v3.0
514 stars 72 forks source link

Unknown regexp modifier "/n" #201

Closed nDimensionalSpace closed 4 years ago

nDimensionalSpace commented 4 years ago

When calling (via latexdiff-vc) via the command

latexdiff-vc --math-markup=whole --force --pdf --git --revision TagName DocName.tex

I get the error

Unknown regexp modifier "/n" at /Library/TeX/texbin/latexdiff line 1974, near "=~ "

Running version 1.3.1, as installed by mactex, onto MacOS 10.15.5.

ftilmann commented 4 years ago

It is fixed in master. You can fix this in the release by editing line 1974 and changing m(#[0-9])n to m(#[0-9]) near the end of the line, i.e. remove the trailing n. Sorry for the inconvenience.

nDimensionalSpace commented 4 years ago

You are doing a huge service for the community . . . Thanks for the fix. 👍