[Solved] Weird formulas !

Discuss the formula editor
Post Reply
Ridwan
Posts: 9
Joined: Sat Apr 09, 2011 11:02 am

[Solved] Weird formulas !

Post by Ridwan »

When i write the formulas and convert them into formulas i get weird characters as the following :
f(x) = 5x^3 + sqrt {4}
gives me the attachment.
I didn't change any settings, it used to work before. I opened an older document with formulas that was good and now they are showing like this. What's the problem ? how to solve this ?

EDIT : i already posted a preview pic of what i'm getting and i'm using .odt, i can't attach a document example the max size is 128 kb. Look at the formulas ...
Attachments
Screen shot 2011-04-09 at 12.05.29 PM.png
Screen shot 2011-04-09 at 12.05.29 PM.png (9.12 KiB) Viewed 15597 times
Last edited by Ridwan on Sat Apr 09, 2011 11:17 am, edited 1 time in total.
OpenOffice 3.1.1
Macbook pro 15'' Mac OS X 10.6.7
User avatar
Zizi64
Volunteer
Posts: 11511
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Weird formulas !

Post by Zizi64 »

Hi,

Can you upload an example file here?
(see: How to attach a document here)?
Which file format are you using? doc? odt?
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
RoryOF
Moderator
Posts: 35258
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Weird formulas !

Post by RoryOF »

A font problem; see
http://user.services.openoffice.org/en/ ... 15&t=28734 for possible help.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
Ed2
Volunteer
Posts: 169
Joined: Thu Jan 06, 2011 5:53 pm

Re: Weird formulas !

Post by Ed2 »

Shouldn't this be in the Math forum, not Writer?
Apache OpenOffice 3.4.1 on Windows 7
Ridwan
Posts: 9
Joined: Sat Apr 09, 2011 11:02 am

Re: Weird formulas !

Post by Ridwan »

I changed the font it didn't work. How can it be a font problem, the old document still has the same font and the formulas are appearing weird. I'm using times new roman ... plz help !
And no i think it's better here bcz i'm using writer not math ... besides math disappeared, is it called formula now ?!
OpenOffice 3.1.1
Macbook pro 15'' Mac OS X 10.6.7
User avatar
Zizi64
Volunteer
Posts: 11511
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Weird formulas !

Post by Zizi64 »

Please, upload an example file.
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Ridwan
Posts: 9
Joined: Sat Apr 09, 2011 11:02 am

Re: Weird formulas !

Post by Ridwan »

Zizi64 wrote:Please, upload an example file.
here
Attachments
TESTING.odt
(12.24 KiB) Downloaded 418 times
OpenOffice 3.1.1
Macbook pro 15'' Mac OS X 10.6.7
User avatar
Zizi64
Volunteer
Posts: 11511
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Weird formulas !

Post by Zizi64 »

I think: This formula is inherited from an MS documentum (see styles window: "WW-standard")

When I opened the file that was seen:
Formula_first_opening.png
Then I clicked on the formula (but not changed anything) and when leaved the edit mode, that was seen:
Formula_after_clicking.png
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Ed2
Volunteer
Posts: 169
Joined: Thu Jan 06, 2011 5:53 pm

Re: Weird formulas !

Post by Ed2 »

Ridwan wrote:And no i think it's better here bcz [sic] i'm using writer not math ... besides math disappeared, is it called formula now ?!
Math is the formula module of OOo. If you are writing a formula with the built-in tools then you are using Math.

This should be listed under Math, since this is the module that the issue is with. Whether one particular document you experienced this issue with happens to be embedded in another document of a different type is irrelevant.
Apache OpenOffice 3.4.1 on Windows 7
Ridwan
Posts: 9
Joined: Sat Apr 09, 2011 11:02 am

Re: Weird formulas !

Post by Ridwan »

Ed2 wrote:
Ridwan wrote:And no i think it's better here bcz [sic] i'm using writer not math ... besides math disappeared, is it called formula now ?!
Math is the formula module of OOo. If you are writing a formula with the built-in tools then you are using Math.

This should be listed under Math, since this is the module that the issue is with. Whether one particular document you experienced this issue with happens to be embedded in another document of a different type is irrelevant.
i found something, look at the attachment, the weird character says "private use" !
Attachments
Screen shot 2011-04-09 at 4.02.56 PM.png
Screen shot 2011-04-09 at 4.02.56 PM.png (37.94 KiB) Viewed 15560 times
OpenOffice 3.1.1
Macbook pro 15'' Mac OS X 10.6.7
User avatar
Zizi64
Volunteer
Posts: 11511
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Weird formulas !

Post by Zizi64 »

