docbook-apps

  • 1.  make.clean.html &

    Posted 03-28-2012 12:31
    Hello,

    Since switching to make.clean.html=1 (with 1.76.1), I've been happy feeling like I can just change the CSS if need at some point to restyle HTML output in place.

    But I'm starting to think the XSL ought to wrap a
     element around pre-formatted content, not just because of https://bugzilla.mozilla.org/show_bug.cgi?id=116083 but also because of http://www.w3.org/TR/html401/struct/text.html#h-9.1 and what I observed on an Apache server with mod_pagespeed.

    class Test
    {
    public static void main(String [] args)
    {
    System.out.println("This is a program listing.");
    }
    }


    Gets turned into this:

    class Test
    {
    public static void main(String [] args)
    {
    System.out.println( "This is a program listing." );
    }
    }


    Is there already an RFE for wrapping pre-formatted content with
    ?
    Perhaps a quick workaround for the customization layer?

    Thanks for your help.
    Regards,
    Mark


  • 2.  Re: [docbook-apps] make.clean.html &

    Posted 03-28-2012 13:03
    On 28.3.2012 14:30, Mark Craig wrote:

    > Is there already an RFE for wrapping pre-formatted content with
    ?
    > Perhaps a quick workaround for the customization layer?

    Hmm, definitively
     should be output always for verbatim elements,
    styled div is clearly markup abuse.

    I don't see this tracked, so please fill bug report if you can. Thanks.

    Jirka

    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------




  • 3.  Re: [docbook-apps] make.clean.html &

    Posted 03-28-2012 13:49
    Thank you, Jirka, for your reply.

    I have filed 3512384: "Wrap verbatim w/
     when make.clean.html=1" to track this.

    Regards,
    Mark

    On Mar 28, 2012, at 3:02 PM, Jirka Kosek wrote:

    > On 28.3.2012 14:30, Mark Craig wrote:
    >
    >> Is there already an RFE for wrapping pre-formatted content with
    ?
    >> Perhaps a quick workaround for the customization layer?
    >
    > Hmm, definitively
     should be output always for verbatim elements,
    > styled div is clearly markup abuse.
    >
    > I don't see this tracked, so please fill bug report if you can. Thanks.
    >
    > Jirka
    >
    > --
    > ------------------------------------------------------------------
    > Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    > ------------------------------------------------------------------
    > Professional XML consulting and training services
    > DocBook customization, custom XSLT/XSL-FO document processing
    > ------------------------------------------------------------------
    > OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    > ------------------------------------------------------------------
    >