Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


16 Pages«<1011121314>»
Options
Go to last post Go to first unread
Offline oscampo  
#221 Posted : 07 August 2017 23:08:59(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 238
Man
Colombia
Location: Cali, Colombia

Was thanked: 79 time(s) in 60 post(s)
I comfirm that last Maxima plugin works well on win 10 for SMath 0.98.6398 in desktop and portable versions Clap
Here I did:

1) Install maxima 5.4 on recommended location (i.e. in C:\)
2) If you have the desktop version go to 2.1), else go to 2.2)
2.1) access to C:\Users\YOUR_USERNAME\AppData\Roaming\SMath\extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\1.98.6354.1778 and extract MaximapPlugin.zip contents. Go to 3)
2.2) access to WHERE_IS_YOUR_PORTABLE_FOLDER\SMath 98.6398\extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\1.98.6354.1778 and extract MaximapPlugin.zip contents. Go to 3)
3) open SMath, Click on Insert-Maxima-Settings and put this address as "Path to Maxima": C:\maxima-5.40.0\bin\maxima.bat
4) Enjoy

Thanks to Martin Kraska for all your efforts and work on this plugin.

Oscar

Edited by user 11 August 2017 23:33:28(UTC)  | Reason: Not specified

thanks 3 users thanked oscampo for this useful post.
on 08/08/2017(UTC),  on 08/08/2017(UTC),  on 01/09/2017(UTC)
Offline mkraska  
#222 Posted : 08 August 2017 09:06:47(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Originally Posted by: oscampo Go to Quoted Post
I comfirm that last Maxima plugin works well on win 10 for SMamath 0.98.6398 in desktop and portable versions Clap
Here I did:

1) Install maxima 5.4 on recommended location (i.e. in C:\)
2) If you have the desktop version go to 2.1), else go to 2.2)
2.1) access to C:\Users\YOUR_USERNAME\AppData\Roaming\SMath\extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\1.98.6354.1778 and extract MaximapPlugin.zip contents. Go to 3)
2.2) access to WHERE_IS_YOUR_PORTABLE_FOLDER\SMath 98.6398\extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\1.98.6354.1778 and extract MaximapPlugin.zip contents. Go to 3)
3) open SMath, Click on Insert-Maxima-Settings and put this address as "Path to Maxima": C:\maxima-5.40.0\bin\maxima.bat
4) Enjoy

Thanks to Martin Kraska for all your efforts and work on this plugin.

Oscar


Thanks for your feedback, nice to hear that the combination is working under Win10.

Note that the above procedure won't result in a really portable installation, in contrast to the pre-configured portable distribution which included a portable maxima.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline oscampo  
#223 Posted : 08 August 2017 15:08:47(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 238
Man
Colombia
Location: Cali, Colombia

Was thanked: 79 time(s) in 60 post(s)
Quote:

Note that the above procedure won't result in a really portable installation, in contrast to the pre-configured portable distribution which included a portable maxima.


Yes, but is better than nothing.

Also I tried with portable maxima and I think that use it maybe could approximate to an entire "portable version" (maxima 5.4 portable is ~100 MB zipped)

I go further and installed SMath 0.98.6398 and maxima 5.4 on Mac via PlayOnMac, and all work as a breeze!
Today I will try installing on Linux. I bet that also it will works fine

I think that are good news for my students Wink
thanks 1 user thanked oscampo for this useful post.
on 08/08/2017(UTC)
Offline mkraska  
#224 Posted : 08 August 2017 15:55:46(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
That's great news!

Currently the plugin won't work if the process name of the executable isn't one of maxima, clisp or sbcl. In the next release, I will allow the plugin to run even without recognized process, just closing that process upon leaving SMath won't be possible.

If you face such problems, just let me know the process name to look for. I might also make that a config option one day.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline oscampo  
#225 Posted : 08 August 2017 16:27:43(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 238
Man
Colombia
Location: Cali, Colombia

Was thanked: 79 time(s) in 60 post(s)
Originally Posted by: mkraska Go to Quoted Post
That's great news!

Currently the plugin won't work if the process name of the executable isn't one of maxima, clisp or sbcl. In the next release, I will allow the plugin to run even without recognized process, just closing that process upon leaving SMath won't be possible.

If you face such problems, just let me know the process name to look for. I might also make that a config option one day.


Thanks, I'll let you know any news about that.

Offline mkraska  
#226 Posted : 09 August 2017 23:55:46(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
New pre-release of the plugin. Changes with respect to the version in the online gallery:

