docbook-apps

  • 1.  Turn hyphenation off globally

    Posted 07-20-2010 17:39
    This is pretty basic but I don't readily see the answer in Stayton's
    book, and I'm new to DocBook.

    I don't want to ever hyphenate words so how do I set that globally? Can
    it be set in root.properties?


    Thanks



    --

    ------------

    Steve Johnson, Senior Content Developer
    Caringo
    stevej@caringo.com



  • 2.  Re: [docbook-apps] Turn hyphenation off globally

    Posted 07-20-2010 18:02
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: RIPEMD160

    On 07/20/2010 07:39 PM, Steve Johnson wrote:

    Hi,


    > This is pretty basic but I don't readily see the answer in Stayton's
    > book, and I'm new to DocBook.
    >
    > I don't want to ever hyphenate words so how do I set that globally?
    > Can it be set in root.properties?

    one possible response to your question can be found here:
    http://www.sagehill.net/docbookxsl/PrintCustomEx.html#Hyphenation

    I hope that helps.


    Juri

    - --
    Two friends were out drinking when suddenly one lurched backward off his
    barstool and lay motionless on the floor.
    "One thing about Jim," the other said to the bartender, "he sure
    knows when to stop."
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.10 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iEYEAREDAAYFAkxF5IAACgkQeKE9NrxdrXz2egCfZHfxTju6sBiKwL4rFCtXSb4A
    uDUAn06PRWRz+eljo4AV8/6L/uqZVe0J
    =DAxJ
    -----END PGP SIGNATURE-----



  • 3.  Re: [docbook-apps] Turn hyphenation off globally

    Posted 07-20-2010 18:06
    I read that. It doesn't help. I'm not interested in logic that turns
    hyphenation on for some things and off for others.

    On 7/20/2010 1:01 PM, Juri Memmert wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: RIPEMD160
    >
    > On 07/20/2010 07:39 PM, Steve Johnson wrote:
    >
    > Hi,
    >
    >
    >> This is pretty basic but I don't readily see the answer in Stayton's
    >> book, and I'm new to DocBook.
    >>
    >> I don't want to ever hyphenate words so how do I set that globally?
    >> Can it be set in root.properties?
    >
    > one possible response to your question can be found here:
    > http://www.sagehill.net/docbookxsl/PrintCustomEx.html#Hyphenation
    >
    > I hope that helps.
    >
    >
    > Juri
    >
    > - --
    > Two friends were out drinking when suddenly one lurched backward off his
    > barstool and lay motionless on the floor.
    > "One thing about Jim," the other said to the bartender, "he sure
    > knows when to stop."
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.4.10 (GNU/Linux)
    > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
    >
    > iEYEAREDAAYFAkxF5IAACgkQeKE9NrxdrXz2egCfZHfxTju6sBiKwL4rFCtXSb4A
    > uDUAn06PRWRz+eljo4AV8/6L/uqZVe0J
    > =DAxJ
    > -----END PGP SIGNATURE-----
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >

    --

    ------------

    Steve Johnson, Senior Content Developer
    Caringo
    stevej@caringo.com



  • 4.  Re: [docbook-apps] Turn hyphenation off globally

    Posted 07-20-2010 18:14
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: RIPEMD160

    On 07/20/2010 08:05 PM, Steve Johnson wrote:

    > I read that. It doesn't help. I'm not interested in logic that turns
    > hyphenation on for some things and off for others.

    Sorry... you may have over-read the following:

    > The DocBook print stylesheet lets you set the overall hyphenation
    > policy with a stylesheet parameter named hyphenate


    So just setting

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

    after all your imports and includes in your customization layer will do
    the trick. Or it did in my test a few seconds ago with FOP.


    Juri

    - --
    I'd rather push my Harley than ride a rice burner.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.10 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iEYEAREDAAYFAkxF53cACgkQeKE9NrxdrXy30wCeMpd9tahheGQ5wfByWwdpw+WA
    mmgAn2GTQ8iN3GsGxuxtdxBw7vOup4kt
    =Du36
    -----END PGP SIGNATURE-----