Hi,

In setting out to update our intermediate algebra textbook for the  
fall semester (http://msenux.redwoods.edu/IntAlgText/), I've found  
that a file that would formerly compile under a previous version of  
context will no longer compile.

Preliminaries $ ctxtools --contextversion
CtxTools | context version: 2007.06.06 09:53 (/usr/local/gwTeX/ 
texmf.local/tex/context/base/context.tex)
CtxTools | context version: 2007.06.06 09:53 (/usr/local/gwTeX/ 
texmf.local/tex/context/base/cont-new.tex)

Preliminaries $ texmfstart texexec --version
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

The error message I receive is:

textblocks      : reading blocks from NumberSystemsExercises.tub
(./NumberSystemsExercises.tub
textblocks      : shortanswer loaded and typeset
textblocks      : shortanswer loaded and processed
textblocks      : shortanswer loaded and typeset
textblocks      : shortanswer loaded and processed
textblocks      : shortanswer loaded and typeset
textblocks      : shortanswer loaded and processed
textblocks      : shortanswer loaded and typeset
textblocks      : shortanswer loaded and processed
textblocks      : shortanswer loaded and typeset
! Missing number, treated as zero.
<to be read again>
                    \relax
\dogenfrac ...{\begingroup #4\endgroup #2#3\relax
                                                   #5}}
\mathematics #1->\relax \ifmmode #1
                                    \else $#1$\fi
l.216 $ \frac{81}{125}
                       $
?

The point in the source that seems to cause the difficulty is:

\noindent In \in{Exercises}[ex:secqu.9]-\in[ex:secqu.16],
convert the given decimal to a fraction.

% Exercise #9
\beginquestion
\startquestion[ex:secqu.9]
$0.648$
\stopquestion
\endquestion

\beginlonganswer
\startanswer
There are three decimal places, so
$0.648=\frac{648}{1000}=\frac{81}{125}$.
\stopanswer
\endlonganswer

\beginshortanswer
\startanswer
$\displaystyle \frac{81}{125}$
\stopanswer
\endshortanswer

Shortanswer and longanswer are blocks. Startanswer is an enumeration.  
I've tried this in other files and gotten similar errors, which seem  
to be tied to the frac command.

Can anyone help?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to