Re: add 2 bullts shapes in 1 document

2016-10-18 Thread edu Gpl
Dear Charles
Thank You
now, it's good.
i made some different examples for lyx users.

best regards


2016-10-18 18:52 GMT+03:00 Charles de Miramon :

> You have to insert \usepackage{amssymb} in the preamble of your main
> document.
>
> If you insert a child document in a main document, the preamble of the
> child document will not be added only the main part of the child
> document.
>
> Cheers,
> Charles
>
> 2016-10-18 17:32 GMT+02:00 edu Gpl :
> > Thankyou Charles
> > i got this msg:
> > \item ط£
> >
> > - ط§ظ„ظپط§
> >
> > The control sequence at the end of the top line
> >
> > of your error message was never \def'ed. If you have
> >
> > misspelled it (e.g., `\hobx'), type `I' and the correct
> >
> > spelling (e.g., `I\hbox'). Otherwise just continue,
> >
> > and I'll forget about whatever was undefined.
> >
> >
> > best regards
> >
> >
> >
> >
> > 2016-10-18 1:42 GMT+03:00 Charles de Miramon  >:
> >>
> >> edu Gpl wrote:
> >>
> >> > Dear Paul, lyx users
> >> >
> >> > please how i can add differents bullts in the same document ?
> >> > Example: in attachment files i used main documnts with bullts (shape =
> >> > dots), and child documents "exam" with bullts (shape = square), but
> when
> >> > i
> >> > generated pdf file, i got all the bullts with ( shape = dots ) like
> the
> >> > attachment files.
> >> >
> >> > best regards
> >>
> >> You will have to change the bullet shape before your second list.
> >>
> >> Insert in a latex inset (Ctrl-L) : \renewcommand{\labelitemi}{\(\
> square\)}
> >>
> >> \renewcommand is a basic LateX command that redefines a macro. Here
> >> \labelitemi the macro that insert the bullet for a first level bullet
> >> list.
> >>
> >> You redefine the macro to insert a square  \(\square\). It will work if
> >> you
> >> have loaded the amssymb package in your preamble, so add this line
> >> \usepackage{amssymb}.
> >>
> >> To understand more about lists :
> >>
> >> http://texblog.org/2008/10/16/lists-enumerate-itemize-
> description-and-how-to-change-them/
> >>
> >> Cheers,
> >> Charles
> >>
> >>
> >>
> >
>
>
>
> --
> Charles de Miramon
> Centre de Recherches Historiques
> Laboratoire EHESS / CNRS
> 54, bd Raspail
> 75270 Paris Cedex 06
> mira...@ehess.fr
> http://gas.ehess.fr/document.php?id=133
>


buillts.lyx
Description: application/lyx


buillts.pdf
Description: Adobe PDF document


Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Paola Manzini

On 18 Oct 2016, at 16:49, Kornel Benko > 
wrote:

Am Dienstag, 18. Oktober 2016 um 15:32:08, schrieb Paola Manzini 
>
...

hi Stephan, thanks for the scissor tip, will never look at 8< the same way 
again :-)
I’ve followed all your steps, but sadly still nothing has changed - tough maybe 
I have erred somewhere? Here is what I did:
First of all I created the wrapper file, and put it in HOME\bin, which I had 
already created following your instructions.
Then I’ve run
$ cat $HOME/bin/maxima
in the terminal window, and got the two lines of the new “wrapper” file.
Then put both ~/bin and HOME/bin in the LyX path for good measure, reconfigured 
LyX, closed Lyx and relaunched it, and again, it does not work.
So I thought maybe I should also have run the last two of the three other lines 
of code to be run in the terminal. Did that, but as you can see from the 
attachment after running that command I do not get a “$” sign, but a “>” as 
terminal prompt. Maybe this is the problem?
Thanks for your patience!

No problem. Simply type the 2 lines, cat is awaiting input.
To end the input you have to enter EOF, probably it is control+D.

Kornel


thanks Kornel (and Stephan), but now the result is that the maxima wrapper has 
been overwritten by empty lines!

So just to recap what I’ve done:

1. created the wrapper file, called it maxima, put it in HOME/bin, and checked 
it is there with the correct content by running the command “$ cat 
$HOME/bin/maxima” (no quotes) in the terminal window; I can also see the file 
in finder

2. run the three commands in the terminal window, where after the second line I 
had to use ctrl D to signal end of file

as a result, the “maxima” file has become an empty file (indeed, running “$ cat 
$HOME/bin/maxima” in the terminal window returns empty lines.

No change in behaviour in Lyx. If it helps, I have also Maple and Mathematica 
installed on my machine, but no luck invoking them from LyX either.

screenshot of terminal window is attached in case it is of any help.

Above all, thanks for taking the time with this.

paola

[cid:ABC794F1-941E-48D6-BAAB-68EE6CA2F1D2]




Re: Beamer/Lyx bullets

2016-10-18 Thread Jürgen Spitzmüller
2016-10-18 16:46 GMT+02:00 UD :

> I am trying to get a table of contents slide (this is a presentation
> class) in which each level (section, subsection, subsubsection, etc.) has
> its own bullet shape.  For instance: Sections will have a ball, subsectons
> will have a triangle, subsubsection an asterisks, etc.
> So far, nothing that I had tried did it.
>

How about the attached?

Jürgen


> Ehud Kaplan
>
> --
>
>


Charles-University-November-2016-Beamer.lyx
Description: application/lyx


Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Kornel Benko
Am Dienstag, 18. Oktober 2016 um 15:32:08, schrieb Paola Manzini 

...

> hi Stephan, thanks for the scissor tip, will never look at 8< the same way 
> again :-)
> I’ve followed all your steps, but sadly still nothing has changed - tough 
> maybe I have erred somewhere? Here is what I did: 
> First of all I created the wrapper file, and put it in HOME\bin, which I had 
> already created following your instructions.
> Then I’ve run 
> $ cat $HOME/bin/maxima
> in the terminal window, and got the two lines of the new “wrapper” file. 
> Then put both ~/bin and HOME/bin in the LyX path for good measure, 
> reconfigured LyX, closed Lyx and relaunched it, and again, it does not work.
> So I thought maybe I should also have run the last two of the three other 
> lines of code to be run in the terminal. Did that, but as you can see from 
> the attachment after running that command I do not get a “$” sign, but a “>” 
> as terminal prompt. Maybe this is the problem?
> Thanks for your patience!

No problem. Simply type the 2 lines, cat is awaiting input.
To end the input you have to enter EOF, probably it is control+D.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Paola Manzini

On 18 Oct 2016, at 15:03, Stephan Witt 
> wrote:

Am 18.10.2016 um 15:41 schrieb Paola Manzini 
>:


On 18 Oct 2016, at 13:41, Stephan Witt 
> wrote:

Am 18.10.2016 um 13:58 schrieb Paola Manzini 
>:


On 18 Oct 2016, at 12:33, Kornel Benko > 
wrote:

Am Dienstag, 18. Oktober 2016 um 11:10:06, schrieb Paola Manzini 
>
...

Hi all,

I’ve searched the list and though this is not the first time the problem
is
noted, I haven’t been able to find any solution. The short of it is: it
just won’t work. So for instance if I type “5+2” then invoke
Edit/Math/CAS,
I only get a lonely = side to the right of the expression, and no result
(see screenshot)>

...

What happens if you call maxima from the console window and input the
string '(5+2);' followed by ? Here I get:
(%i1) (5+2);
(%o1)  7
(%i2)


...

from the console I get the same as you:

 (%i2) 5+2;
 (%o2)  7
 (%i3)

It should work. Do you have the same PATH settings on console?
Note, that I am not on MAC, so only guessing.

Kornel

I know it should work, which is why it is sooo frustrating! I cannot see any 
path settings in the Terminal, but I have put in lyX the same address as the 
one invoked for Maxima run from a terminal window, and still no joy!

The problem is that LyX contains the call of the external utility as hard-coded 
string and it is „maxima“.

The only solution I can see is to wrap the wrapper script „maxima.sh“ located 
inside the Maxima.app bundle
with a utility script like the following code (I cannot attach it - every virus 
checker will block the transport):
=== 8< snip here >8 ===
#!/bin/sh
exec /Applications/Maxima.app/Contents/Resources/maxima.sh "$@"
=== 8< snip here >8 ===

In terminal you may do this:
$ mkdir -p $HOME/bin
$ cat - > $HOME/bin/maxima < means joining the two “8”?
thanks!

1. You need to create the wrapper first and may try it (after creating it) in 
terminal by typing "$HOME/bin/maxima“
2. The wrapper should be placed in folder $HOME/bin (which is created first in 
case it doesn’t exist already by „mkdir“)
3. The snip surrounded two lines is the contents of the wrapper script - „8<" 
and „>8" are the two scissors :)

To explain the terminal commands:
The first terminal command is ensuring the existence of the folder „$HOME/bin“.
The second one (starting with „cat“ and ending with EOF) is one the way to 
create the wrapper script without any editor.
The third command is making your new wrapper script executable.

The 2nd command needs to be entered exactly as you see it.

You can verify what you did by using the terminal command:


It should give you the 2-line-script between the lines surrounded by the 
scissors.

The problem why you has to do it yourself is: I cannot send you any shell 
script.
No virus scanner will let it through. It doesn’t matter if it is useful or not.

Regards,
Stephan


hi Stephan, thanks for the scissor tip, will never look at 8< the same way 
again :-)

I’ve followed all your steps, but sadly still nothing has changed - tough maybe 
I have erred somewhere? Here is what I did:

First of all I created the wrapper file, and put it in HOME\bin, which I had 
already created following your instructions.

Then I’ve run

$ cat $HOME/bin/maxima
in the terminal window, and got the two lines of the new “wrapper” file.

Then put both ~/bin and HOME/bin in the LyX path for good measure, reconfigured 
LyX, closed Lyx and relaunched it, and again, it does not work.

So I thought maybe I should also have run the last two of the three other lines 
of code to be run in the terminal. Did that, but as you can see from the 
attachment after running that command I do not get a “$” sign, but a “>” as 
terminal prompt. Maybe this is the problem?

Thanks for your patience!

[cid:8A192AE1-9B99-4D85-AA95-710AAD5B3990@st-andrews.ac.uk]




Re: Beamer/Lyx bullets

2016-10-18 Thread UD

  
  
I am trying to get a table of contents slide (this is a presentation
class) in which each level (section, subsection, subsubsection,
etc.) has its own bullet shape.  For instance: Sections will have a
ball, subsectons will have a triangle, subsubsection an asterisks,
etc.   
So far, nothing that I had tried did it.
Ehud Kaplan 

On 10/17/2016 12:57 PM, Jürgen
  Spitzmüller wrote:


  Am Montag, den 17.10.2016, 12:16 +0200 schrieb UD:

  
As you can see from the attached files, this too fails to produce
what I 
wanted, which is described completely in the previous postings.

  
  
The settings work exactly as advertised.

Please describe more precisely what you are actually trying to achieve.

Jürgen


-- 

  



Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Stephan Witt
Am 18.10.2016 um 15:41 schrieb Paola Manzini :
> 
> 
>> On 18 Oct 2016, at 13:41, Stephan Witt  wrote:
>> 
>> Am 18.10.2016 um 13:58 schrieb Paola Manzini :
>>> 
>>> 
 On 18 Oct 2016, at 12:33, Kornel Benko  wrote:
 
 Am Dienstag, 18. Oktober 2016 um 11:10:06, schrieb Paola Manzini 
 
 ...
 
>>> Hi all,
>>> 
>>> I’ve searched the list and though this is not the first time the problem
>>> is
>>> noted, I haven’t been able to find any solution. The short of it is: it
>>> just won’t work. So for instance if I type “5+2” then invoke
>>> Edit/Math/CAS,
>>> I only get a lonely = side to the right of the expression, and no result
>>> (see screenshot)>
 
 ...
 
>> What happens if you call maxima from the console window and input the
>> string '(5+2);' followed by ? Here I get:
>> (%i1) (5+2);
>> (%o1)  7
>> (%i2)
>> 
 
 ...
 
> from the console I get the same as you:
> 
>   (%i2) 5+2;
>   (%o2)  7
>   (%i3)
 
 It should work. Do you have the same PATH settings on console?
 Note, that I am not on MAC, so only guessing.
 
 Kornel
>>> 
>>> I know it should work, which is why it is sooo frustrating! I cannot see 
>>> any path settings in the Terminal, but I have put in lyX the same address 
>>> as the one invoked for Maxima run from a terminal window, and still no joy!
>> 
>> The problem is that LyX contains the call of the external utility as 
>> hard-coded string and it is „maxima“.
>> 
>> The only solution I can see is to wrap the wrapper script „maxima.sh“ 
>> located inside the Maxima.app bundle
>> with a utility script like the following code (I cannot attach it - every 
>> virus checker will block the transport):
>> === 8< snip here >8 ===
>> #!/bin/sh
>> exec /Applications/Maxima.app/Contents/Resources/maxima.sh "$@"
>> === 8< snip here >8 ===
>> 
>> In terminal you may do this:
>> $ mkdir -p $HOME/bin
>> $ cat - > $HOME/bin/maxima <> #!/bin/sh
>> exec /Applications/Maxima.app/Contents/Resources/maxima.sh "\$@"
>> EOF
>> $ chmod +x $HOME/bin/maxima
>> 
>> Then verify that "$HOME/bin“ is in LyX’s configured PATH - either as written 
>> or as "~/bin".
>> 
>> Then it should work.
>> 
>> Regards,
>> Stephan
>> 
>> PS: Be careful with the quotation marks and the backslash. They’re essential.
>> 
> 
> many thanks Stephan, I’ll try, but as I am as far from a techie as you can 
> imagine, some questions for you: 
> 1. are these two alternative methods, or do I need first to create the 
> wrapper, then run from the terminal? 
> 2. where should I save the wrapper, and with what name?
> 3. the  means joining the two “8”?
> thanks!

1. You need to create the wrapper first and may try it (after creating it) in 
terminal by typing "$HOME/bin/maxima“
2. The wrapper should be placed in folder $HOME/bin (which is created first in 
case it doesn’t exist already by „mkdir“)
3. The snip surrounded two lines is the contents of the wrapper script - „8<" 
and „>8" are the two scissors :)

To explain the terminal commands:
The first terminal command is ensuring the existence of the folder „$HOME/bin“.
The second one (starting with „cat“ and ending with EOF) is one the way to 
create the wrapper script without any editor.
The third command is making your new wrapper script executable.

The 2nd command needs to be entered exactly as you see it.

You can verify what you did by using the terminal command:
$ cat $HOME/bin/maxima

It should give you the 2-line-script between the lines surrounded by the 
scissors.

The problem why you has to do it yourself is: I cannot send you any shell 
script.
No virus scanner will let it through. It doesn’t matter if it is useful or not.

Regards,
Stephan

Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Paola Manzini

On 18 Oct 2016, at 13:41, Stephan Witt 
> wrote:

Am 18.10.2016 um 13:58 schrieb Paola Manzini 
>:


On 18 Oct 2016, at 12:33, Kornel Benko > 
wrote:

Am Dienstag, 18. Oktober 2016 um 11:10:06, schrieb Paola Manzini 
>
...

Hi all,

I’ve searched the list and though this is not the first time the problem
is
noted, I haven’t been able to find any solution. The short of it is: it
just won’t work. So for instance if I type “5+2” then invoke
Edit/Math/CAS,
I only get a lonely = side to the right of the expression, and no result
(see screenshot)>

...

What happens if you call maxima from the console window and input the
string '(5+2);' followed by ? Here I get:
(%i1) (5+2);
(%o1)  7
(%i2)


...

from the console I get the same as you:

  (%i2) 5+2;
  (%o2)  7
  (%i3)

It should work. Do you have the same PATH settings on console?
Note, that I am not on MAC, so only guessing.

Kornel

I know it should work, which is why it is sooo frustrating! I cannot see any 
path settings in the Terminal, but I have put in lyX the same address as the 
one invoked for Maxima run from a terminal window, and still no joy!

The problem is that LyX contains the call of the external utility as hard-coded 
string and it is „maxima“.

The only solution I can see is to wrap the wrapper script „maxima.sh“ located 
inside the Maxima.app bundle
with a utility script like the following code (I cannot attach it - every virus 
checker will block the transport):
=== 8< snip here >8 ===
#!/bin/sh
exec /Applications/Maxima.app/Contents/Resources/maxima.sh "$@"
=== 8< snip here >8 ===

In terminal you may do this:
$ mkdir -p $HOME/bin
$ cat - > $HOME/bin/maxima < means joining the two “8”?

thanks!

paola






Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Stephan Witt
Am 18.10.2016 um 13:58 schrieb Paola Manzini :
> 
> 
>> On 18 Oct 2016, at 12:33, Kornel Benko  wrote:
>> 
>> Am Dienstag, 18. Oktober 2016 um 11:10:06, schrieb Paola Manzini 
>> 
>> ...
>> 
> Hi all,
> 
> I’ve searched the list and though this is not the first time the problem
> is
> noted, I haven’t been able to find any solution. The short of it is: it
> just won’t work. So for instance if I type “5+2” then invoke
> Edit/Math/CAS,
> I only get a lonely = side to the right of the expression, and no result
> (see screenshot)>
>> 
>> ...
>> 
 What happens if you call maxima from the console window and input the
 string '(5+2);' followed by ? Here I get:
 (%i1) (5+2);
 (%o1)  7
 (%i2)
 
>> 
>> ...
>> 
>>> from the console I get the same as you:
>>> 
>>>(%i2) 5+2;
>>>(%o2)  7
>>>(%i3)
>> 
>> It should work. Do you have the same PATH settings on console?
>> Note, that I am not on MAC, so only guessing.
>> 
>> Kornel
> 
> I know it should work, which is why it is sooo frustrating! I cannot see any 
> path settings in the Terminal, but I have put in lyX the same address as the 
> one invoked for Maxima run from a terminal window, and still no joy!

The problem is that LyX contains the call of the external utility as hard-coded 
string and it is „maxima“.

The only solution I can see is to wrap the wrapper script „maxima.sh“ located 
inside the Maxima.app bundle
with a utility script like the following code (I cannot attach it - every virus 
checker will block the transport):
=== 8< snip here >8 ===
#!/bin/sh
exec /Applications/Maxima.app/Contents/Resources/maxima.sh "$@"
=== 8< snip here >8 ===

In terminal you may do this:
$ mkdir -p $HOME/bin
$ cat - > $HOME/bin/maxima <

Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Paola Manzini

On 18 Oct 2016, at 12:33, Kornel Benko > 
wrote:

Am Dienstag, 18. Oktober 2016 um 11:10:06, schrieb Paola Manzini 
>
...

Hi all,

I’ve searched the list and though this is not the first time the problem
is
noted, I haven’t been able to find any solution. The short of it is: it
just won’t work. So for instance if I type “5+2” then invoke
Edit/Math/CAS,
I only get a lonely = side to the right of the expression, and no result
(see screenshot)>

...

What happens if you call maxima from the console window and input the
string '(5+2);' followed by ? Here I get:
(%i1) (5+2);
(%o1)  7
(%i2)


...

from the console I get the same as you:

   (%i2) 5+2;
   (%o2)  7
   (%i3)

It should work. Do you have the same PATH settings on console?
Note, that I am not on MAC, so only guessing.

Kornel


I know it should work, which is why it is sooo frustrating! I cannot see any 
path settings in the Terminal, but I have put in lyX the same address as the 
one invoked for Maxima run from a terminal window, and still no joy!




Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Kornel Benko
Am Dienstag, 18. Oktober 2016 um 11:10:06, schrieb Paola Manzini 

...

> > > Hi all,
> > > 
> > > I’ve searched the list and though this is not the first time the problem
> > > is
> > > noted, I haven’t been able to find any solution. The short of it is: it
> > > just won’t work. So for instance if I type “5+2” then invoke
> > > Edit/Math/CAS,
> > > I only get a lonely = side to the right of the expression, and no result
> > > (see screenshot)>

...

> > What happens if you call maxima from the console window and input the
> > string '(5+2);' followed by ? Here I get:
> > (%i1) (5+2);
> > (%o1)  7
> > (%i2)
> > 

...

> from the console I get the same as you:
> 
> (%i2) 5+2;
> (%o2)  7
> (%i3)

It should work. Do you have the same PATH settings on console?
Note, that I am not on MAC, so only guessing.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Paola Manzini

On 18 Oct 2016, at 12:27, Stephan Witt 
> wrote:

Am 18.10.2016 um 13:10 schrieb Paola Manzini 
>:


On 18 Oct 2016, at 12:05, Kornel Benko > 
wrote:

Am Dienstag, 18. Oktober 2016 um 10:57:08, schrieb Paola Manzini 
>
On 18 Oct 2016, at 11:39, Kornel Benko 
> wrote:

Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 
>
Hi all,

I’ve searched the list and though this is not the first time the problem is 
noted, I haven’t been able to find any solution. The short of it is: it just 
won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, I only 
get a lonely = side to the right of the expression, and no result (see 
screenshot)

I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the same 
problem under Maverick and El Capitan with previous Lyx versions, namely, 
nothing happens.

I have specified the paths correctly (I think) to where the apps are 
(Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
software calling the app (math-extern maxima), or (math-extern mathematica), 
but no result is churned out.

Here is what I have in the "PATH prefix" field under Lyx->Preferences->Paths:

/Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
 18/Maple 18.app

Can anyone please help?

Many thanks,
Paola

[cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]


I'd try calling lyx with '-dbg mathed' parameter from a console window.
Alternatively use View->Messages Pane->Settings
Check 'Selected'
Double click on 'mathed - Math editor'
back to 'Output'
...
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'
Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
12:31:27.889: Automatický úklad hotový.

Here it shows:
12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: checking expr: 
'5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'

Kornel

many thanks Kornel for your prompt reply, I’ve tried what you suggested, and 
what I got is no output, namely:

11:55:08.254: (math-extern maxima)finding 'finding 'finding 'use whole cell: 
checking expr: '5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);’

does this suggest where the problem is?

No, missing: output: '7'

What happens if you call maxima from the console window and input the string 
'(5+2);' followed by ?
Here I get:
(%i1) (5+2);
(%o1)  7
(%i2)

thanks,
Paola

Kornel

from the console I get the same as you:
(%i2) 5+2;
(%o2)  7
(%i3)

How did you call maxima in terminal?

I have it installed too and it looks like that:

$ ls -l /Applications/Maxima.app/Contents/Resources
total 480
-rw-r--r--@ 1 stephan  admin 577 22 Apr  2013 AppSettings.plist
-rw-r--r--@ 1 stephan  admin   27964 22 Apr  2013 MainMenu.nib
-rw-r--r--@ 1 stephan  admin  198769  4 Dez  2012 appIcon.icns
drwxr-xr-x@ 7 stephan  admin 238 22 Apr  2013 maxima
-rwxr-xr-x@ 1 stephan  admin 341 22 Apr  2013 maxima.sh
-rw-r--r--@ 1 stephan  admin1358 18 Nov  2012 script
-rwxr-xr-x@ 1 stephan  admin 409 22 Apr  2013 xmaxima.sh
$ /Applications/Maxima.app/Contents/Resources/maxima/bin/maxima
/Applications/Maxima.app/Contents/Resources/maxima/bin/maxima: line 199: exec: 
sbcl: not found
$ /Applications/Maxima.app/Contents/Resources/maxima.sh
Maxima 5.30.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.55.0-abb03f9
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1)


It seems one has to start maxima.sh to get the command line interface. I’m not 
sure LyX knows it.
In any case one has to add "/Applications/Maxima.app/Contents/Resources“ to the 
PATH.

Stephan


thanks Stephan, I used “exec 
'/Applications/Maxima.app/Contents/Resources/maxima.sh’ “

although I also just launch the Maxima.app from the launcher. At any rate I 
have added your line to the path, reconfigured LyX, closed and reopened, but 
alas no change :-(




Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Paola Manzini
Le 18 oct. 2016 à 13:06 +0200, Kornel Benko 
>, a écrit :
Am Dienstag, 18. Oktober 2016 um 10:57:08, schrieb Paola Manzini 

On 18 Oct 2016, at 11:39, Kornel Benko 
> wrote:

Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 
Preferences->Paths:

/Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
 18/Maple 18.app

Can anyone please help?

Many thanks,
Paola

[cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]


I'd try calling lyx with '-dbg mathed' parameter from a console window.
Alternatively use View->Messages Pane->Settings
Check 'Selected'
Double click on 'mathed - Math editor'
back to 'Output'
...
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'
Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
12:31:27.889: Automatický úklad hotový.

Here it shows:
12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: checking expr: 
'5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'

Kornel

many thanks Kornel for your prompt reply, I’ve tried what you suggested, and 
what I got is no output, namely:

11:55:08.254: (math-extern maxima)finding 'finding 'finding 'use whole cell: 
checking expr: '5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);’

does this suggest where the problem is?

No, missing: output: '7'

What happens if you call maxima from the console window and input the string 
'(5+2);' followed by ?
Here I get:
(%i1) (5+2);
(%o1) 7
(%i2)

thanks,
Paola

Kornel


On 18 Oct 2016, at 12:13, Murat Yildizoglu 
> wrote:

Hi Kornelm
I think that yolu should point İnci'de the .app package, where the unix binary 
lives.
I do not have my laptop with me, but it could be the Macos folder in the app 
package (your .app file is in fact a bundle containing sub folders, and one of 
them contains the maxima binary

Prof. Murat Yildizoglu

thanks Murat, but that does not make a difference either, unfortunately, I just 
tried by adding

/Applications/Maxima.app/Contents/MacOS/Maxima

to the path, but the outcome is the same: just “5+2=“, but no output.


Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Stephan Witt
Am 18.10.2016 um 13:10 schrieb Paola Manzini :
> 
> 
>> On 18 Oct 2016, at 12:05, Kornel Benko  wrote:
>> 
>> Am Dienstag, 18. Oktober 2016 um 10:57:08, schrieb Paola Manzini 
>> 
>>> On 18 Oct 2016, at 11:39, Kornel Benko 
>>> > wrote:
>>> 
>>> Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 
>>> >
>>> Hi all,
>>> 
>>> I’ve searched the list and though this is not the first time the problem is 
>>> noted, I haven’t been able to find any solution. The short of it is: it 
>>> just won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, 
>>> I only get a lonely = side to the right of the expression, and no result 
>>> (see screenshot)
>>> 
>>> I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the 
>>> same problem under Maverick and El Capitan with previous Lyx versions, 
>>> namely, nothing happens.
>>> 
>>> I have specified the paths correctly (I think) to where the apps are 
>>> (Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
>>> software calling the app (math-extern maxima), or (math-extern 
>>> mathematica), but no result is churned out.
>>> 
>>> Here is what I have in the "PATH prefix" field under 
>>> Lyx->Preferences->Paths:
>>> 
>>> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
>>>  18/Maple 18.app
>>> 
>>> Can anyone please help?
>>> 
>>> Many thanks,
>>> Paola
>>> 
>>> [cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]
>>> 
>>> 
>>> I'd try calling lyx with '-dbg mathed' parameter from a console window.
>>> Alternatively use View->Messages Pane->Settings
>>> Check 'Selected'
>>> Double click on 'mathed - Math editor'
>>> back to 'Output'
>>> ...
>>> calling: maxima
>>> input: 'simpsum:true;tex(5 + 2);'
>>> output: '7'
>>> Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
>>> 12:31:27.889: Automatický úklad hotový.
>>> 
>>> Here it shows:
>>> 12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: checking 
>>> expr: '5 + 2'
>>> calling: maxima
>>> input: 'simpsum:true;tex(5 + 2);'
>>> output: '7'
>>> 
>>> Kornel
>>> 
>>> many thanks Kornel for your prompt reply, I’ve tried what you suggested, 
>>> and what I got is no output, namely:
>>> 
>>> 11:55:08.254: (math-extern maxima)finding 'finding 'finding 'use whole 
>>> cell: checking expr: '5 + 2'
>>> calling: maxima
>>> input: 'simpsum:true;tex(5 + 2);’
>>> 
>>> does this suggest where the problem is?
>> 
>> No, missing: output: '7'
>> 
>> What happens if you call maxima from the console window and input the string 
>> '(5+2);' followed by ?
>> Here I get:
>> (%i1) (5+2);
>> (%o1)  7
>> (%i2) 
>> 
>>> thanks,
>>> Paola
>> 
>> Kornel
> 
> from the console I get the same as you:
>   (%i2) 5+2;
>   (%o2)  7
>   (%i3)

How did you call maxima in terminal?

I have it installed too and it looks like that:

$ ls -l /Applications/Maxima.app/Contents/Resources
total 480
-rw-r--r--@ 1 stephan  admin 577 22 Apr  2013 AppSettings.plist
-rw-r--r--@ 1 stephan  admin   27964 22 Apr  2013 MainMenu.nib
-rw-r--r--@ 1 stephan  admin  198769  4 Dez  2012 appIcon.icns
drwxr-xr-x@ 7 stephan  admin 238 22 Apr  2013 maxima
-rwxr-xr-x@ 1 stephan  admin 341 22 Apr  2013 maxima.sh
-rw-r--r--@ 1 stephan  admin1358 18 Nov  2012 script
-rwxr-xr-x@ 1 stephan  admin 409 22 Apr  2013 xmaxima.sh
$ /Applications/Maxima.app/Contents/Resources/maxima/bin/maxima 
/Applications/Maxima.app/Contents/Resources/maxima/bin/maxima: line 199: exec: 
sbcl: not found
$ /Applications/Maxima.app/Contents/Resources/maxima.sh
Maxima 5.30.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.55.0-abb03f9
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) 


It seems one has to start maxima.sh to get the command line interface. I’m not 
sure LyX knows it.
In any case one has to add "/Applications/Maxima.app/Contents/Resources“ to the 
PATH.

Stephan



Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Murat Yildizoglu
Hi Kornelm
I think that yolu should point İnci'de the .app package, where the unix binary 
lives.
I do not have my laptop with me, but it could be the Macos folder in the app 
package (your .app file is in fact a bundle containing sub folders, and one of 
them contains the maxima binary

Prof. Murat Yildizoglu

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: murat.yildizoglu at u-bordeaux.fr

web: www.yildizoglu.fr

Le 18 oct. 2016 à 13:06 +0200, Kornel Benko , a écrit :
> Am Dienstag, 18. Oktober 2016 um 10:57:08, schrieb Paola Manzini 
>  > On 18 Oct 2016, at 11:39, Kornel Benko 
> > > wrote:
> >
> > Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 
> >  > Hi all,
> >
> > I’ve searched the list and though this is not the first time the problem is 
> > noted, I haven’t been able to find any solution. The short of it is: it 
> > just won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, 
> > I only get a lonely = side to the right of the expression, and no result 
> > (see screenshot)
> >
> > I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the 
> > same problem under Maverick and El Capitan with previous Lyx versions, 
> > namely, nothing happens.
> >
> > I have specified the paths correctly (I think) to where the apps are 
> > (Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
> > software calling the app (math-extern maxima), or (math-extern 
> > mathematica), but no result is churned out.
> >
> > Here is what I have in the "PATH prefix" field under 
> > Lyx->Preferences->Paths:
> >
> > /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
> >  18/Maple 18.app
> >
> > Can anyone please help?
> >
> > Many thanks,
> > Paola
> >
> > [cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]
> >
> >
> > I'd try calling lyx with '-dbg mathed' parameter from a console window.
> > Alternatively use View->Messages Pane->Settings
> > Check 'Selected'
> > Double click on 'mathed - Math editor'
> > back to 'Output'
> > ...
> > calling: maxima
> > input: 'simpsum:true;tex(5 + 2);'
> > output: '7'
> > Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
> > 12:31:27.889: Automatický úklad hotový.
> >
> > Here it shows:
> > 12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: checking 
> > expr: '5 + 2'
> > calling: maxima
> > input: 'simpsum:true;tex(5 + 2);'
> > output: '7'
> >
> > Kornel
> >
> > many thanks Kornel for your prompt reply, I’ve tried what you suggested, 
> > and what I got is no output, namely:
> >
> > 11:55:08.254: (math-extern maxima)finding 'finding 'finding 'use whole 
> > cell: checking expr: '5 + 2'
> > calling: maxima
> > input: 'simpsum:true;tex(5 + 2);’
> >
> > does this suggest where the problem is?
>
> No, missing: output: '7'
>
> What happens if you call maxima from the console window and input the string 
> '(5+2);' followed by ?
> Here I get:
> (%i1) (5+2);
> (%o1) 7
> (%i2)
>
> > thanks,
> > Paola
>
> Kornel

Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Paola Manzini

On 18 Oct 2016, at 12:05, Kornel Benko > 
wrote:

Am Dienstag, 18. Oktober 2016 um 10:57:08, schrieb Paola Manzini 
>
On 18 Oct 2016, at 11:39, Kornel Benko 
> wrote:

Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 
>
Hi all,

I’ve searched the list and though this is not the first time the problem is 
noted, I haven’t been able to find any solution. The short of it is: it just 
won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, I only 
get a lonely = side to the right of the expression, and no result (see 
screenshot)

I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the same 
problem under Maverick and El Capitan with previous Lyx versions, namely, 
nothing happens.

I have specified the paths correctly (I think) to where the apps are 
(Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
software calling the app (math-extern maxima), or (math-extern mathematica), 
but no result is churned out.

Here is what I have in the "PATH prefix" field under Lyx->Preferences->Paths:

/Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
 18/Maple 18.app

Can anyone please help?

Many thanks,
Paola

[cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]


I'd try calling lyx with '-dbg mathed' parameter from a console window.
Alternatively use View->Messages Pane->Settings
Check 'Selected'
Double click on 'mathed - Math editor'
back to 'Output'
...
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'
Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
12:31:27.889: Automatický úklad hotový.

Here it shows:
12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: checking expr: 
'5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'

Kornel

many thanks Kornel for your prompt reply, I’ve tried what you suggested, and 
what I got is no output, namely:

11:55:08.254: (math-extern maxima)finding 'finding 'finding 'use whole cell: 
checking expr: '5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);’

does this suggest where the problem is?

No, missing: output: '7'

What happens if you call maxima from the console window and input the string 
'(5+2);' followed by ?
Here I get:
(%i1) (5+2);
(%o1)  7
(%i2)

thanks,
Paola

Kornel


from the console I get the same as you:

(%i2) 5+2;
(%o2)  7
(%i3)




Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Kornel Benko
Am Dienstag, 18. Oktober 2016 um 10:57:08, schrieb Paola Manzini 

> On 18 Oct 2016, at 11:39, Kornel Benko 
> > wrote:
> 
> Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 
> >
> Hi all,
> 
> I’ve searched the list and though this is not the first time the problem is 
> noted, I haven’t been able to find any solution. The short of it is: it just 
> won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, I only 
> get a lonely = side to the right of the expression, and no result (see 
> screenshot)
> 
> I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the same 
> problem under Maverick and El Capitan with previous Lyx versions, namely, 
> nothing happens.
> 
> I have specified the paths correctly (I think) to where the apps are 
> (Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
> software calling the app (math-extern maxima), or (math-extern mathematica), 
> but no result is churned out.
> 
> Here is what I have in the "PATH prefix" field under Lyx->Preferences->Paths:
> 
> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
>  18/Maple 18.app
> 
> Can anyone please help?
> 
> Many thanks,
> Paola
> 
> [cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]
> 
> 
> I'd try calling lyx with '-dbg mathed' parameter from a console window.
> Alternatively use View->Messages Pane->Settings
> Check 'Selected'
> Double click on 'mathed - Math editor'
> back to 'Output'
> ...
> calling: maxima
> input: 'simpsum:true;tex(5 + 2);'
> output: '7'
> Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
> 12:31:27.889: Automatický úklad hotový.
> 
> Here it shows:
> 12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: checking 
> expr: '5 + 2'
> calling: maxima
> input: 'simpsum:true;tex(5 + 2);'
> output: '7'
> 
> Kornel
> 
> many thanks Kornel for your prompt reply, I’ve tried what you suggested, and 
> what I got is no output, namely:
> 
> 11:55:08.254: (math-extern maxima)finding 'finding 'finding 'use whole cell: 
> checking expr: '5 + 2'
> calling: maxima
> input: 'simpsum:true;tex(5 + 2);’
> 
> does this suggest where the problem is?

No, missing: output: '7'

What happens if you call maxima from the console window and input the string 
'(5+2);' followed by ?
Here I get:
(%i1) (5+2);
(%o1)  7
(%i2) 

> thanks,
> Paola

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Paola Manzini
On 18 Oct 2016, at 11:39, Kornel Benko > 
wrote:

Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 
>
Hi all,

I’ve searched the list and though this is not the first time the problem is 
noted, I haven’t been able to find any solution. The short of it is: it just 
won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, I only 
get a lonely = side to the right of the expression, and no result (see 
screenshot)

I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the same 
problem under Maverick and El Capitan with previous Lyx versions, namely, 
nothing happens.

I have specified the paths correctly (I think) to where the apps are 
(Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
software calling the app (math-extern maxima), or (math-extern mathematica), 
but no result is churned out.

Here is what I have in the "PATH prefix" field under Lyx->Preferences->Paths:

/Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
 18/Maple 18.app

Can anyone please help?

Many thanks,
Paola

[cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]


I'd try calling lyx with '-dbg mathed' parameter from a console window.
Alternatively use View->Messages Pane->Settings
Check 'Selected'
Double click on 'mathed - Math editor'
back to 'Output'
...
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'
Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
12:31:27.889: Automatický úklad hotový.

Here it shows:
12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: checking expr: 
'5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'

Kornel

many thanks Kornel for your prompt reply, I’ve tried what you suggested, and 
what I got is no output, namely:

11:55:08.254: (math-extern maxima)finding 'finding 'finding 'use whole cell: 
checking expr: '5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);’

does this suggest where the problem is?

thanks,
Paola



Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Kornel Benko
Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 

> Hi all,
> 
> I’ve searched the list and though this is not the first time the problem is 
> noted, I haven’t been able to find any solution. The short of it is: it just 
> won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, I only 
> get a lonely = side to the right of the expression, and no result (see 
> screenshot)
> 
> I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the same 
> problem under Maverick and El Capitan with previous Lyx versions, namely, 
> nothing happens.
> 
> I have specified the paths correctly (I think) to where the apps are 
> (Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
> software calling the app (math-extern maxima), or (math-extern mathematica), 
> but no result is churned out.
> 
> Here is what I have in the "PATH prefix" field under Lyx->Preferences->Paths:
> 
> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
>  18/Maple 18.app
> 
> Can anyone please help?
> 
> Many thanks,
> Paola
> 
> [cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]
> 

I'd try calling lyx with '-dbg mathed' parameter from a console window.
Alternatively use View->Messages Pane->Settings
Check 'Selected'
Double click on 'mathed - Math editor'
back to 'Output'
...
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'
Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
12:31:27.889: Automatický úklad hotový.

Here it shows:
12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: 
checking expr: '5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'

Kornel


signature.asc
Description: This is a digitally signed message part.


making LyX work with CAS on Mac OS

2016-10-18 Thread Paola Manzini
Hi all,

I’ve searched the list and though this is not the first time the problem is 
noted, I haven’t been able to find any solution. The short of it is: it just 
won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, I only 
get a lonely = side to the right of the expression, and no result (see 
screenshot)

I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the same 
problem under Maverick and El Capitan with previous Lyx versions, namely, 
nothing happens.

I have specified the paths correctly (I think) to where the apps are 
(Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
software calling the app (math-extern maxima), or (math-extern mathematica), 
but no result is churned out.

Here is what I have in the "PATH prefix" field under Lyx->Preferences->Paths:

/Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
 18/Maple 18.app

Can anyone please help?

Many thanks,
Paola

[cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]



Re: LyX 2.2.2 on Mac Os 10.12

2016-10-18 Thread Dr Eberhard Lisse
That seems to fix my issue(s).

Impressive!


el

On 2016-10-17 20:56, Richard Heck wrote:
> Attention OSX users: The original binary package for LyX 2.2.2 on
> recent OSX systems had a problem, apparently due to the Qt version
> used, that caused serious problems with sub-menus. A new package was
> uploaded yesterday. If you are not experiencing this kind of issue,
> don't worry about it. If you are, try downloading the new package.

On 2016-10-16 15:11, Dr Eberhard Lisse wrote:
> Hi,
> 
> I have upgraded and when I now want to insert a Table of Content
> Characters the first 7 lines (Math to Box) are greyed out. The same
> document opened with 2.2.1 works as advertized.
>
> Any idea why that could be?
> 
> el
> 
>