docbook-apps

  • 1.  CSS for DocBook 5 example

    Posted 05-15-2009 21:52
    Are there one or two simple cascading stylesheets that are particularly good
    for demonstrating how CSS can style DocBook output? I see the small example
    in Stayton's book, p. 71, but have been looking around for other choices and
    have found a lot of stuff that's really outdated or otherwise not quite
    right. I'd prefer something that can be used with one of the default
    stylesheets and just pretties it up a little (this is for a demo next week).

    Thanks
    --
    --
    | Karen G. Schneider
    | Community Librarian
    | Equinox Software Inc. "The Evergreen Experts"
    | Toll-free: 1.877.Open.ILS (1.877.673.6457) x712
    | kgs@esilibrary.com
    | Web: http://www.esilibrary.com
    | Be a part of the Evergreen International Conference, May 20-22, 2009!
    | http://www.lyrasis.org/evergreen



  • 2.  Re: [docbook-apps] CSS for DocBook 5 example

    Posted 05-16-2009 11:59
    This is short example of what I use when writing a software manual

    manual.css - The core CSS file, which includes ..
    phphl.css - To style hilghlighted PHP source

    I also use some different graphics for the admonitions but I have not included
    them in this reply in order to keep the list reply small. Contact me directly
    via mail and I can send you the admonition graphics as well.

    In addition I use the following setting for xsltproc in order to reduce the
    numerous TOCs and get the numbering schema I prefer


    --stringparam section.autolabel 1
    --stringparam section.autolabel.max.depth 2
    --stringparam section.label.includes.component.label 1
    --stringparam part.autolabel I
    --stringparam generate.section.toc.level 0
    --stringparam toc.max.depth 2

    Not everything is styled in these CSS sheets, just what I normally use.

    Rgds
    Johan

    On the 2009-05-15 you wrote:
    > Are there one or two simple cascading stylesheets that are particularly good
    > for demonstrating how CSS can style DocBook output? I see the small example
    > in Stayton's book, p. 71, but have been looking around for other choices and
    > have found a lot of stuff that's really outdated or otherwise not quite
    > right. I'd prefer something that can be used with one of the default
    > stylesheets and just pretties it up a little (this is for a demo next week).
    >
    > Thanks
    > --
    > --
    > | Karen G. Schneider
    > | Community Librarian
    > | Equinox Software Inc. "The Evergreen Experts"
    > | Toll-free: 1.877.Open.ILS (1.877.673.6457) x712
    > | kgs@esilibrary.com
    > | Web: http://www.esilibrary.com
    > | Be a part of the Evergreen International Conference, May 20-22, 2009!
    > | http://www.lyrasis.org/evergreen
    >

    Attachment(s)

    css
    manual.css   6 KB 1 version
    css
    phphl.css   1 KB 1 version