Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!mcnc!borg!smith!wagner From: wagner@smith.cs.unc.edu (Michael Wagner) Newsgroups: comp.text.tex Subject: Help with c++2latex Message-ID: <2443@borg.cs.unc.edu> Date: 20 Mar 91 16:24:32 GMT Sender: news@cs.unc.edu Organization: University of North Carolina, Chapel Hill Lines: 38 Originator: wagner@smith I recently downloaded the c++2latex files from ymir.claremnt.edu. When I typed "make all", I did not get an executable, instead I got a bunch of .o files. Then I linked the .o files by typing gcc -o c++2latex c++2latex.o getopt.o getopt1.o version.o That seemd to work, in that I got an executable. Unfortunately, when I ran c++2latex on c++2latex.c, I got a c++2latex.tex that LaTeX could not process. When I typed "latex c++2latex.tex", LaTeX gave me: This is TeX, C Version 2.98 (no format preloaded) (c++2latex.c LaTeX Version 2.09 <24 May 1989> LaTeX error. See LaTeX manual for explanation. Type H for immediate help. ! Missing \begin{document}. \@latexerr ...for immediate help.}\errmessage {#1} / l.1 / * A lexical scanner generated by flex */ ? Did I do something wrong in the compilation? I don't think that I've got the wrong version of flex. (I typed "make workaround" as in the README file, and got that it didn't know what "workaround" meant). As I am a novice c++ and LaTeX user, I'm not quite sure where things went wrong. Has anyone else gotten this program to run? I'm on a Sun 3 if that makes any difference, running SunOS4.01. Thanks. Mike Wagner