Boost logo

Boost :

Subject: [boost] [1.50] Can't build quickbook PDF docs.
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-06-07 08:04:30


Just a note that the quickbook docs don't build as a PDF due to XML
validation failures at the FO stage:

fop.render.pdf
..\..\bin.v2\tools\quickbook\doc\msvc-10.0\debug\link-static\threading-multi\quickbook.pdf

     M:/download/programs/xep/xep.bat
..\..\bin.v2\tools\quickbook\doc\msvc-10.0\debug\link-static\threading-multi\quickbook.fo
..\..\bin.v2\tools\quickbook\doc\msvc-10.0\debug\link-static\threading-multi\quickbook.pdf

(document [system-id
file:/M:/data/boost/branches/release/doc/pdf/../../bin.v2/tools/quickbook/doc/msvc-10.0/debug/link-static/threading-multi/quickbook.fo]
  (validate
    [error] Element 'fo:block' cannot be a child of 'fo:root'.
    [error] Element 'fo:block' cannot be a child of 'fo:root'.
    [error] Element 'fo:block' cannot be a child of 'fo:root'.
    [error] Attribute 'space-before.optimum' cannot occur at element
'fo:block'.
    [error] Attribute 'space-before.minimum' cannot occur at element
'fo:block'.
    [error] Attribute 'space-before.maximum' cannot occur at element
'fo:block'.
    [error] Attribute 'id' cannot occur at element 'fo:inline'.
    [error] Attribute 'break-before' cannot occur at element 'fo:block'.
    [error] Attribute 'id' cannot occur at element 'fo:block'.
    [error] Attribute 'margin-left' cannot occur at element 'fo:block'.
    [error] Attribute 'font-family' cannot occur at element 'fo:block'.
    [error] Attribute 'keep-together.within-column' cannot occur at element
'fo:block'.
    [error] Attribute 'keep-with-next.within-column' cannot occur at element
'fo:block'.
    [error] Attribute 'font-family' cannot occur at element 'fo:block'.
    [error] Attribute 'font-weight' cannot occur at element 'fo:block'.
    [error] Attribute 'keep-with-next.within-column' cannot occur at element
'fo:block'.
    [error] Attribute 'space-before.minimum' cannot occur at element
'fo:block'.
    [error] Attribute 'space-before.optimum' cannot occur at element
'fo:block'.
    [error] Attribute 'space-before.maximum' cannot occur at element
'fo:block'.
    [error] Attribute 'text-align' cannot occur at element 'fo:block'.
    [error] Attribute 'start-indent' cannot occur at element 'fo:block'.
    [error] Attribute 'marker-class-name' cannot occur at element
'fo:marker'.
    [error] Element 'fo:marker' should be a descendant of 'flow'.
    [error] Attribute 'font-size' cannot occur at element 'fo:block'.
    [error] Attribute 'id' cannot occur at element 'fo:inline'.
    [error] Attribute 'internal-destination' cannot occur at element
'fo:basic-link'.
    [error] Attribute 'color' cannot occur at element 'fo:inline'.
    [error] Attribute 'space-before.optimum' cannot occur at element
'fo:block'.
    [error] Attribute 'space-before.minimum' cannot occur at element
'fo:block'.
    [error] Attribute 'space-before.maximum' cannot occur at element
'fo:block'.
    [error] Attribute 'id' cannot occur at element 'fo:block'.
    [error] Attribute 'border-color' cannot occur at element 'fo:block'.
    [error] Attribute 'border-width' cannot occur at element 'fo:block'.
    [error] Attribute 'border-style' cannot occur at element 'fo:block'.
    [error] Attribute 'padding-left' cannot occur at element 'fo:block'.
    [error] Attribute 'padding-right' cannot occur at element 'fo:block'.
    [error] Attribute 'padding-top' cannot occur at element 'fo:block'.
    [error] Attribute 'padding-bottom' cannot occur at element 'fo:block'.
    [error] Attribute 'widows' cannot occur at element 'fo:block'.
    [error] Attribute 'orphans' cannot occur at element 'fo:block'.
    [error] Attribute 'font-size' cannot occur at element 'fo:block'.
    [error] Attribute 'hyphenate' cannot occur at element 'fo:block'.

etc.

Any ideas?

Thanks, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk