Height pairings on orthogonal Shimura varieties. (2nd March 2017)