Hi Peter,
Crop marks would not be part of the DocBook schema, but are a formatting
feature that the stylesheets need to support (so I'm copying to
docbook-apps as well). Since crop marks are not defined in the XSLT
standard, each XSL-FO implementation has to provide their own extension
elements to support it. In the 1.79.1 stylesheets, the crop mark
extensions for Antenna House and XEP are implemented in fo/axf.xsl and
fo/xep.xsl, respectively.
Since FOP has their own extension elements for crop marks using the fox:
namespace, support for them would need to be implemented in fo/fop1.xsl.
That could be done in the next release. If you want to try it
yourself, you could see if their elements align with either XEP or
Antenna House elements and write your own extension using fox: elements
instead.
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
On 9/28/2016 4:07 AM, Peter Fleck wrote:
Hi,
I see that Prepress Support is now available in Apache Fop 2.1. In
particular I am interested in adding crop marks.
https://xmlgraphics.apache.org/fop/2.1/extensions.html
Is this implemented in Docbook 5.1? How would I go about adding it in?
I tried using <xsl:param name="crop.marks" select="1"/> with <xsl:param
name="fop1.extensions" select="1"></xsl:param> but it didn't work.
Thanks,
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org