Package: maxima
Version: 5.27.0-3
Severity: important

Dear Maintainer,

What led up to the situation?

using function wxdraw2d() from package draw in wxmaxima

Function draw2d() works but function wxdraw2d works not,
because produced gnuplot script "maxout.gnuplot" contains
a syntax error in the "set terminal" command at the first line.
Therefore, no Plott is generated.

using wxdraw2d() first line in maxout.gnuplot is:
set terminal png enhanced truecolor  size 500, 300 xffffff

but should be
set terminal png enhanced truecolor  size 500, 300 #ffffff

I could solve the problem as follows:

in file "/usr/share/maxima/5.27.0/share/draw/grcommon.lisp"
is a function called "hex-to-xhex" in line 321

I changed it from:
(defun hex-to-xhex (str)
    (concatenate 'string "x" (subseq str 1)))

to:
(defun hex-to-xhex (str)
    (concatenate 'string "#" (subseq str 1)))

Now the PNG is created and displayed in wxmaxima.
But I don't know what side effects this change includes.

Best regards,
Andreas



-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages maxima depends on:
ii  gnuplot-qt [gnuplot-x11]  4.6.0-8
ii  libc6                     2.13-38+deb7u3
ii  libgmp10                  2:5.0.5+dfsg-2
ii  libreadline6              6.2+dfsg-0.1
ii  libx11-6                  2:1.5.0-1+deb7u1

Versions of packages maxima recommends:
ii  maxima-share  5.27.0-3

Versions of packages maxima suggests:
ii  maxima-doc    5.27.0-3
pn  maxima-emacs  <none>
pn  texmacs       <none>
ii  tk8.4 [wish]  8.4.19-5
pn  xmaxima       <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to