aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/tools
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/tools')
-rwxr-xr-xdocumentation/tools/poky-docbook-to-pdf6
1 files changed, 5 insertions, 1 deletions
diff --git a/documentation/tools/poky-docbook-to-pdf b/documentation/tools/poky-docbook-to-pdf
index aa221c02bc..9ac0b828cf 100755
--- a/documentation/tools/poky-docbook-to-pdf
+++ b/documentation/tools/poky-docbook-to-pdf
@@ -30,11 +30,15 @@ xsltproc --xinclude \
--stringparam body.font.master 9 \
--stringparam title.font.master 11 \
--stringparam draft.watermark.image "$TEMPLATEDIR/draft.png" \
+ --stringparam chapter.autolabel 1 \
+ --stringparam appendix.autolabel A \
+ --stringparam section.autolabel 1 \
+ --stringparam section.label.includes.component.label 1 \
--output $FO \
$TEMPLATEDIR/poky-db-pdf.xsl \
$1 || exit 1
-echo fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
+
fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
rm -f $FO