Major formula error (formulas rewrite when editing)

Discuss the formula editor

Major formula error (formulas rewrite when editing)

Postby stufforwhatever » Thu Jul 03, 2014 5:36 pm

Hope someone can help, basically I'm working on a rather lengthy document. Whenever I go to edit it a formula, the formula I'm editing automatically rewrites with formula data from somewhere else in the document. E.g. If "x=1" is a formula somewhere that I'm not working on, and I go to edit the formula "2x+5=7", "2x+5=7" will automatically get rewritten as "x=1" as the formula editor opens, and will stay that way.
Open office 4.0.1 Mac
stufforwhatever
 
Posts: 6
Joined: Thu Jul 03, 2014 5:28 pm

Re: Major formula error (formulas rewrite when editing)

Postby acknak » Thu Jul 03, 2014 5:54 pm

Welcome to the community forum! Sorry you're having trouble with your formulas.

What document format are you saving to? Saving to any format other than OOo's native ODF format (.odt for text) carries some risk of developing problems. If you're not saving as ODF, try that and see if you still see the problem.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Major formula error (formulas rewrite when editing)

Postby stufforwhatever » Thu Jul 03, 2014 6:51 pm

Nope, saving as an ODT. Formulas in a text document.
Open office 4.0.1 Mac
stufforwhatever
 
Posts: 6
Joined: Thu Jul 03, 2014 5:28 pm

Re: Major formula error (formulas rewrite when editing)

Postby acknak » Thu Jul 03, 2014 7:20 pm

Not sure what else to suggest. I don't remember this problem coming up before.

If you can attach the document here, that might suggest some workaround, but I expect that's not likely.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Major formula error (formulas rewrite when editing)

Postby stufforwhatever » Thu Jul 03, 2014 7:42 pm

Can't do that unfortunately, have a nondisclosure clause with a client. I think the file autosaved while it was shutting down and it puked all over my work. Ugh.
Open office 4.0.1 Mac
stufforwhatever
 
Posts: 6
Joined: Thu Jul 03, 2014 5:28 pm

Re: Major formula error (formulas rewrite when editing)

Postby acknak » Thu Jul 03, 2014 7:49 pm

I've never had a problem myself, but the problems I've seen reported here--losing images or formulas--make me prefer to keep images and objects in separate files and link them into the main document. At least that way, if the document blows up, I don't have to re-create the objects, I just have to re-insert them.

Of course, regular backups in separate files is the best safety measure.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Major formula error (formulas rewrite when editing)

Postby stufforwhatever » Thu Jul 03, 2014 7:54 pm

Have both, neither worked. Linking formulas isn't an option and having a separate doc for them is impractical for this project. (Really specific client requirements) It's a bizarre bug. At least it isn't affecting new formulas. The thing I'm working on isn't an intensive math text, at least, so I can power through it but still ugh
Open office 4.0.1 Mac
stufforwhatever
 
Posts: 6
Joined: Thu Jul 03, 2014 5:28 pm

Re: Major formula error (formulas rewrite when editing)

Postby acknak » Thu Jul 03, 2014 8:55 pm

Of course you have to decide what's best, but I can't think how it wouldn't be practical. Linked or not, any pdf you make will include all the formulas. If you need to produce a complete ODF document, you can use Edit > Links ... to "break" the links and all the formulas or images then get embedded. I've never tested it on a complex document, so I can't say how robust it is in practice.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Major formula error (formulas rewrite when editing)

Postby stufforwhatever » Thu Jul 03, 2014 9:09 pm

They need the full odt without links to other documents, and the file size runs over a hundred pages. It's a pain in the butt. (Obviously if I were doing this for myself I'd follow your advice.)
Open office 4.0.1 Mac
stufforwhatever
 
Posts: 6
Joined: Thu Jul 03, 2014 5:28 pm

Re: Major formula error (formulas rewrite when editing)

Postby keme » Fri Jul 04, 2014 9:16 am

Just a thought:
Could it be that the objects you are trying to edit were originally MS Office "equation" objects, or perhaps Mathtype (third party plugin). If so, it may be better to write new formulas from scratch, and delete the existing ones.

Teachers in our school use documents from the "National Digital-Learning Arena" (NDLA), where the maths documents all have formulas made in MathType. All the students are advised to install the free "lite" version of MathType, so they can edit those objects and solve given math problems within the document. All those formulas look perfectly fine as long as you don't touch them. When students try to edit, they are not so nice...
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14
User avatar
keme
Volunteer
 
Posts: 3296
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Major formula error (formulas rewrite when editing)

Postby stufforwhatever » Fri Jul 04, 2014 3:54 pm

Nope. There are no quirks or frills on this problem. Straight up Add>Object>Formula in open office, edit formulas in open office, save as an .odt, random weird error while editing said formulas. It's a head scratcher.
Open office 4.0.1 Mac
stufforwhatever
 
Posts: 6
Joined: Thu Jul 03, 2014 5:28 pm


Return to Math

Who is online

Users browsing this forum: No registered users and 2 guests