Just for the record. Mike is running x86_64 Ubuntu 8.04 . And the problem seems to be with the shell. Adding
SHELL=/bin/bash to into the first <<*>>= ... @ chunk solved the problem. To me it would be very strange that project.def.tex: Makefile.def.nw Makefile.nw code ChangeLog @echo "% project.def.tex generated by Makefile.nw" >$@ @echo "\\def\\xProject{\\csname x$(PROJECTNAME)\\endcsname}">>$@ @echo "\\def\\libraryname{$(LIBRARYNAME)}" >>$@ @echo "\\def\\PROJECTNAME{$(PROJECTNAME)}" >>$@ @echo "\\def\\projectname{$(projectname)}" >>$@ @echo "\\def\\SOURCEROOT{$(PROJECTROOT)}" >>$@ @echo "" >>$@ @echo "\\def\\versionname{$(LIBPREFIX)$(LIBRARYNAME)version}">>$@ @echo "\\def\\LIBRARYVERSION{$(LIBRARYVERSION)}" >>$@ @echo "\\def\\ALLPROSEVERSION{$(ALLPROSEVERSION)}" >>$@ is no longer correct with the shell that is started by the Makefile on ubuntu. Ralf On 06/12/2008 09:57 AM, Mike Hansen wrote: > Hello, > > I'm trying to build the aldor-combinat documentation and am running > into some problems. I run "notangle -t8 Makefile.nw > Makefile" and > it completes with no problems. When I run "make dvi", I get the > following error: > > make[2]: Entering directory `/home/mike/src/combinat/trunk/combinat' > make LATEX texfiles undocumented > make[3]: Entering directory `/home/mike/src/combinat/trunk/combinat' > echo LATEX combinat.tex;\ > if ! latex --interaction nonstopmode combinat.tex \ > >> combinat.trace; then \ > echo ============================================;\ > echo LATEX did not succeed.;\ > echo A trace was written to combinat.trace.;\ > echo Consult also combinat.log.;\ > exit 1;\ > fi > LATEX combinat.tex > ============================================ > LATEX did not succeed. > A trace was written to combinat.trace. > Consult also combinat.log. > make[3]: *** [LATEX] Error 1 > make[3]: Leaving directory `/home/mike/src/combinat/trunk/combinat' > make[2]: *** [combinat.lsf] Error 2 > make[2]: Leaving directory `/home/mike/src/combinat/trunk/combinat' > make[1]: *** [latex.all] Error 2 > make[1]: Leaving directory `/home/mike/src/combinat/trunk/combinat' > make: *** [dvi] Error 2 > > Looking at combinat.log, I see: > > ! Undefined control sequence. > <argument> \projectname > .tex.nw > l.12 \input{\projectname.tex.nw} > > The control sequence at the end of the top line > of your error message was never \def'ed. If you have > misspelled it (e.g., `\hobx'), type `I' and the correct > spelling (e.g., `I\hbox'). Otherwise just continue, > and I'll forget about whatever was undefined. > > > ! LaTeX Error: File `.tex.nw' not found. > > Type X to quit or <RETURN> to proceed, > or enter new name. (Default extension: tex.nw) > > Enter file name: > ! Emergency stop. > <read *> > > l.12 \input{\projectname.tex.nw} > ^^M > *** (cannot \read from terminal in nonstop modes) > > Any ideas why it isn't recognizing \projectname ? > > --Mike ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Aldor-combinat-devel mailing list Aldor-combinat-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aldor-combinat-devel