The code of formula in original file

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE math:math PUBLIC "-//OpenOffice.org//DTD Modified W3C MathML 1.01//EN" "math.dtd"><math:math xmlns:math="http://www.w3.org/1998/Math/MathML"><math:semantics><math:mrow><math:mi>f</math:mi><math:mrow><math:mrow><math:mo math:stretchy="false">(</math:mo><math:mi>x</math:mi><math:mo math:stretchy="false">)</math:mo></math:mrow><math:mo math:stretchy="false">=</math:mo><math:mrow><math:msup><math:mn>5x</math:mn><math:mn>3</math:mn></math:msup><math:mo math:stretchy="false">+</math:mo><math:msqrt><math:mn>4</math:mn></math:msqrt></math:mrow></math:mrow></math:mrow><math:annotation math:encoding="StarMath 5.0">f(x) = 5x^3 + sqrt {4}</math:annotation></math:semantics></math:math>
And here is the code of clicked but not changed (automatically converted?) formula in the opened/clicked/saved attachement:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mrow><mrow><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow><mo stretchy="false">=</mo><mrow><msup><mn>5x</mn><mn>3</mn></msup><mo stretchy="false">+</mo><msqrt><mn>4</mn></msqrt></mrow></mrow></mrow><annotation encoding="StarMath 5.0">f(x) = 5x^3 + sqrt {4}</annotation></semantics></math>
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Weird formulas !

Post by Robert Tucker »

LibreOffice 7.x.x on Arch and Fedora.
Ridwan
Posts: 9
Joined: Sat Apr 09, 2011 11:02 am

Re: Weird formulas !

Post by Ridwan »

Zizi64 wrote:The code of formula in original file

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE math:math PUBLIC "-//OpenOffice.org//DTD Modified W3C MathML 1.01//EN" "math.dtd"><math:math xmlns:math="http://www.w3.org/1998/Math/MathML"><math:semantics><math:mrow><math:mi>f</math:mi><math:mrow><math:mrow><math:mo math:stretchy="false">(</math:mo><math:mi>x</math:mi><math:mo math:stretchy="false">)</math:mo></math:mrow><math:mo math:stretchy="false">=</math:mo><math:mrow><math:msup><math:mn>5x</math:mn><math:mn>3</math:mn></math:msup><math:mo math:stretchy="false">+</math:mo><math:msqrt><math:mn>4</math:mn></math:msqrt></math:mrow></math:mrow></math:mrow><math:annotation math:encoding="StarMath 5.0">f(x) = 5x^3 + sqrt {4}</math:annotation></math:semantics></math:math>
And here is the code of clicked but not changed (automatically converted?) formula in the opened/clicked/saved attachement:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mrow><mrow><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow><mo stretchy="false">=</mo><mrow><msup><mn>5x</mn><mn>3</mn></msup><mo stretchy="false">+</mo><msqrt><mn>4</mn></msqrt></mrow></mrow></mrow><annotation encoding="StarMath 5.0">f(x) = 5x^3 + sqrt {4}</annotation></semantics></math>
What am i supposed to do with this ?
OpenOffice 3.1.1
Macbook pro 15'' Mac OS X 10.6.7
Ridwan
Posts: 9
Joined: Sat Apr 09, 2011 11:02 am

Re: Weird formulas !

Post by Ridwan »

btw i'm updating to OpenOffice.org 3.3.0 hoping it works. But the download is very slow ! the file should be huge !
OpenOffice 3.1.1
Macbook pro 15'' Mac OS X 10.6.7
User avatar
Zizi64
Volunteer
Posts: 11511
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Weird formulas !

Post by Zizi64 »

What am i supposed to do with this ?
I just looked for the possible source of error ...
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Hagar Delest
Moderator
Posts: 33690
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Weird formulas !

Post by Hagar Delest »

Seems similar to that one: [Solved] Bullet Point Characters Incorrect. Problem was with the file format used by MS Office on Mac IIRC.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
Ridwan
Posts: 9
Joined: Sat Apr 09, 2011 11:02 am

Re: Weird formulas !

Post by Ridwan »

Hagar de l'Est wrote:Seems similar to that one: [Solved] Bullet Point Characters Incorrect. Problem was with the file format used by MS Office on Mac IIRC.
I did NOT import anything !! i just type the formula, click the shortcut i made of Insert>Object>formula and get my handicap formula !! it used to work the last time i opened OpenOffice but today it just randomly fucked up ! i didn't change anything, no update nothing !!
OpenOffice 3.1.1
Macbook pro 15'' Mac OS X 10.6.7
Ridwan
Posts: 9
Joined: Sat Apr 09, 2011 11:02 am

Re: Weird formulas !

Post by Ridwan »

This is solved, it randomly got back to normal the next day, the update is not even done it's on 51% ! weird as i said !
Thanks for your replies everyone.
OpenOffice 3.1.1
Macbook pro 15'' Mac OS X 10.6.7
Post Reply