nm

11353 Reputation

20 Badges

13 years, 12 days

MaplePrimes Activity


These are replies submitted by nm

when I type "sin(pi" it would automatically create a closing bracket

I must be missing something. How is Maple supposed to know you want to put closing after you typed Pi ?

What if someone wanted to type  sin(Pi+2) ?  Then the code will come out sin(Pi)+2 instead?

Maple has auto bracket matching already. So all what you have to do, is insert ) and maple will flash quickly the corressponding on the line, which is very useful. 

@Kitonum 

Thanks for checking. In Maple 2020.2 it also shows the dots, just like in Maple 2021. So this seems to have changed sometime after Maple 2018?

 

@johan162 

Thanks. I just checked. I have no Maple profile and I do not use any startup code at all.

I also updated Physics package to latest now, and copy as latex still does not work. Copies nothing. the clipboard is empty.

May be something with the window 10 version I have. oh well. I could always just do latex() and then copy the output of the command. That always worked. 

@johan162 

"that I had som custom startup profile code and in that code I had re-bounded the latex command to the physics package version of the command and the consequence was that latex now was inert and gave the behaviour you are seeing where "Copy as latex" does nothing."

I do not have any of the above. I never changed latex command myself. latex() works find in the worksheet. But not as "save as".

But I will loolk. Where is this start up profile file that I should look for? Where would be it located in the systems? I am using windows 10.

@ecterrab 

Hello;

libname gives
     "C:\Program Files\Maple 2021\lib", "C:\Users\me\maple\toolbox\DirectSearch\lib",        "C:\Users\me\maple\toolbox\OrthogonalExpansions\lib"

I have not changed anything with libname after installing Maple 2021 a week or so ago.

I have not had chance to install Physics package yet. So Maple is still in same state as installed.

I updated the movie also to show the above. I made sure window clipboard is clear. Then did the above copy as latex, but window says clip board is empty and I get beep when pasting.

Will play more with it to see why. I tried few times, restarted maple few times. it is not working for me. Do not know why.

I can't even get copy as latex to work. (First time I tried it also in Maple 2021)

Could you show step by step what you did? I tried in worksheet and in document.

Nothing gets copied. I show Maple document. I selected the math output, did copy as latex. Then moved over to the right, to my open latex editor, and pasted it there (Ctrl-V on windows). Nothing shows up. the clipboard is empty.  I check windows 10 system and it shows the clipboard is empty also.  I also tried to paste back into Maple worksheet, I just get a beep. Nothing gets copied to clipboard.

 

Do you have to do something else to make this work?

windows 10. Maple 2021.  My windows 10 version:

@Thomas Dean 

Sure. One can always do manual sorting (but it is little tricker than just calling sort, as one has to use same sort order for the eigenvalues to keep the corresponding eiegvectors in same order in the matrix as the now new order of the eigenvalues after sorting).

This is all possible. I could write a wrapper function and call it my_eigenvectors(matrix) and put all this code inside it, so not to have to do it each time.

But my question if there is a way for Maple to keep same order each time the command is used. I do not understand why it gives a different order each time it is called (or may be every other time), as there are no random numbers involved in finding eigenvectors and eigenvalues.

So why does the order change?

 

@Anthrazit 

I do not know anything about "components". I only know about worksheet and document mode.

I would imagine that the vast majority of Maple users use one of these two modes?  So using Latex to generate PDF will solve this problem for the majority of users.

Direct PDF export from document is always going to have some formating issues, specially with graphics and different fonts used, and will never look as good as using Latex as the source to generate PDF.

Btw, similar issues happen in Mathematica when using direct export to PDF. Not all formating will be exported as it shows on the screen using direct export to PDF.

The best long term solution is to convert the document first to Latex, then convert the generated Latex to PDF.

 

@erik10 

I see no issues at all in Maple 2021 when compiling the latex to PDF. This is the PDF generated

 

Which looks exactly like the worksheet on the screen. (good job Maplesoft for the Latex conversion). Here is screen shot of the worksheet to compare with

 

For the above, I just did File->export As ->Latex then typed pdflatex drawing_on_canvas.tex in the terminal.

Now for the issue that students might not know how to do this, or not know how to compile the latex to PDF. 

There is a simple solution to this. Maple should come preinstalled with full TexLive latex distribution. This is completely open source and free Latex distribution.  This is what some other programs actually do. For example, scientific workplace editor does this.

So what will happen, is when one clicks on export to PDF, then Maple, internally, will convert the document to Latex, and call the Latex compiler (which is installed internally now inside Maple installation folder), and generate the PDF that way.

So users do not even have to know anything about Latex or use it. It is all done automatically. (this is what Scientific workplace does).

Problem fixed. 

Attached is the PDF file. (ps. I also did crop on it to remove uneeded white spaces but this is not necessary).

drawing_on_canvas.pdf

Hello;

May be I am missing something. If the student uses Maple to solve the HW problem. Why not have the student just upload the Maple worksheet/document itself to the teacher for grading?

Why does student have to first  convert the Maple document to PDF and then upload the generated PDF file?

Doesn't the teacher also have Maple installed to view it and grade it directly like this?

In addition, Maple 2021 now can export whole document to Latex. This will be a better option to use to convet to PDF if needed than direct conversion.

 

@Axel Vogt 

No problem. I slightly edited my question to make this more clear. I personally prefer the PDF documentaion over the HTML ones. I find PDF easier to read and also can save the PDF on my PC more easily.

@Axel Vogt 

I think you misunderstood me.

I was not asking to post the raw Latex file as the document!  Clearly that would be a ridiculous suggestion.

I was saying why did not Maplesoft convert the Maple documents to Latex, then compile the Latex to PDF, and then post the PDF generated from the Latex.

So user only sees the PDF file, just like now. However, the PDF will be generated from Latex instead, which will produce better output than the current output.

 

@Kitonum 

+1, thanks for the workaround. But I can't actually use this in my program, since I call int and not Int and the program is non-interactive and has to work for many inputs, so it has no idea what trick substituion to use or apply to bypass any issue it finds.

The function simply calls int, and if no error generated and if the integral evaluates, then it calls simplify on the result.

But I like your smart substitution. Unfortunately I can't use it in  my generic function.

@ the classic worksheet has not been part of Maple for many versions now. I do not remember the last Maple version which had the classic worksheet. 

I also liked it and used it all the time.  When it was removed, I had to use worksheet instead. I do not like document mode at all. It feels like I am working inside Microsoft word each time I try it.

I prefer simple and clean interfaces. Not too many bells and whistles and icons and flashy things around.

I do all my programming in Maple using plain texteditor any way. notepad++. And write everything in .mpl files. And use worksheet for quick code and help and to try things and build the .mla and start tests.

There is still a very basic missing feature in the interface, that I really do not understand why Maplesoft can't fix.

When running a long script/loop which prints stuff on the screen for debugging, the worksheet now locks up and will not let one click on the "Remove output from worksheet".

So as the script runs, the worksheet fills up and it seems to become slower and slow to scroll. It will be very useful to allow one to occasionally, if they want, clear the output from the worksheet while the script is still running.  

In Mathematica this is easily done. one can clear the output as it is running.

I do not see why it is so hard to do the same in Maple and why this option becomes disabled when running a command.

Is it possible to fix this in some minor release of Maple 2021? This will help alot.

And thanks for the new release. It has fixed a long standing problem with Maple finally. timelimit() is finally working correctly.

 

First 39 40 41 42 43 44 45 Last Page 41 of 91