Discussion:
Warning if fop generation - table-layout="auto"
Lars Vogel
2014-07-31 12:06:06 UTC
Permalink
Hi,

If I generate PDF from DocBook via the XSL stylesheets I get lots of
warning messages like the following:

[fop] WARNING: The following feature isn't implemented by Apache FOP, yet:
table-layout="auto" (on fo:table)

I used to ignore them, as the output looks OK but as I recently did not see
a severe error in the float of warnings I think I better should remove them.

Any advice how can I get rid of these warnings?

Best regards, Lars
Bob Stayton
2014-07-31 18:45:43 UTC
Permalink
Have you set the stylesheet parameter fop1.extensions=1 ? That will
force the stylesheet to output table-layout="fixed", instead of just
allowing the default value of "auto".

Bob Stayton
Sagehill Enterprises
Post by Lars Vogel
Hi,
If I generate PDF from DocBook via the XSL stylesheets I get lots of
[fop] WARNING: The following feature isn't implemented by Apache FOP,
yet: table-layout="auto" (on fo:table)
I used to ignore them, as the output looks OK but as I recently did not
see a severe error in the float of warnings I think I better should
remove them.
Any advice how can I get rid of these warnings?
Best regards, Lars
Lars Vogel
2014-08-01 20:11:11 UTC
Permalink
Thanks Bob, I tried now to set the parameter to 1 with the following
statement:

<xsl:param name="fop1.extensions" select="1"></xsl:param>

The warning is stil the same. Did I do it correctly?

Best regards, Lars
Have you set the stylesheet parameter fop1.extensions=1 ? That will force
the stylesheet to output table-layout="fixed", instead of just allowing the
default value of "auto".
Bob Stayton
Sagehill Enterprises
Post by Lars Vogel
Hi,
If I generate PDF from DocBook via the XSL stylesheets I get lots of
[fop] WARNING: The following feature isn't implemented by Apache FOP,
yet: table-layout="auto" (on fo:table)
I used to ignore them, as the output looks OK but as I recently did not
see a severe error in the float of warnings I think I better should
remove them.
Any advice how can I get rid of these warnings?
Best regards, Lars
Bob Stayton
2014-08-01 20:30:38 UTC
Permalink
Hi Lars,
Yes, you did it correctly. There are a few layout tables in DocBook XSL
used for other elements that may not check the param, though. Can you
pinpoint which element might be generating such messages?

Bob Stayton
Sagehill Enterprises
Post by Lars Vogel
Thanks Bob, I tried now to set the parameter to 1 with the following
<xsl:param name="fop1.extensions" select="1"></xsl:param>
The warning is stil the same. Did I do it correctly?
Best regards, Lars
Have you set the stylesheet parameter fop1.extensions=1 ? That will
force the stylesheet to output table-layout="fixed", instead of just
allowing the default value of "auto".
Bob Stayton
Sagehill Enterprises
Hi,
If I generate PDF from DocBook via the XSL stylesheets I get lots of
[fop] WARNING: The following feature isn't implemented by Apache FOP,
yet: table-layout="auto" (on fo:table)
I used to ignore them, as the output looks OK but as I recently did not
see a severe error in the float of warnings I think I better should
remove them.
Any advice how can I get rid of these warnings?
Best regards, Lars
Loading...