compiling MikTeX into another C++ application

Ken Monks
  • Ken Monks
    Ken Monks

    How hard it would be to include MikTeX as part of another C++ application?

    We are writing a piece of math software (in C++) and currently to typeset math
    we use jsMath inside a web widget.  It would be much nicer if we could simply
    compute the right vector graphics commands in C++ and then use them on an on-
    screen widget, or an off-screen SVG, or whatever.

    I'm wondering how hard it would be to use MikTeX in this way, not from the
    command line but compiled directly into the application itself, and accessed
    through function calls.

    Thanks in advance!