- SS-1244/SS-2401: Takeover of SMath functions int(), diff(), det(), sum(), lim()
fixed and now on per-document base instead of per-session base.
- SS 193: MaximaDefine() now does not add SMath definitions
- SS 191: Access to last result with Maxima(%) works
- SS 189: Waiting for Maxima response now without time-out
- MaximaLog(): Improved formatting
- Compatibility with Maxima 5.40.0 (SBCL recommended)
- Icon for the Insert> Maxima Menu group

Limitations
- Character set temporarily limited to ASCII (Greek characters and umlauts are handled
correctly)

MaximaPlugin.zip (67kb) downloaded 71 time(s).
Update16pre.sm (41kb) downloaded 70 time(s).

Here some instructions by Oscar:

Quote:

1) Install maxima 5.40 on recommended location (i.e. in C:\)
2) If you have the desktop version go to 2.1), else go to 2.2)
2.1) access to C:\Users\YOUR_USERNAME\AppData\Roaming\SMath\extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\1.98.6354.1778 and extract MaximapPlugin.zip contents. Go to 3)
2.2) access to WHERE_IS_YOUR_PORTABLE_FOLDER\SMath 98.6398\extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\1.98.6354.1778 and extract MaximapPlugin.zip contents. Go to 3)
3) open SMath, Click on Insert-Maxima-Settings and put this address as "Path to Maxima": C:\maxima-5.40.0\bin\maxima.bat
4) Enjoy


Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 2 users thanked mkraska for this useful post.
on 10/08/2017(UTC),  on 10/08/2017(UTC)
Offline mkraska  
#227 Posted : 14 August 2017 00:23:41(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
New pre-release of the plugin. Changes with respect to the version in the online gallery:

- SS-1244/SS-2401: Takeover of SMath functions int(), diff(), det(), sum(), lim()
fixed and now on per-document base instead of per-session base.
- SS 193: MaximaDefine() now does not add SMath definitions
- SS 191: Access to last result with Maxima(%) works
- SS 189: Waiting for Maxima response now without time-out
- MaximaLog(): Improved formatting
- Compatibility with Maxima 5.40.0 (SBCL recommended)
- Icon for the Insert> Maxima Menu group
- Unicode support
- Draw2D/3D: PDF output support


Due to severe limitations of the current SMath beta (importData() not working) I shall focus on retrofitting the plugin version for the current stable SMath release 0.98.6179.

MaximaPlugin.zip (67kb) downloaded 80 time(s).
Update16pre2.sm (51kb) downloaded 84 time(s).
2017-08-13 23_06_57-SMath Studio 0.98.6398 - [Update16pre1.sm].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 14/08/2017(UTC)
Offline mkraska  
#228 Posted : 17 August 2017 00:28:30(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Plugin updated (only for nightly build SMath 0.98.6398 and newer)

Works best with the latest Maxima nightly build.
1. Download the installer and install Maxima to the default location (at least avoid special characters in the path name).
Maxima and SMath must be on the same drive.
2. Select SBCL (Steel bank common lisp) as the default lisp for Maxima. Start Menu> All programs> maxima-current> Configure...
3. Open Update16.sm (196kb) downloaded 1,395 time(s). and install or update missing plugins.
4. The settings dialog will be offered to you (or invoke it using Insert> Maxima> settings)
5. Specify the path to Maxima either by navigating ("Select directory" button) or entering into the text field.
Just specify the top level Maxima directory (e.g. C:\maxima-current)
6. Press "Save and Restart". If the progress bar and the confirmation message appear, you are done.

In principle, this procedure should also work in a portable installation, the path to Maxima is stored relative to the SMath executable directory.

Changes with respect to the previous version in the online gallery:

- SS-1244/SS-2401: Takeover of SMath functions int(), diff(), det(), sum(), lim()
fixed and now on per-document base instead of per-session base.
- SS 193: MaximaDefine() now does not add SMath definitions
- SS 191: Access to last result with Maxima(%) works
- SS 189: Waiting for Maxima response now without time-out
- MaximaLog(): Improved formatting
- Compatibility with Maxima 5.40.0 (SBCL recommended)
- Icon for the Insert> Maxima Menu group
- Draw2D() and Draw3D() now can produce PDF vector graphics
and have consistent size control with length units or pixels
- Settings dialog streamlined
- SS 3452: Loop variable in sum(4) is now local (safe use of i)
- SS 3460: Translation of #
- SS 157: Translation of \
- SS-198: Improved default settings for Draw2D/3D regions

