<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.text.docbook.apps">
    <title>gmane.text.docbook.apps</title>
    <link>http://blog.gmane.org/gmane.text.docbook.apps</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28024"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28023"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28022"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28021"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28020"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28019"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28018"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28017"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28016"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28015"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28014"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28013"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28012"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28011"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28010"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28009"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28008"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28007"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28006"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.text.docbook.apps/28005"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28024">
    <title>RE: HtmlHelp/CHM - Revision History+generate.revhistory.link - not visible in output</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28024</link>
    <description>&lt;pre&gt;

So I may be the only person using HtmlHelp and the generate.revhistory.link and seeking to customize the resulting revhistory html page .....



And leaving aside the issue of exactly what the (very old and badly documented) MS Help Compiler is doing, and why it sort of works even if its input appears not to be correct .....



There would appear to be a fault in the default stylesheets for html-help generation.  If generate.revhistory.link is set, although the rh-prefixed html file is generated, no reference to the generated revhistory html file is generated in the [FILES] section in the hhp file.



Looking in htmlhelp-common.xsl I can see the code that generates the [FILES] section.  Though I can't follow how it works in full.

I would appreciate it if someone familiar with this process could explain how it works, and preferably provide a fix.



Once the process is fixed I can resume customizing the html.





Regards,

Richard.








[Blue line]
Richard Kerry
BNCS Engineer
T: +44 (0)20 82259063[X]&amp;lt;thismessage:/Body.htm#&amp;gt;
M: +44 (0)7812 325518[X]&amp;lt;thismessage:/Body.htm#&amp;gt;
Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
richard.kerry&amp;lt; at &amp;gt;atos.net&amp;lt;https://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177&amp;amp;URL=mailto%3arichard.kerry%40atos.net&amp;gt;
uk.atos.net&amp;lt;https://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177&amp;amp;URL=http%3a%2f%2fuk.atos.net%2fen-uk%2f&amp;gt;
[Atos logo]
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable
________________________________
From: Kerry, Richard [richard.kerry&amp;lt; at &amp;gt;atos.net]
Sent: 20 May 2013 14:22
To: DocBook Apps Mailing List ‎[docbook-apps&amp;lt; at &amp;gt;lists.oasis-open.org]‎
Subject: [docbook-apps] HtmlHelp/CHM - Revision History+generate.revhistory.link - not visible in output




I'm looking at the CHM/HtmlHelp output from my project.  (Using Saxon-6, Microsoft Html Help Compiler, and Ant to call them both)

I want to customize how the Revision History is displayed.  I would like to be able to show it linked from the title-page, using generate.revhistory.link.



If I copy the d:revhistory and d:revhistory/d:revision templates from html/block.xsl I can customize them with no problem.  However, that is relevant to "in-line" revision histories, ie within a &amp;lt;section&amp;gt;.  I would like to have the Revision History available linked from the title page, but in another page, which should be achievable using generate.revhistory.link.



