I'd like to use a nice typesetting engine to generate invoices in PDF format from an OS X application I've developed. I want to respect the licensing but I'm not an expert on that side. I don't need every package that, for example, the MacTeX disk image contains. My application domain will be limited only to invoices (I'm actually using akletter).
Is it possible to embed one of the TeX flavors in an OS X application? If not, what is the best practice to help the user download a typesetting engine and install it on OS X?
The application, once in a production state, will go on to the Mac App Store.