docbook-apps

  • 1.  Using xep with fo output, font family selection.

    Posted 10-23-2008 14:05
    <xsl:param name="symbol.font.family">Symbol,ZapfDingbats</xsl:param>


    Is supposed to include this font family, which contains a glph for
    Ux240D, Carriage return symbol, in the 'symbol' font provided by XEP.

    Do I need to do anything else in the source docbook XML other than
    enter the ncr please?


    The fo param documentation says

    These symbol font names are automatically appended to the body or title
    font family name when fonts are specified in a font-family property in
    the FO output.

    Yet I'm not specifying that property... Or should I?

    TIA

    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk



  • 2.  RE: [docbook-apps] Using xep with fo output, font family selection.

    Posted 10-23-2008 16:39
    Dave,

    You probably don't even need to do this; the default is as you
    show it below.

    I use XEP and am able to get Dingbats without any problem.
    However, if you are trying to force a carriage return in the
    middle of some text, this character doesn't seem to do the job.
    It just added a space in a programlisting and did nothing in
    a para.

    Regards,
    Dick Hamilton

    >


  • 3.  Re: [docbook-apps] Using xep with fo output, font family selection.

    Posted 10-23-2008 17:26
    Dick Hamilton wrote:
    > Dave,
    >
    > You probably don't even need to do this; the default is as you
    > show it below.
    >
    > I use XEP and am able to get Dingbats without any problem.
    > However, if you are trying to force a carriage return in the
    > middle of some text, this character doesn't seem to do the job.

    No Dick, I'm talking about 'pressing Carriage Return' and want
    a glyph to 'show' the symbol for it? It's not an actual CR?





    > It just added a space in a programlisting and did nothing in
    > a para.


    http://unicode.org/charts/PDF/U2400.pdf shows the glyph (240D)
    C subscript R sort of thing?


    xep has that... but I'm unsure how to get from the NCR to the
    character in the 'symbol' font?




    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk



  • 4.  RE: [docbook-apps] Using xep with fo output, font family selection.

    Posted 10-23-2008 18:16
    I see, I thought you were after something else.

    I checked and it looks like this symbol just isn't in the
    font I was using. You might find it in Arial Unicode, if
    you have that font. I don't, so I can't check.

    Dick


    >


  • 5.  Re: [docbook-apps] Using xep with fo output, font family selection.

    Posted 10-24-2008 09:52
    Dick Hamilton wrote:
    > I see, I thought you were after something else.
    >
    > I checked and it looks like this symbol just isn't in the
    > font I was using. You might find it in Arial Unicode, if
    > you have that font. I don't, so I can't check.


    More general one then Dick.
    How do I configure docbook stylesheets to specify the
    fonts I want. This really is close to the border
    of markup / styling!

    Can it be done as part of a customization layer?


    Then I'll go hunting for Arial Unicode .... and
    see about letting XEP know I have it.


    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk



  • 6.  RE: [docbook-apps] Using xep with fo output, font family selection.

    Posted 10-24-2008 16:09
    Dave,

    Pretty much all of the font information can be set with
    parameters, so you don't need a customization in most
    cases. Parameters like body.font.family, title.font.family,
    and so forth, can be set on the command line for the xslt
    processor.

    XEP fonts are set in the xep.xml file. If you look inside
    the default file, you will see examples that are pretty
    clear. It shouldn't be any problem to set that file up
    to point to the fonts on your system.

    Regards,
    Dick

    >


  • 7.  Re: [docbook-apps] Using xep with fo output, font family selection.

    Posted 10-27-2008 10:41
    Hi Dick.


    Dick Hamilton wrote:
    > Dave,
    >
    > Pretty much all of the font information can be set with
    > parameters, so you don't need a customization in most
    > cases. Parameters like body.font.family, title.font.family,
    > and so forth, can be set on the command line for the xslt
    > processor.

    My customization layer seems right for that.
    I wasn't sure about it being 'passed on' such that xep
    picks up the appropriate font.


    >
    > XEP fonts are set in the xep.xml file. If you look inside
    > the default file, you will see examples that are pretty
    > clear. It shouldn't be any problem to set that file up
    > to point to the fonts on your system.


    Thanks. It did.
    I needed to find M$ Arial unicode (ttf) variant,
    then it all went through well.


    Now working fine.

    Thanks Dick


    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk