Fixing latex compile errors for pdf

Signed-off-by: Werner Macho <werner.macho@gmail.com>
forgot script changes