Now I see what I did wrong... had not added the -enable-write18 option
to the pdflatex command!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your suggestions made me realize it.
I have included the steps below that document how I figured it out.
Hope it helps those that follow ;)
jose
So this is what I got:
> Have you tried without any library? For instance just an expression
> like
>
> foo \sqexpr{1+2} bar
Yes, (in a file test.tex) I get
foo ??sysquake?? bar
>
> If it doesn't work, try running sysquakelatextool from a command
> prompt:
>
> sysquakelatextool test.lme
I get
% Generated by sysquakelatextool 1.0
% LME 4.7
%
http://www.calerga.com
\def\lmefragi{%
\ensuremath{3}}
Run the same on sq-example.lme
% Generated by sysquakelatextool 1.0
% LME 4.7
%
http://www.calerga.com
\def\lmefragi{%
\ensuremath{3.1416}}
\def\lmefragii{%
\ensuremath{-1+1.2246\cdot10^{-16}j}}
\def\lmefragiii{%
\ensuremath{\left[ \begin{array}{ccc}8
&1
&6\\
3
&5
&7\\
4
&9
&2\end{array}\right]}}
\def\lmefragiv{%
}
\def\lmefragv{%
\ensuremath{\left[ \begin{array}{cccc}0.236
&0.2631
&0.2969
&0.7214\\
0.9245
&0.7002
&0.4465
&0.7271\\
0.9628
&0.2232
&0.3343
&0.8977\\
0.1625
&0.9002
&1.7776\cdot10^{-2}
&0.2891\end{array}\right]}}
\def\lmefragvi{%
\[ \lambda_1 = \ensuremath{1.9707} \]
\[ \lambda_2 = \ensuremath{-0.2471} \]
\[ \lambda_3 = \ensuremath{-8.1966\cdot10^{-2}+0.4382j} \]
\[ \lambda_4 = \ensuremath{-8.1966\cdot10^{-2}-0.4382j} \]
}
\def\lmefragvii{%
\begin{picture}(300,170)
\put(0,-15){\includegraphics{lmefragvii.eps}}
\end{picture}
}
\def\lmefragviii{%
\begin{picture}(300,170)
\put(0,-15){\includegraphics{lmefragviii.eps}}
\end{picture}
}
\def\lmefragix{%
\begin{picture}(300,170)
\put(0,-15){\includegraphics{lmefragix.eps}}
\end{picture}
}
>
> It should write latex definitions without error.
>
> Then you can try a builtin graphical command:
>
> \begin{sysquake}(100,80)
> plot(rand(10));
> \end{sysquake}
Again, what I get is:
??sysquake??
>
> If it doesn't work, try with pdflatex instead of latex if you haven't.
I have tried everything with pdflatex (my default compiler for latex).
I have also tried regular latex but I get the same results (on the
dvi)
I run sysquakelatextool on the new test.lme (with the graph) and got:
% Generated by sysquakelatextool 1.0
% LME 4.7
%
http://www.calerga.com
\def\lmefragi{%
\ensuremath{3}}
\def\lmefragii{%
\begin{picture}(100,50)
\put(0,-15){\includegraphics{lmefragii.eps}}
\end{picture}
}
>
> Please tell us what works and what doesn't!
So, it is writing the LaTeX commands but not compiling ...!!!... The
conclusion is then obvious ... It is not recompiling the tex file ....
(bulb lights up!) .... I had not added the -enable-write18 option to
the pdflatex command!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Execute
pdflatex test.tex -enable-write18
pdflatex sq-example -enable-write18
Now it works beautifully!!!!!!!!!!!!
Thank you!!!!!!!!!!!!
>
> Yves