Latex: file ended while scanning use of @writefile
This error is typically seen a lot while compiling latex on windows.
This can be eliminated by deleting all .aux files and recompiling
the latex code. Recompilation should begin by running "Latex" before
any other tool, this helps re-generation of the .aux files.
Ensure that after deleting the .aux file, you also remove the
error that was causing a compilation failure before re-compiling
using latex. Errors could be as simple as missing $$ signs for math
operators