Fix for files with spaces in the name
Updated latex workflow