[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] attribute sets -- what possible attributes can I use?
Hi Robert, Regarding your questions: 1) Yes, you can add other attributes. It's worth trying any attribute in Dave's book that you think might be useful. 2) I don't know of a list of allowable attributes for the DocBook attribute sets. I think a better way to approach things is to look at the fo elements that a particular attribute set is attached to. I suspect that 9 times out of 10 that will be either fo:block or fo:inline. So, a lot of the time, if an attribute will work on one of those two elements, you can add it to an attribute set. I usually grep for the attribute set name in the fo stylesheet directory and look for what it's attached to. For example, list.block.spacing appears on fo:list-block and fo:block (I guess it's one of the exceptions:-). I hope that helps. Dick Hamilton ------- XML Press XML for Technical Communicators http://xmlpress.net hamilton@xmlpress.net On Sep 14, 2013, at 8:25 AM, Robert Nagle wrote: > I need to work with attribute sets to customize my print output. > > I think I can understand what they are about and also have looked at the list of fo/param.xsl > > But I don't understand is what possible named attributes can be added to a single attribute set. For example, here is the list.block.spacing (which I think I need to modify). > > <xsl:attribute-set name="list.block.spacing"> > <xsl:attribute name="space-before.optimum">1em</xsl:attribute> > <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> > <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> > <xsl:attribute name="space-after.optimum">1em</xsl:attribute> > <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute> > <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute> > </xsl:attribute-set> > > 1. Am I correct in assuming that it's possible to add other attributes here which are not mentioned? > 2. Where can I find a list of possible values which can be used for each (or all) attribute sets? > > I know it has something to do with xsl-fo, and actually I have a copy of Dave Pawson's XSL-FO book lying around, but other than that, I don't really have a clue where to start. > > -- > Robert Nagle > 6121 Winsome Ln #56C, Houston TX 77057-5581 > (H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010 > http://www.robertnagle.info
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]