Monthly Archives: July 2012

Repair corrupted PDF files

Repairing corrupted pdf files under linux: gs \ -o repaired.pdf \ -sDEVICE=pdfwrite \ -dPDFSETTINGS=/prepress \ corrupted.pdf copied from http://superuser.com/questions/278562/repair-corrupt-pdf Advertisements

Posted in Latex | Tagged , , | Leave a comment

unexplainable “no number” errors

when this happens all of a sudden, check the bib file for ‘%’ characters and replace them with ‘\%’

Posted in Uncategorized | Tagged | Leave a comment

Stripping abstract from bib file

Mendeley adds the abstract by default to the bib file which is annoying and can not be stopped. Strip the abstract from the bib file with the following command: sed -i -e ‘/^abstract/d’ library.bib

Posted in Uncategorized | Tagged , | Leave a comment