> When I try to import this code below and then run
> pdfLaTeX it causes an error.   I had to remove the
> last line to make it generate correctly.
What was the error message?
Make sure that all commands that it uses are available in the preamble.

If you skip the -f parameter when calling highlight by hand, you should get a 
file that you could run latex directly on.
That should be a good test to see if highlight produces garbage.

>     >>> }\hlstd{\ \ \ \ }\hlstd{}\hlkwd{printf
>
> \noindent
> \ttfamily
> \hlstd{}\hlcom{/{*} Standard header files
> {*}/}\hlstd{}\hspace*{\fill}\\
> \hldir{\#include $<$stdio.h$>$}\hspace*{\fill}\\
> \hlstd{}\hldir{\#include
> $<$math.h$>$}\hspace*{\fill}\\
> \hlstd{}\hldir{\#include
> $<$stdlib.h$>$}\hspace*{\fill}\\
> \hlstd{}\hspace*{\fill}\\
> \hspace*{\fill}\\
> \hlkwb{void }\hlstd{}\hlkwd{calc\textunderscore
> graceful}\hlstd{}\hlsym{();}\hspace*{\fill}\\
> \hlstd{}\hspace*{\fill}\\
> \hlkwd{main}\hlstd{}\hlsym{()}\hspace*{\fill}\\
> \hlstd{}\hlsym{\{}\hspace*{\fill}\\
> \hlstd{\hspace*{\fill}\\
> }\hlstd{\ \ \ \ }\hlstd{}\hlkwd{printf

Reply via email to