ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \frac, \eqalign and \usemodule[newmat]
@ 2003-04-19 16:29 Emil Hedevang Lohse
  0 siblings, 0 replies; only message in thread
From: Emil Hedevang Lohse @ 2003-04-19 16:29 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 534 bytes --]


I have encountered a problem when using \fac, \eqalign and
\usemodule[newmat] at the same time. I like the newmat module since it
gives me the \QED command, but when using \frac inside \eqalign I get
an error I cannot understand.

\usemodule[newmat]

% This works fine.
\starttext
\startformula
\frac12=\frac24
\stopformula

% Uncomment to get error.
%\startformula
%\eqalign{\frac12={}&\frac24\cr}
%\stopformula

% This works fine.
\startformula
\eqalign{{1\over2}={}&{2\over4}\cr}
\stopformula
\stoptext

The log file is attached. 

[-- Attachment #2: frac.log --]
[-- Type: application/octet-stream, Size: 3481 bytes --]

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2003.4.3)  19 APR 2003 15:56
entering extended mode
\write18 enabled.
**&cont-en frac.tex
(./frac.tex{/opt/emil/teTeX-2.0.2/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.3.11  fmt: 2003.4.3  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/opt/emil/teTeX-2.0.2/share/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(/opt/emil/teTeX-2.0.2/share/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/opt/emil/teTeX-2.0.2/share/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `frac.tui'.

system         : frac.top loaded
(./frac.top
specials       : loading definition file tpd
(/opt/emil/teTeX-2.0.2/share/texmf/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/opt/emil/teTeX-2.0.2/share/texmf/tex/context/base/spec-fdf.tex <unprotect 3>
<unprotect 4>
system (E-TEX) : [line 1815] \ifcsname 
<unprotect 5> <protect 5> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.

\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.


pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
system         : macros of module newmat loaded
(/opt/emil/teTeX-2.0.2/share/texmf/tex/context/base/m-newmat.tex) (./frac.tuo)
(./frac.tuo) (./frac.tuo) (./frac.tuo) (./frac.tuo) (./frac.tuo) (./frac.tuo)
(./frac.tuo) (./frac.tuo) (./frac.tuo) (./frac.tuo) (./frac.tuo) (./frac.tuo)
(./frac.tuo)
systems        : begin file frac at line 4
! Missing } inserted.
<inserted text> 
                }
<to be read again> 
                   $
\mathematics #1->\ifmmode #1\else $
                                   #1$\fi 
<argument> \frac 12
                   ={}&\frac 24\cr 
\eqalign ...$&$\displaystyle {{}##}$\hfil \crcr #1
                                                  \crcr }}\,
l.11 \eqalign{\frac12={}&\frac24\cr}
                                    
? 
! Emergency stop.
<inserted text> 
                }
<to be read again> 
                   $
\mathematics #1->\ifmmode #1\else $
                                   #1$\fi 
<argument> \frac 12
                   ={}&\frac 24\cr 
\eqalign ...$&$\displaystyle {{}##}$\hfil \crcr #1
                                                  \crcr }}\,
l.11 \eqalign{\frac12={}&\frac24\cr}
                                    
End of file on the terminal!

 
Here is how much of TeX's memory you used:
 742 strings out of 67884
 11064 string characters out of 743504
 4407068 words of memory out of 5520180
 30687 multiletter control sequences out of 10000+50000
 10284 words of font info for 34 fonts, out of 500000 for 1000
 62 hyphenation exceptions out of 1000
 31i,7n,26p,185b,151s stack positions out of 1500i,500n,5000p,200000b,5000s
 0 PDF objects out of 300000
 0 named destinations out of 131072
 0 words of extra memory for PDF output out of 65536
No pages of output.

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]




-- 
Emil Hedevang Lohse <http://home.imf.au.dk/emil/> 

Alle spørgsmål er lige dumme. 
Og spørgsmålet "Kan ænder flyve?" er ikke dumt.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-19 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-19 16:29 \frac, \eqalign and \usemodule[newmat] Emil Hedevang Lohse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).