As far as story goes for TDKR... there's obviously influence from No Man's Land, Knightfall, and The Dark Knight Returns. But I also see a bit of influence in both TDK & TDKR from Dark Victory (which makes sense, seeing that DV is the follow-up to The Long Halloween which was a major influence for BB).

The only reason I say that is because the plot of Dark Victory is "Once a town controlled by organized crime, Gotham City suddenly finds itself being run by lawless freaks. Witnessing his city's dark evolution, the Dark Knight completes his transformation into the city's greatest defender." That could pretty much be a basic summary of the plots for TDK & TDKR.

__________________"You are part of the night, just like me. We're not afraid of the dark--we come alive in it...we're thrilled by it."-Catwoman to Batman