Hans, I think when we make your fixes, we'll be OK.
We have one more failure that won't compile. chapter1 $ texexec section3exercises This crashes on: (./section3exercises-texutil0.tmp ! Missing } inserted. <inserted text> } <to be read again> \endgroup \special@@descriptionhandler ...t #2\endstrut }}}} \doifsomething {\descripti... \@@dostartdescription ...gnorespaces #3\endstrut } }\assignwidth \!! widtha {\... \do@@description ...tion [#2]{\def \\{\crlf }}{#3} \noindent \ignorespaces #1... \dodogotopar ...escription {question}[ex:sec3.1]{} \BeforePar \emptytoks ... l.3 \startbuffer ? Pressing "e" takes me to this area: \startquestion[ex:sec3.1] \startbuffer numeric w,h; w=4cm;h=4cm; % inititialize numerator and denominator of the slope of f numeric a; a=1.5; Our exercise envrionment file looks like this: \defineenumeration[questions][location=serried,text=\blank] \setupenumerations[questions][before={\page[yes]\unnumberedsubsection {Exercises}\startcolumns[n=2]},after=\stopcolumns,number=no] \defineenumeration[answers][location=serried,text=\blank] \setupenumerations[answers][before={\unnumberedsubsection{Answers} \startcolumns[n=2]},after=\stopcolumns,number=no] \def\placeanswers{\startanswers\doifmodeelse{short}{\selectblocks [shortanswer][criterium=section]}{\selectblocks[longanswer] [criterium=section]}\stopanswers} \defineenumeration[question][location=inleft,text={\color[heavygreen] \bgroup}] \setupenumerations [question] [location=inleft, headcolor=heavygreen, % stopper={.\egroup}, way=bysection, sectionnumber=no] \defineenumeration[subquestion][location=hanging,text={\color [heavygreen]\bgroup},conversion=characters] \setupenumerations[subquestion][stopper={.\egroup}] \defineenumeration[answer][location=inleft,text={\color[heavygreen] \bgroup}] \setupenumerations [answer] [location=inleft, headcolor=heavygreen, % stopper={.\egroup}, way=bysection, sectionnumber=no] \defineenumeration[subanswer][location=hanging,text={\color [heavygreen]\bgroup},conversion=characters] \setupenumerations[subanswer][stopper={.\egroup}] \defineblock[question,shortanswer,longanswer] \hideblocks[shortanswer,longanswer] Do you see what might be causing the problem? On Jun 27, 2006, at 3:18 PM, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Tue, 27 Jun 2006, Hans Hagen wrote: >> >> >>> David Arnold wrote: >>> >>>> Hans (please CC Jacob), here is the whole environment file. My >>>> student did this for me, but if you'd like to make some changes, >>>> that >>>> would be ok. >>>> >>>> He has in another environment file: >>>> >>>> [code snipped] >>>> >>>> >>> less tricky, cleaner, etc >>> >>> \defineframedtext[MyBox] >>> >>> \setuplabeltext[definition=Definition] >>> \setuplabeltext [example=Example] >>> \setuplabeltext [warning={\tfb !}] >>> \setuplabeltext [key=\bigstar] >>> \setuplabeltext [tip=\checkmark] >>> \setuplabeltext [summary=\bigstar\quad Summary] >>> >>> \definemeasure[BoxWidth][.8\textwidth] >>> >>> \defineblank[BoxBlank][1em plus 1em minus 1em] >>> >> >> Wow. Did not know about labeltexts. This goes one more step in >> separating content from presentation. >> > well, the code in the lang-* files is pretty old (therw you can see > how do deal with languages as well; there is also left/right lable > stuff, as needed for chinese), actually, this is the oldest > code ... (reminds of frustrations with latex due to hard coded > Chapter in the styles in those days) > > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context