I had a same problem and found a solution.
It is because some documents like your lecture note are scanned pdf therefore do not have same uniform page size.
What you can do is, just print as pdf again with letter paper size to create new pdf with uniform paper size.
Then follow the instruction...