I changed the converter so that it output to foobar.tex. Here is a copy of the .tex it generated. This I can not import into LyX and make it compile with pdfLaTeX.
--- Gunnar Lindholm <[EMAIL PROTECTED]> wrote:
> > 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
>
____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
foobar.tex
Description: 1028766571-foobar.tex