Special thanks to
- Davide and Andrey for helping me with getting started with C#, Visual Studio and the upload of the plugin,
- Alex Melnik for adjustments of the image region and discussion on sizing,
- Gunter Königsmann (Maxima) for the fix of the pdf graphics interface
- Wolfgang Dautermann (Maxima) for his (really) nightly build automat, which made the fix available immediately

Updates of the docs coming soon...

Edited by user 17 August 2017 08:58:56(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 7 users thanked mkraska for this useful post.
on 17/08/2017(UTC),  on 17/08/2017(UTC),  on 17/08/2017(UTC),  on 17/08/2017(UTC),  on 18/08/2017(UTC),  on 01/09/2017(UTC),  on 06/04/2018(UTC)
Offline kilele  
#229 Posted : 10 November 2017 16:46:07(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Hi

I've read that Martin is learning C# so this plugin may work with Linux in the future.
It may help to take a look at Jacomax ( http://goo.gl/kHtFxV ) which is a Maxima listener made with java thus multiplatform.
They provide binaries and instructions on how to use them as well as the source code.
Jacomax is used for example on maxima-online.org
Offline mkraska  
#230 Posted : 10 November 2017 19:20:25(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Originally Posted by: kilele Go to Quoted Post
Hi

I've read that Martin is learning C# so this plugin may work with Linux in the future.
It may help to take a look at Jacomax ( http://goo.gl/kHtFxV ) which is a Maxima listener made with java thus multiplatform.
They provide binaries and instructions on how to use them as well as the source code.
Jacomax is used for example on maxima-online.org


My plan is to get a closer look on how the Maxima front end wxmaxima communicates with the back end under linux. As this seems to work, I don't expect a real show stopper for the plugin to work under Linux. I didn't revisit these functions when I reworked the translation procedure last summer.

First step for linux work would be to setup the software development environment. I don't want to miss the powerfull efficiency features of Visual studio. If anyone has experience in how to migrate from VS to Linux, I'd be open for any advice.

Yet I hesitate to get involved with other languages like java unless there is a very good reason. For C# this very good reason existed: Without this the Maxima plugin would have been dead by now.

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline kilele  
#231 Posted : 10 November 2017 19:58:16(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Hi Martin

I hope someone can recommend you a way to set up visual studio to code for Linux.
I think mono adopted net since net was opensourced recently.

Actually it seems possible to interoperate java with mono. See this article:
http://www.mono-project....out-mono/languages/java/
and convert directly jar to dll to some extent according to:
http://www.ikvm.net/uses.html

So it may be possible to use the Jacomax binaries (already provided as download) and have the user install java or resorting to java portable (see jportable or jdkportable from portableapps.com).
Or wrapping Jacomax or some of its libraries with Mono, as explained above, so that you could complement your plugin with them.

Edited by user 10 November 2017 20:03:17(UTC)  | Reason: Not specified

thanks 1 user thanked kilele for this useful post.
on 10/11/2017(UTC)
Offline joaobr  
#232 Posted : 22 February 2018 17:44:47(UTC)
joaobr


Rank: Advanced Member

Groups: Registered
Joined: 12/02/2018(UTC)
Posts: 62
Man
Brazil
Location: Belém

Was thanked: 7 time(s) in 6 post(s)
Hi!

I'm new to SMath and just started with Maxima. I'm more interested in its drawing functions.

I downloaded version 5.38.1 and set the path. It starts correctly, but drawing commands keep not working.

For example:

2018-02-22_114213.png

And the log shows:

draw2d([background_color="#fefefe",file_name="C:/Users/João Felipe/AppData/Roaming/SMath/extensions/plugins/44011c1e-5d0d-4533-8e68-e32b5badce41/GnuPlot/ieaglqnv",terminal=png,user_preamble=["set term pngcairo font ',8' enhanced size 300,300","set encoding utf8"],line_width=2,rectangle([2,3],[5,3]),color=red,fill_color=blue,proportional_axes=xy]);draw2d(terminal=pngcairo, file_name="C:/Users/João Felipe/AppData/Roaming/SMath/extensions/plugins/44011c1e-5d0d-4533-8e68-e32b5badce41/GnuPlot/z4ujxmcs", dimensions=[250,250], font="Arial", font_size=8, title="SAMPLE PLOT", xu_grid=40, yv_grid=40, xlabel="x", ylabel="y", zlabel="z", yrange=[-5,5], zrange=[-5,5],user_preamble=["set term pngcairo font ',8' enhanced size 250, 250", "set encoding utf8", "set grid xtics mxtics"],explicit(sin(x),x,-5,5));

I would appreciate any help.

Thanks in advance!
Offline mkraska  
#233 Posted : 22 February 2018 18:47:22(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
There are two ways to display Maxima graphics.
1. Use a dedicated interactive Draw region (Insert> Maxima> Draw2D()/Draw3D()) and write the list of draw objects and settings to the placeholder.
2. Use an image region (Insert> Image) and write a Draw2D/3D function with appropriate arguments to the placeholder. These functions generate graphics files and return the name of the file. This is what Image region needs to display the image.

You mixed both approaches. Thus either put objk in the placeholder of the maxima region or put the full Draw2D command in the placeholder of an image region.

I didn't test 5.38.1 with the current plugin version (don't know if that Maxima is unicode-proof). I recommend 5.41.0.

Edited by user 22 February 2018 18:51:32(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline joaobr  
#234 Posted : 22 February 2018 19:04:32(UTC)
joaobr


Rank: Advanced Member

Groups: Registered
Joined: 12/02/2018(UTC)
Posts: 62
Man
Brazil
Location: Belém

Was thanked: 7 time(s) in 6 post(s)
Thank you for your reply, but still not working.2018-02-22_130326.png
Offline mkraska  
#235 Posted : 22 February 2018 19:10:16(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
please attach your sm file and give the output of Maxima(args(build_info(#)))
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline mkraska  
#236 Posted : 22 February 2018 19:11:28(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
please attach your sm file and give the output of Maxima(args(build_info(#)))
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline joaobr  
#237 Posted : 22 February 2018 19:24:03(UTC)
joaobr


Rank: Advanced Member

Groups: Registered
Joined: 12/02/2018(UTC)
Posts: 62
Man
Brazil
Location: Belém

Was thanked: 7 time(s) in 6 post(s)
It is this what you asked for? build1.png


.sm file: testing_drawing2d.sm (15kb) downloaded 51 time(s).
Offline mkraska  
#238 Posted : 22 February 2018 19:33:52(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Works for me. Not really exciting because the rectangle is just a horizontal line but works.

Your maxima is outdated and not set to steel bank common lisp (SBCL). If you really need to work with old maxima, then you might try the 2014 version of my portable distribution, follow the link in my signature.

2018-02-22 17_40_45-SMath Studio - [testing_drawing2d.sm_].png

Edited by user 22 February 2018 19:42:04(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline mkraska  
#239 Posted : 05 April 2018 18:31:33(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Plugin updated.

Changes:
SS-3457 Translation of round(2)
Fix of description strings for MaximaTakeover(), Draw2D() and Draw3D()

roundtest_001.png
roundtest_002.png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 3 users thanked mkraska for this useful post.
on 05/04/2018(UTC),  on 05/04/2018(UTC),  on 06/04/2018(UTC)
Offline mkraska  
#240 Posted : 08 September 2018 01:48:40(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Plugin updated (for SMath 6671 stable and 6824 beta).

Update18.sm (30kb) downloaded 42 time(s).
Update18.png

Edited by user 08 September 2018 17:56:38(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 08/09/2018(UTC)
Users browsing this topic
Similar Topics
Error implementing ToolboxGroup for the maxima plugin (Questions)
by fakemoses 31/07/2023 20:09:47(UTC)
Maxima Plugin Feedback Survey: Share Your Ideas and Report Bugs (Feature Requests)
by fakemoses 16/06/2023 13:27:33(UTC)
MAXIMA PLUGIN expand (Questions)
by Angel695 21/05/2023 10:43:40(UTC)
Solve Function Stuck (46/47) with Maxima Plugin (Questions)
by Albedo 30/08/2022 05:24:23(UTC)
[Maxima Plugin] Text exportation issue (Questions)
by SteelCat 11/01/2022 12:47:31(UTC)
Maxima Plugin problem (Bugs & Problems)
by FT_PENG 23/12/2021 23:49:19(UTC)
Text characters not passing correctly to Maxima plugin (Bugs & Problems)
by gurro 15/08/2021 00:14:03(UTC)
[Maxima Plugin] is a custom Maxima function call-able in SMath (Questions)
by 007.000 22/05/2018 13:06:49(UTC)
[Maxima Plugin] least common multiple (Questions)
by 007.000 22/05/2018 12:13:20(UTC)
news for Maxima Plugin (Questions)
by oscampo 27/01/2016 18:39:35(UTC)
Maxima plugin error (Bugs & Problems)
by olik 30/11/2015 10:17:28(UTC)
16 Pages«<1011121314>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.