[OS X TeX] Beginner problem with lstlisting

Herb Schulz herbs at wideopenwest.com
Wed Feb 16 11:41:34 EST 2005

On 2/16/05 10:25 AM, "Doug Fields" <dfields-macosx-tex-0205 at pexicom.com>
wrote:

> I apologize for posting such a beginner problem, as I'm just learning.
> I managed to get a simple hello world working with latex and the DVI to
> PDF conversion tools (command line) happily, but then following a setup
> tutorial here:
>
> http://www.cs.wright.edu/~jslater/mac-tex/mac-tex-intro/mactexintro.html
>
> I was unable to get the more complicated example to work due to an
> error with the initial line:
>
> \begin{lstlisting}
>

Howdy,

I believe that environement is a remnant of when the author was putting the
article together and it shouldn't be there.

Did it typeset alright after eliminating the environment? I had to fix up
line endings and replace what you had as spaces with space characters in the
e-mail I received to get it to compile; but then it compiled fine after
removing that overlying environment.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>