Many compendia are composed of articles and chapters that have been published in journals and books. In such cases, you should cite the original source, ie you need to find the reference to the article or book chapter where it was originally published.
If the compendium is written entirely by a teacher, use the book format and enter the information you have.