Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,672
6,212
Does anyone know how I can learn how to write a plugin for iWork like MathType? I can't imagine Apple is actually giving some kind of special opportunity to a company that makes such ugly plugins...
 
Last edited:
There is a plug-in for Keynote that lets you use the LinkBack framework. Try looking at that code and go from there.

The LinkBack framework is developed by the Omni Group and is on their GitHub page.
 
There is a plug-in for Keynote that lets you use the LinkBack framework. Try looking at that code and go from there.

The LinkBack framework is developed by the Omni Group and is on their GitHub page.

That sounds very promising. I'll look into it - thanks for the pointer!
 
I thought I'd share where that led to...

I sent an email to Nisus software enquiring about the LinkBack plugin in keynote and this is what I got back:

We actually did not develop that plugin. It was written by King Chung Huang, who cannot seem to be reached these days.

Sorry I couldn't be of more help.

So that appears to have ended in a dead end.
 
The second thread suggested using AppleScript. I've done some with it - not much, but it seems to me that AppleScript wouldn't be capable of doing all the things MathType does...

My understanding is that the iWork suite uses a file format that's meant to be easy to extend with plugins... Originally it wasn't going to be a suite, but a single application that just had a canvas you could drop any media elements into, and that any elements it didn't understand out of the box could have plugins written for them. Was that idea just scrapped entirely, or has Apple just failed to release any documentation on how it works?
 
MathType seems to be broken as of Pages 5.1... it'll launch fine, but it doesn't actually insert anything but a gray box in your documents. I believe I found the developer of that LinkBack plugin on Twitter and LinkedIn - I'm trying to contact him via those avenues.
 
I think you can write a plugin with SIMBL [EasySIMBL 10.7+] for non-extendable Cocoa Apps.
 
MathType seems to be broken as of Pages 5.1... it'll launch fine, but it doesn't actually insert anything but a gray box in your documents.

There's nothing at all broken about MathType -- it's Pages (et.al.) that causes MathType to seem like it's broken. But it's not.

If you have MathType open when you try to insert a new equation in Pages or edit an old one, it works fine. This was broken when Apple released the products, and other than making our customers aware of it, there's really nothing we can do about it. We have documented it in 2 articles on our website:
http://www.dessci.com/en/support/mathtype/tsn/tsn146.htm
http://www.dessci.com/en/support/MathType/works_with.asp#!target=apple_pages_mac

Bob Mathews
Design Science
 
There's nothing at all broken about MathType -- it's Pages (et.al.) that causes MathType to seem like it's broken. But it's not.

If you have MathType open when you try to insert a new equation in Pages or edit an old one, it works fine. This was broken when Apple released the products, and other than making our customers aware of it, there's really nothing we can do about it. We have documented it in 2 articles on our website:
http://www.dessci.com/en/support/mathtype/tsn/tsn146.htm
http://www.dessci.com/en/support/MathType/works_with.asp#!target=apple_pages_mac

Bob Mathews
Design Science

Hi Bob,

It's interesting that you've responded to my email, responded to a thread I started a year ago, and responded to my StackOverflow question all on the same day… I don't think I even led you to this thread in any way.

Thanks for the information about Apple having paid your company to have MathType link with their iWork applications.

I think you can write a plugin with SIMBL [EasySIMBL 10.7+] for non-extendable Cocoa Apps.

I haven't heard of that before, but I'll look into it. Thanks!

Edit: I've looked into SIMBL a bit, and it looks incredibly promising.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.