Question: Exporting Maple Worksheet to LaTeX

Hello there! I have a maple code that is approximately 300 lines. There are no graphs printed and I would like to export this as a LaTeX code. I choose export under File and save the file as "test.tex" I have installed all the maple packages and refreshed fndb. The problem is that LaTex is not able to run the document. I get the following error: ! Argument of \end has an extra }.
Please Wait...