Lecture Notes and Textbooks
A textbook is produced as “here is a tool to teach students or a class”, while a paper is produced as “this is the state of play of our work”.
The author of the textbook expects lecturers and students to use the material but if they quote it in lecture notes or an essay they then expect it to be correctly referenced.