docbook-apps

  • 1.  Extraneous CSS in ePub Generate XHTML

    Posted 03-07-2013 23:10
    In the book I'm working on I'm getting the following as part of my
    admonition code

    title="Note" epub:type="notice">

    I thought either of the following would help me get rid of it but neither
    worked.

    <xsl:param name="html.cleanup" select="1"></xsl:param>

    <xsl:param name="css.decoration" select="0"></xsl:param>


    Is there a way to remove the style from the admonition divs and handle it
    with an local css stylesheet?



  • 2.  Re: [docbook-apps] Extraneous CSS in ePub Generate XHTML

    Posted 03-08-2013 00:15
    Hi Carlos,
    It seems there are several params added over time that try to address similar problems. In general, the param named 'make.clean.html' does the best a removing most CSS code. However, it seems to have missed this case. There is a separate param named 'admon.style' that inserts that style attribute. Set that to blank.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    From: Carlos Araya
    Sent: Thursday, March 07, 2013 3:10 PM
    To: docbook-apps@lists.oasis-open.org
    Subject: [docbook-apps] Extraneous CSS in ePub Generate XHTML


    In the book I'm working on I'm getting the following as part of my admonition code



    I thought either of the following would help me get rid of it but neither worked.

    <xsl:param name="html.cleanup" select="1"></xsl:param>

    <xsl:param name="css.decoration" select="0"></xsl:param>


    Is there a way to remove the style from the admonition divs and handle it with an local css stylesheet?




  • 3.  Re: [docbook-apps] Extraneous CSS in ePub Generate XHTML

    Posted 03-08-2013 15:46
    Bob,

    Thank you. That resolved the problem.

    Carlos

    On Thu, Mar 7, 2013 at 4:14 PM, Bob Stayton <bobs@sagehill.net> wrote:

    > **
    > Hi Carlos,
    > It seems there are several params added over time that try to address
    > similar problems. In general, the param named 'make.clean.html' does the
    > best a removing most CSS code. However, it seems to have missed this
    > case. There is a separate param named 'admon.style' that inserts that
    > style attribute. Set that to blank.
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    > *From:* Carlos Araya <carlos.araya@gmail.com>
    > *Sent:* Thursday, March 07, 2013 3:10 PM
    > *To:* docbook-apps@lists.oasis-open.org
    > *Subject:* [docbook-apps] Extraneous CSS in ePub Generate XHTML
    >
    > In the book I'm working on I'm getting the following as part of my
    > admonition code
    >
    >
    > title="Note" epub:type="notice">
    >
    > I thought either of the following would help me get rid of it but neither
    > worked.
    >
    > <xsl:param name="html.cleanup" select="1"></xsl:param>
    >
    > <xsl:param name="css.decoration" select="0"></xsl:param>
    >
    >
    > Is there a way to remove the style from the admonition divs and handle it
    > with an local css stylesheet?
    >
    >