compile notes to pdf