A) Ancestry B) Correctness in speech or writing C) Magic ü D) Wickedness
This old word is apparently related to “grammar” in the sense of “a book of Latin grammar”, based on the idea that books in ancient languages, when not explicitly religious, were likely to contain occult knowledge of the sort prized by necromancers. Such a book could also be known by the related word “grimoire”.