Diaries from the late Alan Rickman - who began writing them in the 1990s and had 27 handwritten volumes by the time he died - will be published in 2022.