added latexbox options for pdf output and viewer
output changed to pdf