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: <2444@borg.cs.unc.edu> Date: 20 Mar 91 16:39:14 GMT Sender: news@cs.unc.edu Organization: University of North Carolina, Chapel Hill Lines: 33 Originator: wagner@smith I realized that I needed to use the -c option to get a complete LaTeX source file. Now when I try to LaTeX the result of "c++2latex -c -o test.tex c++2latex.c", I get: This is TeX, C Version 2.98 (no format preloaded) (test.tex LaTeX Version 2.09 <24 May 1989> (/usr/local/lib/TeX/inputs/article.sty Document Style `article' <16 Mar 88>. (/usr/local/lib/TeX/inputs/art11.sty)) (test.aux) ! Missing \endcsname inserted. \protect \{->\protect \@lb \@ifundefined #1#2#3->\expandafter \ifx \csname #1 \endcsname \relax #2\else ... \begin ... \@currenvir {#1}\csname #1\endcsname }} \begingroup \@endpefalse \... l.15 \begin\{ document\}\mbox{}\\ ? What am I doing wrong? (Sorry about th earlier posting. I'd used a program earlier called c2latex that didn't require a -c option). Mike Wagner wagner@cs.unc.edu