According to MLA guidelines, you should indicate the type of electronic file you have accessed for ebooks, such as “PDF file” or “Kindle file.”. 1  The basic format is: Author’s last name, Author’s first name. 2  For example: Smith, John.  If your ebook is not a PDF file, cite the file type you have.