convertTexToPDF :: String -> IO
                            (Maybe Handle,
                             Maybe Handle,
                             Maybe Handle,
                             ProcessHandle)
convertTexToPDF texName = createProcess $ CreateProcess
                      (ShellCommand $ "pdflatex -interaction=nonstopmode " ++ texName) 
                      Nothing
                      Nothing
                      CreatePipe
                      CreatePipe
                      CreatePipe
                      False
                      False
                      False
convertTexToPDF :: String -> IO
                            (Maybe Handle,
                             Maybe Handle,
                             Maybe Handle,
                             ProcessHandle)
convertTexToPDF texName = createProcess $ CreateProcess
                      (ShellCommand $ "pdflatex -interaction=nonstopmode " ++ texName) 
                      Nothing
                      Nothing
                      CreatePipe
                      CreatePipe
                      CreatePipe
                      False
                      False
                      False
convertTexToPDF texName = createProcess $ CreateProcess
                      (ShellCommand $ "pdflatex -interaction=nonstopmode " ++ texName) 
                      Nothing
                      Nothing
                      CreatePipe
                      CreatePipe
                      CreatePipe
                      False
                      False
                      False