mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Problems with recent versions of Maxima [was Re: maxima plugin in macosx binary version (dmg v 1.99)]


Chronological Thread 
  • From: Kostas Oikonomou <address@hidden>
  • To: Joris van der Hoeven <address@hidden>, TeXmacs <address@hidden>
  • Subject: Re: [TeXmacs] Problems with recent versions of Maxima [was Re: maxima plugin in macosx binary version (dmg v 1.99)]
  • Date: Wed, 05 Mar 2014 12:32:17 -0500

The fix for 'myprinc' is: edit plugins/maxima/lisp/texmacs-maxima.lisp
as follows

(defun texmacs (x)
(let ((ccol 1))
(mapc #'(lambda (x) (myprinc x t))
(tex x '("latex:$\\displaystyle ") '("$
") 'mparen 'mparen))))

On 03/05/2014 12:19, Joris van der Hoeven wrote:
> On Wed, Mar 05, 2014 at 12:06:28PM +0100, Miguel de Benito Delgado wrote:
>> http://lists.texmacs.org/wws/arc/texmacs-users/2014-01/msg00058.html
> Thanks for the reminder, Miguel.
>
> In fact the fix proposed by Francois induces an error on my system,
> so I reverted it. A more robust fix should be proposed.
>
> I also noticed some other problems. One old standing was is
> a half dozen of warning messages when starting up Maxima.
> I applied a patch by John Lapeyre that I found on the web,
> which seems to fix this problem.
>
> Yet another problem is the apparent change of semantics of
> the 'myprinc' function, which used to take one argument and
> suddenly takes two arguments in recent versions.
> I do not know enough of Lisp to fix that in a clean way.
>
> One final problem is that some spurious whitespace is sent to
> TeXmacs in an apparently random way. For instance:
>
> TeXmacs] debug-io,
> ------------------------------------------------------------------------------
> TeXmacs] debug-io, [INPUT]diff(x^x,x,4);
> TeXmacs] debug-io,
> TeXmacs] debug-io, [BEGIN]latex:$\displaystyle
> \mbox{\tt\red(\mathrm{\%o4}) \black}x^{x-1}\*
> TeXmacs] debug-io, \left(\log
> \left(x\right)+{{x-1}\over{x}}\right)^2+x^{x}\*\left(
> TeXmacs] debug-io, \log \left(x\right)+1\right)^4+3\*x^{x-1}\*\left(\log
> \left(x\right)
> TeXmacs] debug-io, +1\right)^2+2\*x^{x-1}\*\left(\log
> \left(x\right)+1\right)\*\left(
> TeXmacs] debug-io, \log
> \left(x\right)+{{x-1}\over{x}}\right)+\left({{2}\over{x}}-{{x-1
> TeXmacs] debug-io, }\over{x^2}}\right)\*x^{x-1}+2\*x^{x-2}$[END]
> TeXmacs] debug-io, [BEGIN]channel:prompt[END][BEGIN]latex:\red
> (\mathrm{\%i}5) \black[END][END]
> TeXmacs] debug-io,
> ------------------------------------------------------------------------------
>
> The problem here is the whitespace between the [INPUT] line and [BEGIN],
> which leads to an ugly output. Maybe Andrey knows how to fix this bug,
> as well as the other ones.
>
> Best wishes, --Joris




Archive powered by MHonArc 2.6.19.

Top of page