Complex sentence: Since 2001 he has been Emeritus Professor of Scottish History and Literature, but continued to publish on the history of Scotland in the Middle Ages.
Split into simpler sentences: Since 2001 he has been Emeritus Professor of Scottish History and Literature. He continues to publish on the history of Scotland in the Middle Ages.