However, if I copy the d:revhistory and d:revhistory/d:revision templates for mode="titlepage.mode" from html/titlepage.xsl I start getting problems.  (Note that at this stage I've made no changes to those templates so that can't be what's causing the problem)



The first problem I noticed was that merely copying the relevant templates out of the default stylesheet file and into my customization stylesheet file would break the result.  The Revision History link is available on the title page, but clicking it gives me a page "This program cannot display the webpage".  By looking at the html produced by the DocBook-Xsl transformation I know that a page with the Revision History has been generated, named rh-something.html.  However, it is not referenced by the .hhp file, which should list all the html files, shouldn't it ?   (It does list all the other html files)

That was where I'd got to last week.  Today I sat down to look at it again and I am now even more puzzled.

The .hhp file never contains a reference to the rh file !

Whether or not the resulting chm works there is no rh-something.html file listed in the .hhp file that has been produced by the DocBook stylesheets.

If I manually add the rh file, as generated by the transform, to the list in the hhp file, it then works.

Unfortunately I can't find any reference documentation for the Html Help Compiler (which is very old, and twice superseded.....) so I can't see whether it should contain some built-in rules for finding pages which aren't listed.



So, does anyone know :



1.  Why it works when not customized, despite the rh file not being listed in the hhp ?

2.  How the DocBook-XSL system is supposed to work for HtmlHelp; specifically the generation of the .hhp file and the writing of the reference for the rh-something file into the hhp.





Puzzledly,

Richard.







Richard Kerry
BNCS Engineer
T: +44 (0)20 82259063[X]&amp;lt;thismessage:/Body.htm#&amp;gt;
M: +44 (0)7812 325518[X]&amp;lt;thismessage:/Body.htm#&amp;gt;
Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
richard.kerry&amp;lt; at &amp;gt;atos.net&amp;lt;mailto:richard.kerry&amp;lt; at &amp;gt;atos.net&amp;gt;
uk.atos.net&amp;lt;http://uk.atos.net/en-uk/&amp;gt;
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable
&lt;/pre&gt;</description>
    <dc:creator>Kerry, Richard</dc:creator>
    <dc:date>2013-05-24T09:33:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28023">
    <title>Re: Assemblies in DocBook 5.1: generating multiple structure outputs using assemble.xml</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28023</link>
    <description>&lt;pre&gt;Hi Thomas,
Thanks for your help - that works as you suggest.

I'd still like to know if it's possible to produce assembled DocBook
versions of _all_ the structures in my assembly, just by invoking the
XSL file. Is that feasible?

I was under the impression that XSL processors could create multiple
files where necessary (like topic-maker-chunk.xsl is supposed to).
Ideally, I'd like it to create the assembled DocBook files named after
their structure IDs.

Graeme

On Wed, May 22, 2013, at 15:13, Thomas Schraitle wrote:
&lt;/pre&gt;</description>
    <dc:creator>graeme&lt; at &gt;heliocentrik.net</dc:creator>
    <dc:date>2013-05-22T14:23:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28022">
    <title>Re: Assemblies in DocBook 5.1: generating multiple structure outputs using assemble.xml</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28022</link>
    <description>&lt;pre&gt;Hi Graeme,

On Wed, 22 May 2013 14:45:44 +0100
graeme&amp;lt; at &amp;gt;heliocentrik.net wrote:


Have you tried the parameter structure.id? The assemble.xsl stylesheet
contains the following comment:

  May be used to select one structure among several to  process

Perhaps you should try the structure.id parameter like this:

 xsltproc --stringparam structure.id  book1 \
   ~/docbook-xsl/assembly/assemble.xsl assembly-file.xml


Hope that helps.

&lt;/pre&gt;</description>
    <dc:creator>Thomas Schraitle</dc:creator>
    <dc:date>2013-05-22T14:13:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28021">
    <title>Assemblies in DocBook 5.1: generating multiple structure outputs using assemble.xml</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28021</link>
    <description>&lt;pre&gt;Hi there,
My use case is that I want to maintain a single assembly file
per-project, containing all the &amp;lt;structure&amp;gt; elements which define my
document output. The problem I'm having is that XSLTproc (and the other
XSLT processors I've tried) only seem to generate assembled DocBook
files for the first &amp;lt;structure&amp;gt; element encountered, and the rest are
ignored.

My assembly file looks like:

&amp;lt;structure xml:id="article1"&amp;gt;
&amp;lt;output renderas="article" /&amp;gt;
&amp;lt;module resourceref="thing1"/&amp;gt;
    &amp;lt;module resourceref="thing2"/&amp;gt;
&amp;lt;/structure&amp;gt;

&amp;lt;structure xml:id="book1"&amp;gt;
    &amp;lt;output renderas="book" /&amp;gt;
    &amp;lt;module resourceref="thing3"/&amp;gt;
    &amp;lt;module resourceref="thing4"/&amp;gt;    
&amp;lt;/structure&amp;gt;

&amp;lt;structure xml:id="book2"&amp;gt;
    &amp;lt;output renderas="book" /&amp;gt;
    &amp;lt;module resourceref="thing3"/&amp;gt;
    &amp;lt;module resourceref="thing4"/&amp;gt;    
&amp;lt;/structure&amp;gt;

When I run assemble.xml (version v 1.10 2012-04-10 07:56:58 from the
latest stylesheets), I'm invoking it like this:

xsltproc ~/docbook-xsl/assembly/assemble.xsl assembly-file.xml

In the output, I get the &amp;lt;article&amp;gt; element for 'article1', but 'book1'
and 'book2' are ignored.

Here are the details of the xsltproc tool I'm using:

Using libxml 20703, libxslt 10124 and libexslt 813
xsltproc was compiled against libxml 20703, libxslt 10124 and libexslt
813
libxslt 10124 was compiled against libxml 20703
libexslt 813 was compiled against libxml 20703

Thanks in advance for any guidance.

Graeme
&lt;/pre&gt;</description>
    <dc:creator>graeme&lt; at &gt;heliocentrik.net</dc:creator>
    <dc:date>2013-05-22T13:45:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28020">
    <title>HtmlHelp/CHM - Revision History+generate.revhistory.link - not visible in output</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28020</link>
    <description>&lt;pre&gt;

I'm looking at the CHM/HtmlHelp output from my project.  (Using Saxon-6, Microsoft Html Help Compiler, and Ant to call them both)

I want to customize how the Revision History is displayed.  I would like to be able to show it linked from the title-page, using generate.revhistory.link.



If I copy the d:revhistory and d:revhistory/d:revision templates from html/block.xsl I can customize them with no problem.  However, that is relevant to "in-line" revision histories, ie within a &amp;lt;section&amp;gt;.  I would like to have the Revision History available linked from the title page, but in another page, which should be achievable using generate.revhistory.link.



However, if I copy the d:revhistory and d:revhistory/d:revision templates for mode="titlepage.mode" from html/titlepage.xsl I start getting problems.  (Note that at this stage I've made no changes to those templates so that can't be what's causing the problem)



The first problem I noticed was that merely copying the relevant templates out of the default stylesheet file and into my customization stylesheet file would break the result.  The Revision History link is available on the title page, but clicking it gives me a page "This program cannot display the webpage".  By looking at the html produced by the DocBook-Xsl transformation I know that a page with the Revision History has been generated, named rh-something.html.  However, it is not referenced by the .hhp file, which should list all the html files, shouldn't it ?   (It does list all the other html files)

That was where I'd got to last week.  Today I sat down to look at it again and I am now even more puzzled.

The .hhp file never contains a reference to the rh file !

Whether or not the resulting chm works there is no rh-something.html file listed in the .hhp file that has been produced by the DocBook stylesheets.

If I manually add the rh file, as generated by the transform, to the list in the hhp file, it then works.

Unfortunately I can't find any reference documentation for the Html Help Compiler (which is very old, and twice superseded.....) so I can't see whether it should contain some built-in rules for finding pages which aren't listed.



So, does anyone know :



1.  Why it works when not customized, despite the rh file not being listed in the hhp ?

2.  How the DocBook-XSL system is supposed to work for HtmlHelp; specifically the generation of the .hhp file and the writing of the reference for the rh-something file into the hhp.





Puzzledly,

Richard.







Richard Kerry
BNCS Engineer
T: +44 (0)20 82259063
M: +44 (0)7812 325518
Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
richard.kerry&amp;lt; at &amp;gt;atos.net&amp;lt;mailto:richard.kerry&amp;lt; at &amp;gt;atos.net&amp;gt;
uk.atos.net&amp;lt;http://uk.atos.net/en-uk/&amp;gt;
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable
&lt;/pre&gt;</description>
    <dc:creator>Kerry, Richard</dc:creator>
    <dc:date>2013-05-20T13:22:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28019">
    <title>Re: Page numbers in body.margin.outer</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28019</link>
    <description>&lt;pre&gt;Hi Claudio,
This should get you started, with some comments:

&amp;lt;!-- Shift some of the page side margin to the body side margin to make room --&amp;gt;
&amp;lt;xsl:param name="page.margin.outer"&amp;gt;.5in&amp;lt;/xsl:param&amp;gt;
&amp;lt;xsl:param name="body.margin.outer"&amp;gt;.25in&amp;lt;/xsl:param&amp;gt;
&amp;lt;xsl:param name="region.outer.extent"&amp;gt;12pt&amp;lt;/xsl:param&amp;gt;
&amp;lt;!-- extend the side region over the header/footer regions --&amp;gt;
&amp;lt;xsl:param name="side.region.precedence"&amp;gt;true&amp;lt;/xsl:param&amp;gt;

&amp;lt;xsl:attribute-set name="region.outer.properties"&amp;gt;
  &amp;lt;!-- By default, the side region reference-orientation is 90 so text is rotated to fit,
     so this sets it back to zero for upright numbers --&amp;gt;
  &amp;lt;xsl:attribute name="reference-orientation"&amp;gt;0&amp;lt;/xsl:attribute&amp;gt;
 &amp;lt;!-- But I don't think FOP supports "outside" yet --&amp;gt;
  &amp;lt;xsl:attribute name="text-align"&amp;gt;outside&amp;lt;/xsl:attribute&amp;gt;
  &amp;lt;xsl:attribute name="width"&amp;gt;0.25in&amp;lt;/xsl:attribute&amp;gt;
&amp;lt;/xsl:attribute-set&amp;gt;

&amp;lt;xsl:attribute-set name="outer.region.content.properties"&amp;gt;
  &amp;lt;!-- Put any text formatting attributes here --&amp;gt;&amp;lt;/xsl:attribute-set&amp;gt;

&amp;lt;xsl:template name="outer.region.content"&amp;gt;
  &amp;lt;xsl:param name="pageclass" select="''"/&amp;gt;
  &amp;lt;xsl:param name="sequence" select="''"/&amp;gt;
  &amp;lt;xsl:param name="position" select="''"/&amp;gt;
  &amp;lt;xsl:param name="gentext-key" select="''"/&amp;gt;

  &amp;lt;!-- pageclass can be front, body, back --&amp;gt;
  &amp;lt;!-- sequence can be odd, even, first, blank --&amp;gt;
  &amp;lt;!-- position can be left, center, right --&amp;gt;

  &amp;lt;!-- Play with these settings to get them right.  I added the border just for visualization of the location --&amp;gt;
  &amp;lt;fo:block-container border="0.1pt solid blue" 
         height="3in" display-align="after" text-align="outside" width=".25in"&amp;gt;
    &amp;lt;fo:block xsl:use-attribute-sets="outer.region.content.properties"&amp;gt;
      &amp;lt;!-- this bit compensates for FOP's lack of text-align="outside" --&amp;gt;
       &amp;lt;xsl:attribute name="text-align"&amp;gt;
        &amp;lt;xsl:choose&amp;gt;
          &amp;lt;xsl:when test="$sequence='odd' or $sequence='first'"&amp;gt;end&amp;lt;/xsl:when&amp;gt;
          &amp;lt;xsl:otherwise&amp;gt;start&amp;lt;/xsl:otherwise&amp;gt;
        &amp;lt;/xsl:choose&amp;gt;
      &amp;lt;/xsl:attribute&amp;gt;
    &amp;lt;!-- and here is where the page number is specified --&amp;gt;
      &amp;lt;fo:page-number/&amp;gt;
    &amp;lt;/fo:block&amp;gt;
  &amp;lt;/fo:block-container&amp;gt;
&amp;lt;/xsl:template&amp;gt;

Let me know if you have any questions.

Bob Stayton
Sagehill Enterprises
bobs&amp;lt; at &amp;gt;sagehill.net


From: Claudio Tubertini 
Sent: Sunday, May 12, 2013 3:52 AM
To: docbook-apps&amp;lt; at &amp;gt;lists.oasis-open.org 
Subject: [docbook-apps] Page numbers in body.margin.outer


I would like to put the page number (in chapters or articles) in the body.margin.outer (I believe this is the correct parameter, but I'm not sure), in the middle of the page, instead of usual place in footer or header. Can someone suggest me where to look for? I'm using FOP processor with Oxygen. 
Regards
Claudio Tubertini&lt;/pre&gt;</description>
    <dc:creator>Bob Stayton</dc:creator>
    <dc:date>2013-05-15T21:55:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28018">
    <title>Re: Box around the footer (re-post with images attached)</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28018</link>
    <description>&lt;pre&gt;Hi Richard,
The 'foot.sep.rule' template can apply attributes to the fo:table that displays the footer content.  You probably used that to add the border around the whole footer.

To get the spacing you want, I recommend using margin properties in the fo:block element in the footer.content template.  That fo:block is used in each of the three table cells in the footer.   Something like:

&amp;lt;fo:template name="footer.content"&amp;gt;
  ...
  &amp;lt;fo:block&amp;gt;
      &amp;lt;xsl:attribute name="border"&amp;gt;0.1pt solid red&amp;lt;/xsl:attribute&amp;gt;
      &amp;lt;xsl:attribute name="margin-left"&amp;gt;6pt&amp;lt;/xsl:attribute&amp;gt;
      &amp;lt;xsl:attribute name="margin-right"&amp;gt;6pt&amp;lt;/xsl:attribute&amp;gt;
      &amp;lt;xsl:attribute name="margin-top"&amp;gt;3pt&amp;lt;/xsl:attribute&amp;gt;
      &amp;lt;xsl:attribute name="margin-bottom"&amp;gt;12pt&amp;lt;/xsl:attribute&amp;gt;

      &amp;lt;xsl:choose&amp;gt;
          ...

You might define and use an attribute-set instead.  I added a border attribute just so you can see where the boundaries are, so you will want to remove that after testing.  

With the border turned on, you can experiment with padding too, but you will find that the FO space-resolution rules sometimes alter the margin to compensate for the padding. 

Bob Stayton
Sagehill Enterprises
bobs&amp;lt; at &amp;gt;sagehill.net


From: Kerry, Richard 
Sent: Wednesday, May 15, 2013 5:41 AM
To: DocBook Apps Mailing List ‎[docbook-apps&amp;lt; at &amp;gt;lists.oasis-open.org]‎ 
Subject: [docbook-apps] Box around the footer (re-post with images attached)




Ok - retrying this.  The images may appear in-line but I've attached the files in case they don't.

And I've added descriptions in case they still don't appear.



I've managed to get a border around my document's footer, using foot.sep.rule.

However, it isn't spaced how I want it and I can't get it to change in the way I want.





I'm trying to get (word footer.png):











The image shows a number of text items in the footer.  There is a box around all of them.
There is a space of a few millimetres/pixels (Looks like about 1mm) between the top of the text and the top line.
There is a slightly wider space between the right and left edges of the text and their respective border lines.
There is a gap between the bottom of the text and the bottom border line of roughly the height of one line of text.


but I'm getting (pdf footer.png):


 


There is a space of a few millimetres/pixels (Looks like about 2mm this time) between the top of the text and the top border line.
There is no significant space between the right and left edges of the text and their respective border lines (less than 1mm).
There is a space of a few millimetres/pixels (Looks like about 2mm this time) between the bottom of the text and the bottom border line.

(don't they say a picture is worth a thousand words - I reckon I've written about 150 here)


Note the lack of spacing at both left and right edges. Also the requirement for roughly one text line below the text showing here (some documents will have some text there).

I seem to get some effect by customizing footer.content.properties - that's how I've got the text to be grey.
However I don't seem to get any useful effect from the padding attributes, which are the ones I'd expect to need to use for this.
If I set "padding" I seem to get some padding added at the left edge, but not the other three. Even if I set all four of padding-left/right/top/bottom I only get space added at the left.

Can anyone advise what I need to do to get padding at right, left and bottom ?

I'm doing DocBook -&amp;gt; FO and then to PDF using FOP 1.1.

Regards,
Richard.


















Richard Kerry

BNCS Engineer


T: +44 (0)20 82259063 

M: +44 (0)7812 325518

Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ

richard.kerry&amp;lt; at &amp;gt;atos.net

uk.atos.net








This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable



--------------------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe&amp;lt; at &amp;gt;lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help&amp;lt; at &amp;gt;lists.oasis-open.org&lt;/pre&gt;</description>
    <dc:creator>Bob Stayton</dc:creator>
    <dc:date>2013-05-15T18:19:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28017">
    <title>Box around the footer (re-post with images attached)</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28017</link>
    <description>&lt;pre&gt;

Ok - retrying this.  The images may appear in-line but I've attached the files in case they don't.

And I've added descriptions in case they still don't appear.



I've managed to get a border around my document's footer, using foot.sep.rule.

However, it isn't spaced how I want it and I can't get it to change in the way I want.



I'm trying to get (word footer.png):



[X]


The image shows a number of text items in the footer.  There is a box around all of them.
There is a space of a few millimetres/pixels (Looks like about 1mm) between the top of the text and the top line.
There is a slightly wider space between the right and left edges of the text and their respective border lines.
There is a gap between the bottom of the text and the bottom border line of roughly the height of one line of text.


but I'm getting (pdf footer.png):


[X]


There is a space of a few millimetres/pixels (Looks like about 2mm this time) between the top of the text and the top border line.
There is no significant space between the right and left edges of the text and their respective border lines (less than 1mm).
There is a space of a few millimetres/pixels (Looks like about 2mm this time) between the bottom of the text and the bottom border line.

(don't they say a picture is worth a thousand words - I reckon I've written about 150 here)

Note the lack of spacing at both left and right edges. Also the requirement for roughly one text line below the text showing here (some documents will have some text there).

I seem to get some effect by customizing footer.content.properties - that's how I've got the text to be grey.
However I don't seem to get any useful effect from the padding attributes, which are the ones I'd expect to need to use for this.
If I set "padding" I seem to get some padding added at the left edge, but not the other three. Even if I set all four of padding-left/right/top/bottom I only get space added at the left.

Can anyone advise what I need to do to get padding at right, left and bottom ?

I'm doing DocBook -&amp;gt; FO and then to PDF using FOP 1.1.

Regards,
Richard.
















[Blue line]
Richard Kerry
BNCS Engineer
T: +44 (0)20 82259063
M: +44 (0)7812 325518
Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
richard.kerry&amp;lt; at &amp;gt;atos.net&amp;lt;mailto:richard.kerry&amp;lt; at &amp;gt;atos.net&amp;gt;
uk.atos.net&amp;lt;http://uk.atos.net/en-uk/&amp;gt;
[Atos logo]
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe&amp;lt; at &amp;gt;lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help&amp;lt; at &amp;gt;lists.oasis-open.org&lt;/pre&gt;</description>
    <dc:creator>Kerry, Richard</dc:creator>
    <dc:date>2013-05-15T12:41:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28016">
    <title>Re: WARNING: cannot add &lt; at &gt;xml:base to node set root element. Relative paths may not work.</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28016</link>
    <description>&lt;pre&gt;Thanks everyone for the reply. I'm not using Docbook 5 nor do I use
profile-docbook.xsl.
I'm also using saxon6.5.5 and the Docbook I'm processing is one big file
which I preprocessed with an XInclude Ant tasks.

I will try to investigate further and if I find out more, I post this to
the this group.

Thanks again everyone, Lars




2013/5/14 Alexey Neyman &amp;lt;stilor&amp;lt; at &amp;gt;att.net&amp;gt;

&lt;/pre&gt;</description>
    <dc:creator>Lars Vogel</dc:creator>
    <dc:date>2013-05-15T09:47:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28015">
    <title>Re: WARNING: cannot add &lt; at &gt;xml:base to node set root element. Relative paths may not work.</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28015</link>
    <description>&lt;pre&gt;Indeed, I've just checked and Xerxes seems to have the same issue.

So, this is one caveat to keep in mind when processing modular DocBook 
documents with Saxon/Xerxes.

Regards,
Alexey.

On Tuesday, May 14, 2013 12:00:50 pm Bob Stayton wrote:
&lt;/pre&gt;</description>
    <dc:creator>Alexey Neyman</dc:creator>
    <dc:date>2013-05-14T19:55:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28014">
    <title>Re: WARNING: cannot add &lt; at &gt;xml:base to node set root element. Relative paths may not work.</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28014</link>
    <description>&lt;pre&gt;I don't think Saxon itself supports XIncludes.  Saxon uses the Xerces parser 
with the XInclude function turned on:

http://www.saxonica.com/documentation/sourcedocs/controlling-parsing.html

The XInclude spec says that xml:base attributes must be relative to the 
closest ancestor xml:base. I'm pretty sure that is how Saxon 6 behaves.  If 
Saxon9 is generating xml:base attributes always relative to the top level, 
then that is not what the XInclude spec says, nor what the DocBook 
stylesheet expects.

Bob Stayton
Sagehill Enterprises
bobs&amp;lt; at &amp;gt;sagehill.net

--------------------------------------------------
From: "Alexey Neyman" &amp;lt;stilor&amp;lt; at &amp;gt;att.net&amp;gt;
Sent: Tuesday, May 14, 2013 10:25 AM
To: &amp;lt;docbook-apps&amp;lt; at &amp;gt;lists.oasis-open.org&amp;gt;
Cc: "Bob Stayton" &amp;lt;bobs&amp;lt; at &amp;gt;sagehill.net&amp;gt;; "Lars Vogel" &amp;lt;lars.vogel&amp;lt; at &amp;gt;gmail.com&amp;gt;
Subject: Re: [docbook-apps] WARNING: cannot add &amp;lt; at &amp;gt;xml:base to node set root 
element. Relative paths may not work.

&lt;/pre&gt;</description>
    <dc:creator>Bob Stayton</dc:creator>
    <dc:date>2013-05-14T19:00:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28013">
    <title>Re: RE: Box around the footer</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28013</link>
    <description>&lt;pre&gt;Hi Richard,

On Di, 2013-05-14 at 16:46 +0000, Kerry, Richard wrote:

I see an Outlook Web Access login screen. So, no they don't seem to have
come through.

Hth, Stefan.


&lt;/pre&gt;</description>
    <dc:creator>Stefan Knorr</dc:creator>
    <dc:date>2013-05-14T17:28:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28012">
    <title>Re: WARNING: cannot add &lt; at &gt;xml:base to node set root element. Relative paths may not work.</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28012</link>
    <description>&lt;pre&gt;Hi Lars, Bob,

Just one point: xsltproc does xml:base fixup on nodesets included through 
XInclude, so inside the document there are xml:base elements added properly. 
However, Bob's point still stands: if the top-level document is in non-current 
directory, it will break the external references.

Speaking of Saxon, I am not sure if it does xml:base fixup properly on 
XIncluded modular documents from different directories. Originally, I was 
investigating a bug in libxml2 regarding xml:base fixup (pushed to master, 
will be in the next release), but I also tried Saxon. Here is a link to the 
thread on libxml2 mailing list (which has a small test case attached):

  https://mail.gnome.org/archives/xml/2013-April/msg00024.html

In brief, Saxon seems to emit xml:base relative to top-level document rather 
than to the most recent point of inclusion. DocBook stylesheets (at least, 
1.78.0 that I used) assume the location relative to the base of the including 
nodeset. xsltproc conforms to the expectations of DocBook stylesheets, and as 
far as I understand, to the XInclude specification.

Regards,
Alexey.

On Tuesday, May 14, 2013 09:01:37 am Bob Stayton wrote:
&lt;/pre&gt;</description>
    <dc:creator>Alexey Neyman</dc:creator>
    <dc:date>2013-05-14T17:25:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28011">
    <title>RE: Box around the footer</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28011</link>
    <description>&lt;pre&gt;

I don't know what everyone else is seeing in this message ....

One one client (Outlook) I'm getting little red Xs telling me the image is not available.

On the other (webmail, using IE 9) I can see the images as I thought I was sending them.



If they haven't come through please let me know and I'll find some other way of sending them.





Uncertainly,

Richard.





Richard Kerry
BNCS Engineer
T: +44 (0)20 82259063
M: +44 (0)7812 325518
Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
richard.kerry&amp;lt; at &amp;gt;atos.net&amp;lt;mailto:richard.kerry&amp;lt; at &amp;gt;atos.net&amp;gt;
uk.atos.net&amp;lt;http://uk.atos.net/en-uk/&amp;gt;
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable
________________________________
From: Kerry, Richard [richard.kerry&amp;lt; at &amp;gt;atos.net]
Sent: 14 May 2013 17:12
To: DocBook Apps Mailing List ‎[docbook-apps&amp;lt; at &amp;gt;lists.oasis-open.org]‎
Subject: [docbook-apps] Box around the footer




I've managed to get a border around my document's footer, using foot.sep.rule.

However, it isn't spaced how I want it and I can't get it to change in the way I want.



I'm trying to get :



[X]


but I'm getting :


[X]

Note the lack of spacing at both left and right edges. Also the requirement for roughly one text line below the text showing here (some documents will have some text there).

I seem to get some effect by customizing footer.content.properties - that's how I've got the text to be grey.
However I don't seem to get any useful effect from the padding attributes, which are the ones I'd expect to need to use for this.
If I set "padding" I seem to get some padding added at the left edge, but not the other three. Even if I set all four of padding-left/right/top/bottom I only get space added at the left.

Can anyone advise what I need to do to get padding at right, left and bottom ?

I'm doing DocBook -&amp;gt; FO and then to PDF using FOP 1.1.

Regards,
Richard.






Richard Kerry
BNCS Engineer
T: +44 (0)20 82259063
M: +44 (0)7812 325518
Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
richard.kerry&amp;lt; at &amp;gt;atos.net&amp;lt;mailto:richard.kerry&amp;lt; at &amp;gt;atos.net&amp;gt;
uk.atos.net&amp;lt;http://uk.atos.net/en-uk/&amp;gt;
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable
&lt;/pre&gt;</description>
    <dc:creator>Kerry, Richard</dc:creator>
    <dc:date>2013-05-14T16:46:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28010">
    <title>Box around the footer</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28010</link>
    <description>&lt;pre&gt;

I've managed to get a border around my document's footer, using foot.sep.rule.

However, it isn't spaced how I want it and I can't get it to change in the way I want.



I'm trying to get :



[https://webmail.siemens-it-solutions.com/OWA/attachment.ashx?id=RgAAAADuafvq2wn5ToY5TFygcdi1BwAxjteD9W0ARqkWij6loXgaAAAAAQlZAABhxn3HMwi9SbLUtlBySA26AAAVOvmVAAAJ&amp;amp;attcnt=1&amp;amp;attid0=EACLf%2bZZePPtSaIp6eKC8ubY&amp;amp;attcid0=7716d0a4-6acd-4cd0-af75-6cdb428b6975]


but I'm getting :


[https://webmail.siemens-it-solutions.com/OWA/attachment.ashx?id=RgAAAADuafvq2wn5ToY5TFygcdi1BwAxjteD9W0ARqkWij6loXgaAAAAAQlZAABhxn3HMwi9SbLUtlBySA26AAAVOvmVAAAJ&amp;amp;attcnt=1&amp;amp;attid0=EAAuTDbeBlA9QYoLDLUMY1bp&amp;amp;attcid0=a154a93e-4a37-4e49-b724-a60be5177ece]

Note the lack of spacing at both left and right edges. Also the requirement for roughly one text line below the text showing here (some documents will have some text there).

I seem to get some effect by customizing footer.content.properties - that's how I've got the text to be grey.
However I don't seem to get any useful effect from the padding attributes, which are the ones I'd expect to need to use for this.
If I set "padding" I seem to get some padding added at the left edge, but not the other three. Even if I set all four of padding-left/right/top/bottom I only get space added at the left.

Can anyone advise what I need to do to get padding at right, left and bottom ?

I'm doing DocBook -&amp;gt; FO and then to PDF using FOP 1.1.

Regards,
Richard.





[Blue line]
Richard Kerry
BNCS Engineer
T: +44 (0)20 82259063
M: +44 (0)7812 325518
Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
richard.kerry&amp;lt; at &amp;gt;atos.net&amp;lt;mailto:richard.kerry&amp;lt; at &amp;gt;atos.net&amp;gt;
uk.atos.net&amp;lt;http://uk.atos.net/en-uk/&amp;gt;
[Atos logo]
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable
&lt;/pre&gt;</description>
    <dc:creator>Kerry, Richard</dc:creator>
    <dc:date>2013-05-14T16:12:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28009">
    <title>Re: WARNING: cannot add &lt; at &gt;xml:base to node set root element. Relative paths may not work.</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28009</link>
    <description>&lt;pre&gt;Hi Lars,
You should get that message only when two conditions are met:

1.  You are processing a DocBook 5 document with the non-namespaced stylesheets.
         or
    You are single-step profiling by using profile-docbook.xsl (probably your case).

and

2.  You are using xsltproc (which lacks an extension function to get the name of the current directory).

With either condition in (1), the document is preprocessed into an internal nodeset (a nodeset held in memory) before being processed by the stylesheets.  The internal nodeset loses all contact with the filesystem where the files originated, so the preprocessing template tries to add relative directory references into the internal nodeset by adding xml:base attributes to preserve the relative locations.  It uses an extension function to get the original base directory of the document, but xsltproc does not have a function to fetch that information, while Saxon and Xalan do.

So if you use modular doc and the modules are in various directories, that directory structure  information gets lost in the internal subset.  If your documents don't need such xml:base attributes, then it has no effect on your output.

You can avoid it by either using Saxon, or by using two-step profiling.

Bob Stayton
Sagehill Enterprises
bobs&amp;lt; at &amp;gt;sagehill.net


From: Lars Vogel 
Sent: Tuesday, May 14, 2013 7:13 AM
To: DocBook Apps 
Subject: [docbook-apps] WARNING: cannot add &amp;lt; at &amp;gt;xml:base to node set root element. Relative paths may not work.


Hello, 


since a while I get the following warning during the transformation with the docbook distribution:


WARNING: cannot add &amp;lt; at &amp;gt;xml:base to node set root element.  Relative paths may not work.



I'm not sure what triggers this warning, a Google search resulted in hints about Docbook V5.0 but I'm still using Docbook 4.5.


I'm currently using the docbook-xsl-1.77.1 distribution and I think (but I'm not sure) that I have this warning since I upgraded from 1.76. The output looks ok to me, but this warning does not create a warm fussy feeling. ;-)


Any hint how to get rid of this warning? 



Best regards, Lars&lt;/pre&gt;</description>
    <dc:creator>Bob Stayton</dc:creator>
    <dc:date>2013-05-14T16:01:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28008">
    <title>WARNING: cannot add &lt; at &gt;xml:base to node set root element. Relative paths may not work.</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28008</link>
    <description>&lt;pre&gt;Hello,

since a while I get the following warning during the transformation with
the docbook distribution:

WARNING: cannot add &amp;lt; at &amp;gt;xml:base to node set root element.  Relative paths may
not work.

I'm not sure what triggers this warning, a Google search resulted in hints
about Docbook V5.0 but I'm still using Docbook 4.5.

I'm currently using the docbook-xsl-1.77.1 distribution and I think (but
I'm not sure) that I have this warning since I upgraded from 1.76. The
output looks ok to me, but this warning does not create a warm fussy
feeling. ;-)

Any hint how to get rid of this warning?

Best regards, Lars
&lt;/pre&gt;</description>
    <dc:creator>Lars Vogel</dc:creator>
    <dc:date>2013-05-14T14:13:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28007">
    <title>Re: Fw: Namespace issues with titlepage templates in slides</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28007</link>
    <description>&lt;pre&gt;

Indeed


But might be your code might be extended to handle this case as well and
emit warning message?


No, they are generated from the single source which currently is
docbook-xsl. During the build process correct namespace declarations and
d: prefixes are added into all XPath expressions and docbook-xsl-ns is
created.


Currently master one is non-ns version, but there is plan to reverse the
process in a due future.

Conversion is done by xslns-build Perl script in releasetools directory.

Jirka

&lt;/pre&gt;</description>
    <dc:creator>Jirka Kosek</dc:creator>
    <dc:date>2013-05-14T11:36:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28006">
    <title>Re: dbtoepub is broken on latest docbook-xsl-ns-snapshot</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28006</link>
    <description>&lt;pre&gt;Hi Bob and all,

On Sun, 12 May 2013 00:06:57 +0300
Shlomi Fish &amp;lt;shlomif&amp;lt; at &amp;gt;shlomifish.org&amp;gt; wrote:


Thanks! Using the 1.78.1 distribution appears to have made it work again.

Regards,

Shlomi Fish




&lt;/pre&gt;</description>
    <dc:creator>Shlomi Fish</dc:creator>
    <dc:date>2013-05-12T11:09:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28005">
    <title>Page numbers in body.margin.outer</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28005</link>
    <description>&lt;pre&gt;I would like to put the page number (in chapters or articles) in the
body.margin.outer (I believe this is the correct parameter, but I'm not
sure), in the middle of the page, instead of usual place in footer or
header. Can someone suggest me where to look for? I'm using FOP processor
with Oxygen.
Regards
Claudio Tubertini
&lt;/pre&gt;</description>
    <dc:creator>Claudio Tubertini</dc:creator>
    <dc:date>2013-05-12T10:52:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.text.docbook.apps/28004">
    <title>Re: dbtoepub is broken on latest docbook-xsl-ns-snapshot</title>
    <link>http://permalink.gmane.org/gmane.text.docbook.apps/28004</link>
    <description>&lt;pre&gt;Hi Bob,

On Sat, 11 May 2013 13:02:29 -0700
"Bob Stayton" &amp;lt;bobs&amp;lt; at &amp;gt;sagehill.net&amp;gt; wrote:


Thanks for letting me know and for the advice about the workaround. I'm going
to try it.

Regards,

Shlomi Fish


&lt;/pre&gt;</description>
    <dc:creator>Shlomi Fish</dc:creator>
    <dc:date>2013-05-11T21:06:57</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.text.docbook.apps">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.text.docbook.apps</link>
  </textinput>
</rdf:RDF>
