It seems somehow tricky to apply the right punctuation when it comes to the word namely. I got the following advice:
Search globally for "namely", and add a comma after it, as well as a comma, a semicolon, or a period before.
On the other hand, this link and this one suggest that there might be more to consider. So, what are the rules for punctuating around the word namely? Please try to prove your claims by including references.