View previous topic :: View next topic 
Author 
Message 
sadrok General User
Joined: 17 Feb 2003 Posts: 7 Location: SA

Posted: Wed Apr 02, 2003 11:41 am Post subject: oomath hangs with this formula 


From http://www.oooforum.org/forum/posting.php?mode=quote&p=2559
It seems that oomath is bombing out on a certain formula I wrote.
This also happens when I'm embedding the formula in a text document.
Thanks to some help, I now know what the problem is, but I cannot see what is wrong here.
What I did is then retype the whole formula in oomath and save it. When I open it again oomath hangs.
Here is the formula:
Code: 
func lim csub{x toward infinity}{{alignc 2  func sin x} over {alignc x^3+3}} newline
"For all " x " it holds that " newline
matrix {
alignr 1 #{}<={} #alignc func sin x #{}>={} # 1 ##
alignr 1 # {} >= {} #alignc func sin x #{}>={}# 1 ##
alignr 3 # {} >= {} #alignc 2  func sin x #{}<={}# 1 ##
alignr {alignc 3}over{x^3+3} # {} >={} #{alignc 2  func sin x}over{alignc x^3 + 3}#{}<={}#{alignc 1}over{x^3+3}
}



Back to top 


ftack Moderator
Joined: 27 Jan 2003 Posts: 3102 Location: Belgium

Posted: Tue Apr 15, 2003 7:15 am Post subject: 


Strange indeed. I can past your formula in a Math object, everything looks OK. then I close the doc, I reopen and Bang, gone is OOo.This is definitely an 'issue', worth exploring by the technies out there. 

Back to top 


ftack Moderator
Joined: 27 Jan 2003 Posts: 3102 Location: Belgium

Posted: Tue Apr 15, 2003 7:24 am Post subject: 


It is the Matrix part of your formula that is causing the problem. Anyway, for what you wanted to to you could have worked with a table or tab settings, filling in each element with a separate formula object. The formula did not crash OOo anymore when I removed all the alignclausules you used. They are not needed anyway. Good luck! 

Back to top 


Sara Guest

Posted: Mon Sep 08, 2003 8:21 pm Post subject: 


Oddly enough, that actually gives me another idea. I have to check something first but I'll keep you all posted. Might be interesting for everyone.
Sara
http://kineticscripts.com/b/
"RiiiightCan you have those TPS reports in by the end of the day?" (Office Space) 

Back to top 


opherdonchin General User
Joined: 03 Aug 2003 Posts: 7

Posted: Tue Sep 09, 2003 2:29 pm Post subject: 


Well! I just never new you could use 'newline' like that to make a new line. Guess I've still got a lot to learn about the possibilities of Math. I sure do which there was a reference of all of its features .... 

Back to top 


Guest

Posted: Tue Oct 07, 2003 1:50 am Post subject: 


Strange indeed... I'm using the latest OOo version, 1.1. It didn't crash. I've saved the code with Math. I've created a text document and inserted the formula. Didn't crash either. I sincerely hope you've solved it by now... 

Back to top 


fedetxf OOo Enthusiast
Joined: 29 May 2003 Posts: 119 Location: La Plata, Argentina

Posted: Tue Oct 07, 2003 6:07 am Post subject: 


opherdonchin wrote:  I sure do which there was a reference of all of its features 
There is a reference. Go the the help index under and you'll see a refernece... It has every command. It's all you need to use Math after you study mathematics for a while.
It's in the Wellcome to OpenOffice.org Math page (Help system), third link, called: "Reference" 

Back to top 


Jenny Guest

Posted: Fri Nov 07, 2003 9:26 pm Post subject: 


Before his downfall a man's heart is proud,
but humility comes before honor.
Proverbs 18:12
Jenny
Guaranteed Signups 

Back to top 


