Re: [docbook-apps] dbfo processing instructions

From
Stephen Taylor <>
Date
2008-08-22T17:03:54+00:00
ID
Thread
Re: [docbook-apps] dbfo processing instructions
Thanks for the quick reply. I see I had taken dbfo PIs to be more general than they are.

Here is a better example of my problem, taken directly from Stayton. 

<sidebar>
  <title>Sidebar example</title>

  <?dbfo sidebar-width="2.5in" ?>
  <para>A sidebar can be used to emphasise…</para>
</sidebar>

With or without the dbfo PI, the width of the sidebar remains 1in, as set by the sidebar.float.width parameter.

Best
Stephen

2008/8/22 Mauritz Jeanson <>

> -----Original Message-----

> From: Stephen Taylor

>

> I can't see any evidence - in the appearance of my PDFs or in

> the intermediate FO files - that my dbfo PIs are being processed.

>

> For example, my understanding of the following (adapted from

> Stayton, DocBook XSL, 3rd edn 2005, p274)

>

> <para>Now is the time for all good men</para>

>

> <para><?dbfo background-color="#FFCCCC"?>to come to the aid

> of the party</para>

>

> is that the former para's background colour will be inherited

> and the latter's will be pink.

>

> Is there some way in which I might have disabled the

> processing of PIs?

The background-color PI applies to graphics only.

http://www.sagehill.net/docbookxsl/BGcolor.html

http://docbook.sourceforge.net/release/xsl/current/doc/pi/dbfo_background-co

lor.html

Mauritz