On 05/05/2011 6:14 PM, Julien Rioux wrote:
On 29/04/2011 10:52 PM, Dana Chandler wrote:
Hello --

I am new to LyX and am wondering how to get LyX and maxima working
together.
I have them both on my computer and when I try highlighting an
equation in
LyX and going through the menus to select maxima, I just get a blank
expression.

Does anyone have any pointers to how to install it? I am on a Mac.

Thanks in advance,
Dana


Hi,

You might need to put the path to the maxima executable in Tools >
Preferences > Paths > PATH prefix (add it there, using ; to separate it
from the other paths)

Also I'm not sure that it works with symbolic expressions. What did you
try? Did you try something really simple as in 2+2 -> Maxima -> 2+2=4
(this worked for me using Octave as I don't have Maxima installed)


hmm actually entering $x-2x$ in LyX and using the Octave resulted in a LyX crash :(

--
Julien

--
lyx -dbg all
finding '[char = mathalpha]' in '[char x mathalpha][char - mathalpha][char 2 mathalpha][char x mathalpha]' finding '[char = mathalpha]' in '[char x mathalpha][char - mathalpha][char 2 mathalpha][char x mathalpha]' finding '[char = mathalpha]' in '[char x mathalpha][char - mathalpha][char 2 mathalpha][char x mathalpha]' finding '[char = mathalpha]' in '[char x mathalpha][char - mathalpha][char 2 mathalpha][char x mathalpha]' use whole cell: [char x mathalpha][char - mathalpha][char 2 mathalpha][char x mathalpha] pipe: ar: '[char x mathalpha][char - mathalpha][char 2 mathalpha][char x mathalpha]'
pipe: expr: 'x-2 x '
checking expr: 'x-2 x '
calling: octave -q 2>&1
input: 'x-2 x '
output: 'parse error:

  syntax error

>>> x-2 x
         ^

'
skipping line: 'parse error:'
skipping line: ''
skipping line: '  syntax error'
skipping line: ''
skipping line: '>>> x-2 x '
caret line: '         ^'
found caret at pos: '9'
checking expr: 'x-2 x* '
calling: octave -q 2>&1
input: 'x-2 x* '
output: 'parse error:

  syntax error

>>> x-2 x*
        ^

'
skipping line: 'parse error:'
skipping line: ''
skipping line: '  syntax error'
skipping line: ''
skipping line: '>>> x-2 x* '
caret line: '        ^'
found caret at pos: '8'
checking expr: 'x-2 *x* '
calling: octave -q 2>&1
input: 'x-2 *x* '
output: 'parse error:

  syntax error

>>> x-2 *x*
            ^

'
skipping line: 'parse error:'
skipping line: ''
skipping line: '  syntax error'
skipping line: ''
skipping line: '>>> x-2 *x* '
caret line: '            ^'
found caret at pos: '12'
/usr/include/c++/4.4/bits/basic_string.h:745: typename _Alloc::rebind<_CharT>::other::reference std::basic_string<Char, Traits, Alloc>::operator[](typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]: Assertion '__pos < size()' failed.
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
/home/username/15177: No such file or directory.
No stack.

Reply via email to