OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Stylesheet languages and giving you fine controloverwhere things go


Richard Sharpe writes:
 > For example, I might want to place the word Preliminary diagonally 
 > across the back of every page in outline form, with the primary text 
 > appearing in front of it.

Using Norm's stylesheets, in param.xsl/your customization layer, do:

<xsl:attribute-set name="body.attrs">
  <xsl:attribute name="style">background-image:
  url(http://pathto/images/draft.gif);
  background-attachment: fixed; margin-left: 3.5em;
</xsl:attribute>
</xsl:attribute-set>

I don't know of a similar place in param.xsl for fo. Actually I've been
meaning to post here asking if there is one, but the result you want is
something like:

    <fo:simple-page-master margin-right="1in" margin-left="1in" margin-
bottom="1in" margin-top="1in" page-height="11in" page-width="8.5in"
master-
name="first2">
      <fo:region-body margin-top="24pt" margin-bottom="24pt"
      column-count="1"
background-image="http://pathto/images/draft.gif"/>
      <fo:region-before extent="12pt"
region-name="xsl-region-before-first"/>
      <fo:region-after extent="12pt"
region-name="xsl-region-after-first"/>
    </fo:simple-page-master>

I believe you'd override templates in fo/pagesetup.xsl, unless this is
also parameterized and I haven't figured it out yet :)

David

--
512.908.1645


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC