From: David Bremner <bremner@debian.org>
Date: Sat, 11 Dec 2010 20:54:50 -0400
Subject: [PATCH] Add equation* to the regular expression for math environments.
 Thanks to Vincent Lefevre for the suggestion.

---
 latexdiff |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/latexdiff b/latexdiff
index 0d39ab4..1668083 100755
--- a/latexdiff
+++ b/latexdiff
@@ -57,7 +57,7 @@ my $MINWORDSBLOCK=3; # minimum number of tokens to form an independent block
                      # shorter identical blocks will be merged to the previous word
 my $FLOATENV='(?:figure|table|plate)[\w\d*@]*' ;   # Environments in which FL variants of defined commands are used
 my $PICTUREENV='(?:picture|DIFnomarkup)[\w\d*@]*' ;   # Environments in which all change markup is removed
-my $MATHENV='(?:equation|displaymath|DOLLARDOLLAR)' ;           # Environments turning on display math mode (code also knows about \[ and \]
+my $MATHENV='(?:equation\*?|displaymath|DOLLARDOLLAR)' ;           # Environments turning on display math mode (code also knows about \[ and \]
 my $MATHREPL='displaymath';  # Environment introducing deleted maths blocks
 my $MATHARRENV='(?:eqnarray|align|gather|multiline|flalign)[*]?' ;           # Environments turning on eqnarray math mode
 my $MATHARRREPL='eqnarray*';  # Environment introducing deleted maths blocks
-- 
