This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] HTML output aesthetics


Btw., these questions are really more apropriate for the docbook-apps list, which focuses on publishing docbook (rather than docbook markup): http://wiki.docbook.org/topic/DocBookAppsMailingList

For the first question, the parameters suppress.header.navigation and header.rule let you control those things:
http://docbook.sourceforge.net/release/xsl/current/doc/html/rn08.html


You should be able to customize the qandaentry template from qandaset.xsl in your customization layer for each output type. Something like this (untested):

HTML:
<xsl:template match="qandaentry">
 <xsl:apply-templates/>
   <hr/>
</xsl:template>

FO:
<xsl:template match="qandaentry">
<xsl:apply-templates/>
<fo:leader leader-pattern="rule" rule-thickness="1.0pt"/> </xsl:template>


Play with the attributes on the leader until you like it.
http://www.zvon.org/xxl/xslfoReference/Standard/slice6.html#fo_leader
http://www.zvon.org/HowTo/codes.php?query=leader&typ=elements&ns=any&order=localname

David

David Cannings wrote:

I've just started using docbook XSL to convert an old SGML document I have and all seems to be going well. Bob Stayton's book at http://www.sagehill.net/docbookxsl/index.html has been an invaluable reference so far. I have a few questions about aesthetics however. I've checked the HTML reference [1] but cannot seem to see any options that do as I desire.

The first relates to HTML output only, I don't really want "Next >" and the horizontal line at the top of my TOC. I quite like the old style where the book title was the first thing on the page. Is it possible to remove this somehow or am I going to have to modify the XSL stylesheets?

The second relates to all outputs, I have a qandaset but the spacing between questions makes it difficult to distinguish amongst them. Is it possible to put a horizontal line or some form of spacing between them in the output?

Yes, I admit it is quite ironic that in one place I want to remove a line and in another I'd like them added! My apologies if these questions are common or simplistic.

David

1 - http://docbook.sourceforge.net/release/xsl/current/doc/html/

To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.




To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]