maxima-5.29.* and imaxima



On 2012-12-25, Andrey G. Grozin <A.G.Grozin at inp.nsk.su> wrote:

> (%i1) 1+1;
> LaTeX error in: \mbox{\tt\red(\mathrm{\%o1}) \black}2
>
> worked OK with 5.28. Is it the same mlable -> mlabel thing which broke 
> wxmaxima but was fixed?

I can't tell what's going on here. imaxima.lisp in the 5.29.1 release is
patched to look for MLABEL instead of MLABLE, and there aren't any other
instances of MLABLE that I can find in imaxima. When I try this in
imaxima as packaged w/ 5.29.1, I see a similar error; I see only: "LaTeX
error in: 2" I've appended the LaTeX input and output to this message.

best

Robert Dodier

PS (1) LaTeX input:

----------------------------- cut here -----------------------------
\documentclass[11pt,leqno]{article}

% mylatex
\setlength{\textwidth}{209mm}
\begin{document}
\pagecolor[rgb]{1.000000,1.000000,1.000000}\pagestyle{empty}
\begin{normalsize}
\color[rgb]{1.000000,0.000000,0.000000}\tt\begin{dmath}[number={\%o1}]
\color[rgb]{0.000000,0.000000,0.000000}2\end{dmath}
\end{normalsize}
\end{document}
------------------------------- end --------------------------------

PS (2) LaTeX output:

----------------------------- cut here -----------------------------
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex
2011.1.1)  26 DEC 2012 09:36
entering extended mode
 %&-line parsing enabled.
**&mylatex /tmp/imaxima11536Eey/1.tex
(/tmp/imaxima11536Eey/1.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/leqno.clo
File: leqno.clo 1998/08/17 v1.1c Standard LaTeX option (left equation
numbers)
)
(/usr/share/texmf-texlive/tex/latex/base/size11.clo
File: size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
No file 1.aux.
\openout1 = `1.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
! Undefined control sequence.
l.6 \pagecolor
              [rgb]{1.000000,1.000000,1.000000}\pagestyle{empty}
? 
! Emergency stop.
l.6 \pagecolor
              [rgb]{1.000000,1.000000,1.000000}\pagestyle{empty}
End of file on the terminal!

 
Here is how much of TeX's memory you used:
 200 strings out of 95087
 2236 string characters out of 1183279
 46172 words of memory out of 1500000
 3461 multiletter control sequences out of 10000+50000
 3940 words of font info for 15 fonts, out of 1200000 for 2000
 28 hyphenation exceptions out of 8191
 22i,0n,19p,147b,36s stack positions out of
5000i,500n,6000p,200000b,5000s
No pages of output.
------------------------------- end --------------------------------