Re: Prepress Support - Crop marks Apache Fop 2.1

Bob Stayton <[email protected]>
Newsgroups gmane.text.docbook.misc,gmane.text.docbook.apps
Message-ID <[email protected]>
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
[email protected]

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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.