diff --git a/latexdiff b/latexdiff index 0a9750a..327c6d8 100755 --- a/latexdiff +++ b/latexdiff @@ -1331,7 +1331,7 @@ if ( defined $packages{"siunitx"} ) { # protect SI command by surrounding them with an \mbox # this is done to get around an incompatibility between the ulem and siunitx package print STDERR "siunitx package detected.\n" if $verbose; - my $mboxcmds = 'SI,ang,numlist,numrange,SIlist,SIrange,qty,qtylist,qtyproduct,qtyrange,complexqty'; + my $mboxcmds = 'SI,ang,numlist,numrange,SIlist,SIrange,qty,qtylist,qtyproduct,qtyrange,complexqty,num'; init_regex_arr_list( \@SAFECMDLIST, 'num,si,numproduct,unit,complexnum' ); if ( $enablecitmark || ( $ulem && !$disablecitmark ) ) { init_regex_arr_list( \@MBOXCMDLIST, $mboxcmds );