From: Jirka Kosek Date: Fri, 16 Sep 2005 14:07:35 +0000 (+0000) Subject: Implemented RFE #1242092. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c37a1166f55d3fbcb3e8773aedfe436d2af7290;p=docbook-dsssl Implemented RFE #1242092. You can enable crop marks in your document by setting crop.marks=1 and xep.extensions=1. Appearance of crop marks can be controlled by parameters crop.mark.bleed (6pt), crop.mark.offset (24pt) and crop.mark.width (0.5pt). Also there is new named template called user-xep-pis. You can overwrite it in order to produce some PIs that can control XEP as described in http://www.renderx.com/reference.html#Output_Formats --- diff --git a/xsl/fo/docbook.xsl b/xsl/fo/docbook.xsl index 05fc37905..020a04104 100644 --- a/xsl/fo/docbook.xsl +++ b/xsl/fo/docbook.xsl @@ -219,6 +219,7 @@ + diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index af29ad3d1..fcb2ec3dc 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -39,6 +39,10 @@ + + + + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index bea5fba4d..e1ea0df0f 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -488,6 +488,13 @@ url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http: &ebnf.statement.terminator; +Prepress +&crop.marks; +&crop.mark.width; +&crop.mark.offset; +&crop.mark.bleed; + + + + diff --git a/xsl/params/crop.mark.bleed.xml b/xsl/params/crop.mark.bleed.xml new file mode 100644 index 000000000..1eae0cddc --- /dev/null +++ b/xsl/params/crop.mark.bleed.xml @@ -0,0 +1,21 @@ + + +crop.mark.bleed +string + + +crop.mark.bleed +Length of invisible part of crop marks. + + + + + + +Description + +Length of invisible part of crop marks. Crop marks are controlled by +crop.marks parameter. + + + diff --git a/xsl/params/crop.mark.offset.xml b/xsl/params/crop.mark.offset.xml new file mode 100644 index 000000000..d94d06eca --- /dev/null +++ b/xsl/params/crop.mark.offset.xml @@ -0,0 +1,21 @@ + + +crop.mark.offset +string + + +crop.mark.offset +Length of crop marks. + + + + + + +Description + +Length of crop marks. Crop marks are controlled by +crop.marks parameter. + + + diff --git a/xsl/params/crop.mark.width.xml b/xsl/params/crop.mark.width.xml new file mode 100644 index 000000000..bbfe4ff9d --- /dev/null +++ b/xsl/params/crop.mark.width.xml @@ -0,0 +1,21 @@ + + +crop.mark.width +string + + +crop.mark.width +Width of crop marks. + + + + + + +Description + +Width of crop marks. Crop marks are controlled by +crop.marks parameter. + + + diff --git a/xsl/params/crop.marks.xml b/xsl/params/crop.marks.xml new file mode 100644 index 000000000..f483629f2 --- /dev/null +++ b/xsl/params/crop.marks.xml @@ -0,0 +1,21 @@ + + +crop.marks +boolean + + +crop.marks +Output crop marks? + + + + + + +Description + +If non-zero, crop marks will be added to each page. Currently this +works only with XEP if you have xep.extensions set. + + +