What is the writing of glossaries, glosses, or comments for illustrating an author called?

glossography — The writing of glossaries, glosses, or comments for illustrating an author. (Webster's 1913.)

Sources