docbook-apps

  • 1.  fop-hyph.jar and fop-pdf-images-1.0.jar + PDFBox-0.7.4-dev.jar

    Posted 12-14-2010 11:20
    Hey guys!

    I know that this question was discussed few days ago, but i was
    consfused by not knowing how I integrate a plugin in fop.I tried one
    plug-in for hyphenation and one plug-in fpr pdf images.

    I copied fop-hyph.jar and fop-pdf-images-1.0.jar + PDFBox-0.7.4-dev.jar
    onto the same level of fop.jar!

    first problem:
    I use following parameter for hyphenation in my stylesheet:
    <xsl:attribute-set name="monospace.verbatim.properties">
    <xsl:attribute name="font-family">Courier</xsl:attribute>
    <xsl:attribute name="font-size">8pt</xsl:attribute>
    <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
    <xsl:attribute name="wrap-option">wrap</xsl:attribute>
    <xsl:attribute name="hyphenation-character">\</xsl:attribute>

    but "\" does not create a break.

    second problem:
    pdf-images, are they running with fop 1.x?

    And which elementtag do i use in my xml? and which params in my stylesheet?

    Thanks in advance!
    --
    Gruß Lwam Berhane



    punkt.de GmbH TYPO3-Internet-Dienstleistungen-Beratung
    Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
    76133 Karlsruhe info@punkt.de http://punkt.de/
    AG Mannheim 108285 Gf: Jürgen Egeling



  • 2.  AW: [docbook-apps] fop-hyph.jar and fop-pdf-images-1.0.jar + PDFBox-0.7.4-dev.jar

    Posted 12-14-2010 11:27
    Hi Lwam,

    For the hyphenation you have to turn it on with a param.

    <xsl:param name="hyphenate">true</xsl:param>

    Maybe that's why it's not hyphenating. I don't know what the default value is.

    Scott

    -----Ursprüngliche Nachricht-----
    Von: Lwam Berhane [mailto:berhane@punkt.de]
    Gesendet: Dienstag, 14. Dezember 2010 12:20
    An: docbook-apps@lists.oasis-open.org
    Betreff: [docbook-apps] fop-hyph.jar and fop-pdf-images-1.0.jar + PDFBox-0.7.4-dev.jar

    Hey guys!

    I know that this question was discussed few days ago, but i was consfused by not knowing how I integrate a plugin in fop.I tried one plug-in for hyphenation and one plug-in fpr pdf images.

    I copied fop-hyph.jar and fop-pdf-images-1.0.jar + PDFBox-0.7.4-dev.jar onto the same level of fop.jar!

    first problem:
    I use following parameter for hyphenation in my stylesheet:
    <xsl:attribute-set name="monospace.verbatim.properties">
    <xsl:attribute name="font-family">Courier</xsl:attribute>
    <xsl:attribute name="font-size">8pt</xsl:attribute>
    <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
    <xsl:attribute name="wrap-option">wrap</xsl:attribute>
    <xsl:attribute name="hyphenation-character">\</xsl:attribute>

    but "\" does not create a break.

    second problem:
    pdf-images, are they running with fop 1.x?

    And which elementtag do i use in my xml? and which params in my stylesheet?

    Thanks in advance!
    --
    Gruß Lwam Berhane



    punkt.de GmbH TYPO3-Internet-Dienstleistungen-Beratung
    Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
    76133 Karlsruhe info@punkt.de http://punkt.de/
    AG Mannheim 108285 Gf: Jürgen Egeling

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




  • 3.  Re: [docbook-apps] fop-hyph.jar and fop-pdf-images-1.0.jar + PDFBox-0.7.4-dev.jar

    Posted 12-14-2010 16:55
    It looks like you are using an older version of fop-pdf-images. You may want to update from the site
    http://www.jeremias-maerki.ch/development/fop/
    and then follow the instructions in the README. This should get you going.

    I use this setup quite often in the following manner:



    <mediaobject>
    <imageobject role="fo">
    <imagedata align="center" fileref=".pdf"
    width="60%" scalefit="1" format="PDF"/>
    </imageobject>
    <imageobject role="html">
    <imagedata align="center" fileref=".png"
    width="6in" format="PNG"/>
    </imageobject>
    </mediaobject>

    On the other issue - I have had problems using the FOP-hyphenation, to the point that I have just turned it off. In my setup it crashes FOP-1.0 and I am not sure why.

    Regards,
    Dean Nelson

    In a message dated 12/14/10 03:21:53 Pacific Standard Time, berhane@punkt.de writes:
    Hey guys!

    I know that this question was discussed few days ago, but i was
    consfused by not knowing how I integrate a plugin in fop.I tried one
    plug-in for hyphenation and one plug-in fpr pdf images.

    I copied fop-hyph.jar and fop-pdf-images-1.0.jar + PDFBox-0.7.4-dev.jar
    onto the same level of fop.jar!

    first problem:
    I use following parameter for hyphenation in my stylesheet:
    <xsl:attribute-set name="monospace.verbatim.properties">
    <xsl:attribute name="font-family">Courier</xsl:attribute>
    <xsl:attribute name="font-size">8pt</xsl:attribute>
    <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
    <xsl:attribute name="wrap-option">wrap</xsl:attribute>
    <xsl:attribute name="hyphenation-character">\</xsl:attribute>

    but "\" does not create a break.

    second problem:
    pdf-images, are they running with fop 1.x?

    And which elementtag do i use in my xml? and which params in my stylesheet?

    Thanks in advance!
    --
    Gruß Lwam Berhane



    punkt.de GmbH TYPO3-Internet-Dienstleistungen-Beratung
    Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
    76133 Karlsruhe info@punkt.de http://punkt.de/
    AG Mannheim 108285 Gf: Jürgen Egeling

    ---------------------------------------------------------------------
    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] fop-hyph.jar and fop-pdf-images-1.0.jar + PDFBox-0.7.4-dev.jar

    Posted 12-15-2010 08:20
    Hi all,

    I think that fop-hyph.jar must be copied in dir .../lib/ of your fop distrib and fop.jar in .../build/. In my distributions of fop, .../build/ contains only fop.jar. All others jars are placed in .../lib/.

    --
    Christophe HARO
    Christophe.HARO@free.fr
    ----------------------------

    ----- "Lwam Berhane" <berhane@punkt.de> a écrit :

    > Hey guys!
    >
    > I know that this question was discussed few days ago, but i was
    > consfused by not knowing how I integrate a plugin in fop.I tried one
    > plug-in for hyphenation and one plug-in fpr pdf images.
    >
    > I copied fop-hyph.jar and fop-pdf-images-1.0.jar +
    > PDFBox-0.7.4-dev.jar
    > onto the same level of fop.jar!
    >
    > first problem:
    > I use following parameter for hyphenation in my stylesheet:
    > <xsl:attribute-set name="monospace.verbatim.properties">
    > <xsl:attribute name="font-family">Courier</xsl:attribute>
    > <xsl:attribute name="font-size">8pt</xsl:attribute>
    > <xsl:attribute
    > name="keep-together.within-column">auto</xsl:attribute>
    > <xsl:attribute name="wrap-option">wrap</xsl:attribute>
    > <xsl:attribute name="hyphenation-character">\</xsl:attribute>
    >
    > but "\" does not create a break.
    >
    > second problem:
    > pdf-images, are they running with fop 1.x?
    >
    > And which elementtag do i use in my xml? and which params in my
    > stylesheet?
    >
    > Thanks in advance!
    > --
    > Gruß Lwam Berhane
    >
    >
    >
    > punkt.de GmbH TYPO3-Internet-Dienstleistungen-Beratung
    > Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
    > 76133 Karlsruhe info@punkt.de http://punkt.de/
    > AG Mannheim 108285 Gf: Jürgen Egeling
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail:
    > docbook-apps-help@lists.oasis-open.org