![]() Registered Member ![]()
|
I have downloaded your source, but i cannot compile because kdelibs5-data 4.1 is required. (i have to stay with 4.0) Please, let me know as a binary version is available. thank you ----p
Pol, member of KDE forums since 2008-Dec.
|
![]() Registered Member ![]()
|
I still can't get to make it work, and I would like to know if anyone else has tried.
Anyway... the codebase is very interesting because it's easy to have multiple backends. Keep up the good work arieder! :thumbs_up: |
![]() Registered Member ![]()
|
As far as my experience goes, I would definitely suggest octave, maybe also maxima and tela. I don't have any experience with other software you mentioned. However, it seems to me that it's easy to propose big projects like "Math", but more difficult to get them done. Also, for example octave already has an aspiring GUI wrapper qtoctave, so I'm not quite sure what the purpose of "Kmath" should be.
|
![]() KDE Developer ![]()
|
Could you list the dependencies?
I would create a package at buildservice. |
![]() KDE Developer ![]()
|
at compile time it only needs Qt4 (i only tested with 4.5, but it should/might work with older versions too) and kdelibs(i test it with trunk,). maxima or sage are only required at runtime
arieder, proud to be a member of KDE forums since 2008-Oct.
|
![]() Registered Member ![]()
|
In my experience, it compiles only with Qt4.5. |
![]() KDE Developer ![]()
|
I'll wait for the build results.
![]() First I only create openSUSE 11.1 packages for fast testing. But I'll also add other platforms - later. mathematik is a very nice name. ![]() It has a "k" and it's the german word for mathematics. Edit: Error: /usr/src/packages/BUILD/kde4-mathematik/src/worksheet.cpp:308: error: no matching function for call to 'QTextCursor::insertImage(QImage&)'
Last edited by The User on Wed May 06, 2009 9:56 pm, edited 1 time in total.
|
![]() KDE Developer ![]()
|
You may try again. i changed this call to something that should work with pre 4.5
arieder, proud to be a member of KDE forums since 2008-Oct.
|
![]() Registered Member ![]()
|
Ok, now I get it working. Among the other things I had to figure out that tex2im needs imagemagick, and now TeX is rendered well.
![]() Well, I like it! It's still in early development so it's a bit buggy but I hope to see it growing fast. :thumbs_up: Things that I'd like to see fixed (I tried only the maxima backend): - Can't find where to clic to close a sheet - Deleting all the text on the sheet cause a crash - Every command seems to be parsed in a separate maxima istance: can't recall the last expression with %, can't remember defined variables. - When fixed the above, it will be useful to have the prompt showing the expression number (%n) so you can recall it; - I/O in maxima is more sophisticated than the simple expression->result: maxima can ask for some information (f.e. if a constant is pos or neg), you can be prompted to insert matrix elements one by one, you could even write a program. As now mathematik takes all as a TeX output and tries to render it. (I understand this is a huge step)
Last edited by dodosoft on Mon May 11, 2009 2:47 pm, edited 1 time in total.
|
![]() KDE Developer ![]()
|
1) fixed in trunk (there was no possibility to close a worksheet)
2) I'll look into it. the whole deleting of cells is not really stable 3) It's not a separate maxima process. the problem of % not working is the way i handle latex (if you disable it it works). I first send the normal command, and if the maxima process returns something, i send a tex(%) command. this messes up the % operator. Do you know any other way to automatically get latex results? (sage for example has a variable to set pretty_print) 4-5) I'll think about how to do it
arieder, proud to be a member of KDE forums since 2008-Oct.
|
![]() Registered Member ![]()
|
Wooo, I think I have a solution for that.
It's probably impossible to have a default TeX output BUT you can have a one-line output with display2d: false; then use another maxima process to translate the output with; tex(expression); How to handle other I/O thing? Dunno (for now). For TeX rendering, how about mathTeX ? |
![]() KDE Developer ![]()
|
i implemented the 2 process approach in trunk. it seems to work pretty well
arieder, proud to be a member of KDE forums since 2008-Oct.
|
![]() Registered Member ![]()
|
Great!
![]() By the way: i think that will be easyer to avoid most of the parsing and let mathematik to be more transparent. IOW, Inputs are lines with (%I*) (use the number to label the prompt) Output are lines with (%O*) (TeX-ise the output with another process and plot it) Errors are in StdErr (I beleave) Lines in StdOut without (%*) are the way maxima prompts the user for some data. (copy it in the worksheet and wait for a user response). Is this easily achievable or am I missing something? Does it fit with your backend framework? I'll look the code closely but I'm not familiar with Qt/KDE.
Last edited by dodosoft on Mon May 11, 2009 9:53 pm, edited 1 time in total.
|
![]() Registered Member ![]()
|
I noticed some strange problems with latex rendering (that happened also before the last update), for example:
- integrate(1/(x^n+1), x) does not work with n=3 (but does with 1,2,4,5,... and the TeX code seems fine) - matrix([1,2],[2,-1]) and any other kind of matrix does not work - eigenvectors(%) sometimes works, sometimes TeX code has 2 "n" and does not work Can you reproduce this?
Last edited by dodosoft on Mon May 11, 2009 8:20 pm, edited 1 time in total.
|
![]() KDE Developer ![]()
|
i think i fixed those cases now. thanks for reporting
arieder, proud to be a member of KDE forums since 2008-Oct.
|
Registered users: Bing [Bot], Evergrowing, Google [Bot]