From: Alasdair M. <am...@gm...> - 2014-09-08 04:14:08
|
I don't know whether it's my system, or something more generic, but the delay between entering a command in imaxima and having the solution produced is about 7 or 8 seconds. And we're talking about things like "2+2". This is frustratingly - all but unusably - slow. Back to the console, or maybe wxmaxima... -Alasdair On Sun, Sep 7, 2014 at 2:15 AM, Robert Dodier <rob...@gm...> wrote: > About the apparent time delay generating the imaxima display, > one of the recent patches for imaxima includes several > more packages in the generated LaTeX output ... > maybe it's taking more time to process those packages? > Is it perhaps possible to pare down the list of packages? > > I've taken the liberty of forwarding this message to the > discussion list in case anyone else has something to say about it. > > best, > > Robert Dodier > > PS. > commit 873f253bae9d55be7241d690a48ea4baa9676885 > Author: Robert Dodier <rob...@us...> > Date: Wed Jun 4 19:34:25 2014 -0700 > > Commit patch from David Ronis to put package and command stuff > into LaTeX boilerplate. > Fixes bug # 2741: imaxima preamble broken for display in emacs > > diff --git a/interfaces/emacs/imaxima/imaxima.el > b/interfaces/emacs/imaxima/imaxima.el > index 5cbb884..88fe865 100644 > --- a/interfaces/emacs/imaxima/imaxima.el > +++ b/interfaces/emacs/imaxima/imaxima.el > @@ -609,6 +609,7 @@ This command does not work in XEmacs." > (insert "\\documentclass[leqno]{article} > \\usepackage{verbatim} > \\usepackage[cmbase]{flexisym} > +\\usepackage{color} > \\usepackage{breqn} > \\setkeys{breqn}{compact} > > @@ -860,6 +861,20 @@ temporary files. Use linearized form if LINEAR > is non-nil." > ;;"\\batchmode\n" > (format "\\documentclass[%dpt,leqno]{article}\n" imaxima-pt-size) > "\n% mylatex\n" > + "\\usepackage{color}\n" > + "\\usepackage{exscale}\n" > + "\\usepackage[cmbase]{flexisym}\n" > + "\\usepackage{breqn}\n" > + "\\setkeys{breqn}{compact}\n" > + "\\setlength{\\textheight}{200cm}\n" > + "\\newcommand{\\boxed}[1]{\\fbox{\\m@th$\\displaystyle#1$}}\n" > + "\\newcommand{\\ifrac}[2]{\\frac{#1}{#2}}\n" > + "\\newcommand{\\ifracd}[2]{\\frac{#1}{#2}}\n" > + "\\newcommand{\\ifracn}[2]{\\frac{#1}{#2}}\n" > + "\\newcommand{\\isubscript}[2]{{#1}_{#2}}\n" > + "\\newcommand{\\iexpt}[2]{{#1}^{#2}}\n" > + "\\newcommand{\\isqrt}[1]{\\sqrt{#1}}\n" > + > (format "\\setlength{\\textwidth}{%dmm}\n" > (round (/ (imaxima-get-window-width) > imaxima-scale-factor))) > -- Blog: http://amca01.wordpress.com Web: http://sites.google.com/site/amca01/ Facebook: http://www.facebook.com/alasdair.mcandrew |