docbook-apps

  • 1.  Re: [docbook-apps] Right Arrow In GuiMenu Disappears XSL 1.72

    Posted 02-10-2007 21:59
    Ah, I thought that FOP 0.93 had implemented font-selection-strategy, which
    allows it to find the Symbol font automatically. But it doesn't, so that
    has get fixed for fop1.extensions. In the meantime, use this parameter in
    your customization:

    <xsl:param name="menuchoice.menu.separator"><fo:inline
    font-family="Symbol"> → </fo:inline></xsl:param>


    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net


    ----- Original Message -----
    From: "Harry Goldschmitt" <harry@hgac.com>
    To: <docbook-apps@lists.oasis-open.org>
    Sent: Saturday, February 10, 2007 1:01 PM
    Subject: [docbook-apps] Right Arrow In GuiMenu Disappears XSL 1.72


    >I had a document that stopped producing PDF using FOP 0.20.5 on Fedora
    >Core 5, yesterday. I switched from fop 0.20.5 and docbook-xsl-1.69.1-5 to
    >fop 0.93 and docbook-xsl-1.72. I can now produce PDF output. I'm using
    >xsltproc from libxml2-2.6.23-1.2. I had to remove the --stringparam
    >fop.extentions 1, or fop 0.93 blows up. Unfortunately, my right arrow
    >seems to have disappeared in the process.
    >
    > My html output still looks OK.
    >
    > I am still using docbook 4.4.
    >
    > My input hasn't changed and looks like:
    > <menuchoice>
    > <guimenu>Files</guimenu>
    > <guimenuitem>Exit</guimenuitem>
    > </menuchoice>
    >
    > It now produces "Files # Exit", instead of the right arrow where the #
    > is.
    >
    > Any ideas?
    >
    > Harry
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >





  • 2.  Re: [docbook-apps] Right Arrow In GuiMenu Disappears XSL 1.72

    Posted 02-11-2007 02:09
    Thanks.

    I tried that and the spaces around the # disappeared, so I know I did
    something. I'm attaching my customization file. Maybe I made a
    typo. Can you tell me how FOP finds "Symbol"? My entities do not
    have anything like Symbol as a file name.

    Harry
    At 1:58 PM -0800 2/10/07, Bob Stayton wrote:
    >Ah, I thought that FOP 0.93 had implemented font-selection-strategy,
    >which allows it to find the Symbol font automatically. But it
    >doesn't, so that has get fixed for fop1.extensions. In the
    >meantime, use this parameter in your customization:
    >
    ><xsl:param name="menuchoice.menu.separator"><fo:inline
    >font-family="Symbol"> → </fo:inline></xsl:param>
    >
    >
    >Bob Stayton
    >Sagehill Enterprises
    >DocBook Consulting
    >bobs@sagehill.net
    >
    >
    >----- Original Message ----- From: "Harry Goldschmitt" <harry@hgac.com>
    >To: <docbook-apps@lists.oasis-open.org>
    >Sent: Saturday, February 10, 2007 1:01 PM
    >Subject: [docbook-apps] Right Arrow In GuiMenu Disappears XSL 1.72
    >
    >>I had a document that stopped producing PDF using FOP 0.20.5 on
    >>Fedora Core 5, yesterday. I switched from fop 0.20.5 and
    >>docbook-xsl-1.69.1-5 to fop 0.93 and docbook-xsl-1.72. I can now
    >>produce PDF output. I'm using xsltproc from libxml2-2.6.23-1.2. I
    >>had to remove the --stringparam fop.extentions 1, or fop 0.93 blows
    >>up. Unfortunately, my right arrow seems to have disappeared in the
    >>process.
    >>
    >>My html output still looks OK.
    >>
    >>I am still using docbook 4.4.
    >>
    >>My input hasn't changed and looks like:
    >><menuchoice>
    >><guimenu>Files</guimenu>
    >><guimenuitem>Exit</guimenuitem>
    >></menuchoice>
    >>
    >>It now produces "Files # Exit", instead of the right arrow where the # is.
    >>
    >>Any ideas?
    >>
    >>Harry


  • 3.  RE: [docbook-apps] Right Arrow In GuiMenu Disappears XSL 1.72

    Posted 02-11-2007 07:52
    > -----Original Message-----
    > From: Harry Goldschmitt

    > I tried that and the spaces around the # disappeared, so I know I did
    > something. I'm attaching my customization file. Maybe I made a
    > typo.


    Yes, there is a typo. The character reference for the arrow should be
    → (note the 'x').

    /MJ





  • 4.  RE: [docbook-apps] Right Arrow In GuiMenu Disappears XSL 1.72

    Posted 02-11-2007 08:20
    At 8:52 AM +0100 2/11/07, Mauritz Jeanson wrote:
    > > -----Original Message-----
    >> From: Harry Goldschmitt
    >
    >> I tried that and the spaces around the # disappeared, so I know I did
    >> something. I'm attaching my customization file. Maybe I made a
    >> typo.
    >
    >
    >Yes, there is a typo. The character reference for the arrow should be
    >→ (note the 'x').
    >
    >/MJ

    Thank you so much. That fixed it. I'm still not getting right
    arrows surrounded by spaces, but I think I like this format better.

    Harry