docbook-apps

  • 1.  Re: [docbook-apps] docbook + MathML + FOP

    Posted 03-06-2007 16:42
    It's possible. I've done it for a customer.

    I can't point you to a good resource, because I just strung together tools I already knew to get it done. However, I can tell you what I did. I used JEuclid to produce SVG output from my input MathML, and then I sent the SVG to FOP (as parts of a software manual, so mixed with much other content).

    That process worked fine.

    I did the whole thing from Ant, but I'm sure you could use Java to string it all together as an application, too. If nothing else, you can control Ant from a Java application (I'm writing a small custom application to do that now, in fact).

    HTH

    Jay Bryant
    Bryant Communication Services
    ----- Original Message -----
    From: Hinrich Aue
    To: docbook-apps@lists.oasis-open.org
    Sent: Tuesday, March 06, 2007 4:30 AM
    Subject: [docbook-apps] docbook + MathML + FOP


    Hello,



    I'm trying to use MathML in docbook.

    Does anybody know if it is possible to do that with FOP?

    If so, is there a good example somewhere?



    Thanks in advance,

    Hinrich



  • 2.  Re: [docbook-apps] docbook + MathML + FOP

    Posted 03-06-2007 21:57
    SVGMath + RenderX XEP works okay too

    On 3/6/07, Jay Bryant <jay@bryantcs.com> wrote:
    >
    >
    > It's possible. I've done it for a customer.
    >
    > I can't point you to a good resource, because I just strung together tools I
    > already knew to get it done. However, I can tell you what I did. I used
    > JEuclid to produce SVG output from my input MathML, and then I sent the SVG
    > to FOP (as parts of a software manual, so mixed with much other content).
    >
    > That process worked fine.
    >
    > I did the whole thing from Ant, but I'm sure you could use Java to string it
    > all together as an application, too. If nothing else, you can control Ant
    > from a Java application (I'm writing a small custom application to do that
    > now, in fact).
    >
    > HTH
    >
    > Jay Bryant
    > Bryant Communication Services
    >
    >
    > ----- Original Message -----
    > From: Hinrich Aue
    > To: docbook-apps@lists.oasis-open.org
    > Sent: Tuesday, March 06, 2007 4:30 AM
    > Subject: [docbook-apps] docbook + MathML + FOP
    >
    >
    >
    >
    > Hello,
    >
    >
    >
    > I'm trying to use MathML in docbook.
    >
    > Does anybody know if it is possible to do that with FOP?
    >
    > If so, is there a good example somewhere?
    >
    >
    >
    > Thanks in advance,
    >
    > Hinrich


    --
    http://chris.chiasson.name/



  • 3.  RE: [docbook-apps] docbook + MathML + FOP

    Posted 03-07-2007 08:19
    Hello *,

    I woud like to use SVGMath + RenderX XEP too.
    How does it work SVGMath?
    Do you have any guide how to write equation using SVGMath?
    Where should be written MathML equation? In XML document?
    Can it be written in alone file (*.mml) and therefore converted to the SVG
    image using SVGMath and therefore inserted to the XML document as a picture?

    regards

    Petr Hrácek, ANF DATA ECT PSS27
    ANF DATA spol. s.r.o
    a SIEMENS company
    Mediahall, Bidlaky 20, 639 00 Brno,
    Czech Republic
    te. + 420 533 337267
    mailto: petr.hracek@siemens.com

    -----Original Message-----
    From: chris.chiasson@gmail.com [mailto:chris.chiasson@gmail.com] On Behalf Of Chris Chiasson
    Sent: Tuesday, March 06, 2007 10:57 PM
    To: Jay Bryant
    Cc: Hinrich Aue; docbook-apps@lists.oasis-open.org
    Subject: Re: [docbook-apps] docbook + MathML + FOP

    SVGMath + RenderX XEP works okay too

    On 3/6/07, Jay Bryant <jay@bryantcs.com> wrote:
    >
    >
    > It's possible. I've done it for a customer.
    >
    > I can't point you to a good resource, because I just strung together tools I
    > already knew to get it done. However, I can tell you what I did. I used
    > JEuclid to produce SVG output from my input MathML, and then I sent the SVG
    > to FOP (as parts of a software manual, so mixed with much other content).
    >
    > That process worked fine.
    >
    > I did the whole thing from Ant, but I'm sure you could use Java to string it
    > all together as an application, too. If nothing else, you can control Ant
    > from a Java application (I'm writing a small custom application to do that
    > now, in fact).
    >
    > HTH
    >
    > Jay Bryant
    > Bryant Communication Services
    >
    >
    > ----- Original Message -----
    > From: Hinrich Aue
    > To: docbook-apps@lists.oasis-open.org
    > Sent: Tuesday, March 06, 2007 4:30 AM
    > Subject: [docbook-apps] docbook + MathML + FOP
    >
    >
    >
    >
    > Hello,
    >
    >
    >
    > I'm trying to use MathML in docbook.
    >
    > Does anybody know if it is possible to do that with FOP?
    >
    > If so, is there a good example somewhere?
    >
    >
    >
    > Thanks in advance,
    >
    > Hinrich


    --
    http://chris.chiasson.name/

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org




  • 4.  Re: [docbook-apps] docbook + MathML + FOP

    Posted 03-07-2007 18:02
    The best way to use SVGMath (in my opinion). Is to make the docbook
    source xi:include the MathML at an appropriate place in the source.
    The output fo document will then contain the MathML. SVGMath can then
    be run on the output fo, resulting in another fo file with baseline
    adjusted SVGs where the MathML used to be. From there, the fo
    processor can render to pdf.

    On 3/7/07, Hracek, Petr <petr.hracek@siemens.com> wrote:
    > Hello *,
    >
    > I woud like to use SVGMath + RenderX XEP too.
    > How does it work SVGMath?
    > Do you have any guide how to write equation using SVGMath?
    > Where should be written MathML equation? In XML document?
    > Can it be written in alone file (*.mml) and therefore converted to the SVG
    > image using SVGMath and therefore inserted to the XML document as a picture?
    >
    > regards
    >
    > Petr Hrácek, ANF DATA ECT PSS27
    > ANF DATA spol. s.r.o
    > a SIEMENS company
    > Mediahall, Bidlaky 20, 639 00 Brno,
    > Czech Republic
    > te. + 420 533 337267
    > mailto: petr.hracek@siemens.com
    >
    > -----Original Message-----
    > From: chris.chiasson@gmail.com [mailto:chris.chiasson@gmail.com] On Behalf Of Chris Chiasson
    > Sent: Tuesday, March 06, 2007 10:57 PM
    > To: Jay Bryant
    > Cc: Hinrich Aue; docbook-apps@lists.oasis-open.org
    > Subject: Re: [docbook-apps] docbook + MathML + FOP
    >
    > SVGMath + RenderX XEP works okay too
    >
    > On 3/6/07, Jay Bryant <jay@bryantcs.com> wrote:
    > >
    > >
    > > It's possible. I've done it for a customer.
    > >
    > > I can't point you to a good resource, because I just strung together tools I
    > > already knew to get it done. However, I can tell you what I did. I used
    > > JEuclid to produce SVG output from my input MathML, and then I sent the SVG
    > > to FOP (as parts of a software manual, so mixed with much other content).
    > >
    > > That process worked fine.
    > >
    > > I did the whole thing from Ant, but I'm sure you could use Java to string it
    > > all together as an application, too. If nothing else, you can control Ant
    > > from a Java application (I'm writing a small custom application to do that
    > > now, in fact).
    > >
    > > HTH
    > >
    > > Jay Bryant
    > > Bryant Communication Services
    > >
    > >
    > > ----- Original Message -----
    > > From: Hinrich Aue
    > > To: docbook-apps@lists.oasis-open.org
    > > Sent: Tuesday, March 06, 2007 4:30 AM
    > > Subject: [docbook-apps] docbook + MathML + FOP
    > >
    > >
    > >
    > >
    > > Hello,
    > >
    > >
    > >
    > > I'm trying to use MathML in docbook.
    > >
    > > Does anybody know if it is possible to do that with FOP?
    > >
    > > If so, is there a good example somewhere?
    > >
    > >
    > >
    > > Thanks in advance,
    > >
    > > Hinrich
    >
    >
    > --
    > http://chris.chiasson.name/
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >


    --
    http://chris.chiasson.name/



  • 5.  Re: [docbook-apps] docbook + MathML + FOP

    Posted 03-07-2007 18:35
    Do you have some example output? I've tried it this way too but the
    result wasn't very satisfactory. I needed the formulas inline and in
    this case it wasn't formatted / typeset correctly - the font for the
    formulas was apparently bigger than the surrounding text and it didn't
    align the baseline - so that for example a subscript in the formula was
    on the baseline of the surrounding text not under it as it should I
    guess. See the attached picture - for example the S_c.

    Jakub


    Jay Bryant wrote:
    > It's possible. I've done it for a customer.
    >
    > I can't point you to a good resource, because I just strung together tools I already knew to get it done. However, I can tell you what I did. I used JEuclid to produce SVG output from my input MathML, and then I sent the SVG to FOP (as parts of a software manual, so mixed with much other content).
    >
    > That process worked fine.
    >
    > I did the whole thing from Ant, but I'm sure you could use Java to string it all together as an application, too. If nothing else, you can control Ant from a Java application (I'm writing a small custom application to do that now, in fact).
    >
    > HTH
    >
    > Jay Bryant
    > Bryant Communication Services
    > ----- Original Message -----
    > From: Hinrich Aue
    > To: docbook-apps@lists.oasis-open.org
    > Sent: Tuesday, March 06, 2007 4:30 AM
    > Subject: [docbook-apps] docbook + MathML + FOP
    >
    >
    > Hello,
    >
    >
    >
    > I'm trying to use MathML in docbook.
    >
    > Does anybody know if it is possible to do that with FOP?
    >
    > If so, is there a good example somewhere?
    >
    >
    >
    > Thanks in advance,
    >
    > Hinrich
    >





  • 6.  Re: [docbook-apps] docbook + MathML + FOP

    Posted 03-07-2007 18:36
      |   view attached
    and the forgotten example...sorry

    Jakub Kotowski wrote:
    > Do you have some example output? I've tried it this way too but the
    > result wasn't very satisfactory. I needed the formulas inline and in
    > this case it wasn't formatted / typeset correctly - the font for the
    > formulas was apparently bigger than the surrounding text and it didn't
    > align the baseline - so that for example a subscript in the formula was
    > on the baseline of the surrounding text not under it as it should I
    > guess. See the attached picture - for example the S_c.
    >
    > Jakub
    >
    >
    > Jay Bryant wrote:
    >> It's possible. I've done it for a customer.
    >>
    >> I can't point you to a good resource, because I just strung together tools I already knew to get it done. However, I can tell you what I did. I used JEuclid to produce SVG output from my input MathML, and then I sent the SVG to FOP (as parts of a software manual, so mixed with much other content).
    >>
    >> That process worked fine.
    >>
    >> I did the whole thing from Ant, but I'm sure you could use Java to string it all together as an application, too. If nothing else, you can control Ant from a Java application (I'm writing a small custom application to do that now, in fact).
    >>
    >> HTH
    >>
    >> Jay Bryant
    >> Bryant Communication Services
    >> ----- Original Message -----
    >> From: Hinrich Aue
    >> To: docbook-apps@lists.oasis-open.org
    >> Sent: Tuesday, March 06, 2007 4:30 AM
    >> Subject: [docbook-apps] docbook + MathML + FOP
    >>
    >>
    >> Hello,
    >>
    >>
    >>
    >> I'm trying to use MathML in docbook.
    >>
    >> Does anybody know if it is possible to do that with FOP?
    >>
    >> If so, is there a good example somewhere?
    >>
    >>
    >>
    >> Thanks in advance,
    >>
    >> Hinrich
    >>
    >
    >
    >