From 55e159c873e0354dbc042f47e0dcb9559816fa0e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 18 Mar 2010 15:36:58 +0000 Subject: poky-doc-tools: Update to work with fop >= 0.95 Signed-off-by: Richard Purdie --- handbook/poky-doc-tools/README | 11 +-- handbook/poky-doc-tools/common/VeraMoBd.xml | 2 +- handbook/poky-doc-tools/common/VeraMono.xml | 2 +- handbook/poky-doc-tools/common/fop-config.xml.in | 85 +++++++++++++++--------- handbook/poky-doc-tools/common/poky-db-pdf.xsl | 2 +- 5 files changed, 61 insertions(+), 41 deletions(-) diff --git a/handbook/poky-doc-tools/README b/handbook/poky-doc-tools/README index 7f6cb87f07..54e2d8e50b 100644 --- a/handbook/poky-doc-tools/README +++ b/handbook/poky-doc-tools/README @@ -1,7 +1,7 @@ poky-doc-tools ============== -Simple tools to wrap fop to create oh branded PDF's from docbook sources. +Simple tools to wrap fop to create Poky branded PDF's from docbook sources. (based on OH doc tools) Dependencies @@ -9,15 +9,10 @@ Dependencies Sun Java, make sure the java in your path is the *sun* java. -xlstproc, nwalsh style sheets. +xlstproc, nwalsh style sheets, fop FOP, installed - see http://www.sagehill.net/docbookxsl/InstallingAnFO.html. -Also a 'fop' binary, eg I have; - -% cat ~/bin/fop -#!/bin/sh -java org.apache.fop.apps.Fop "$@" - +Updated to work with (fop > 0.95) diff --git a/handbook/poky-doc-tools/common/VeraMoBd.xml b/handbook/poky-doc-tools/common/VeraMoBd.xml index 78c9207502..9b33107a44 100644 --- a/handbook/poky-doc-tools/common/VeraMoBd.xml +++ b/handbook/poky-doc-tools/common/VeraMoBd.xml @@ -1 +1 @@ -BitstreamVeraSansMono,Bold729546928-235-19-2356059283400TRUETYPEWinAnsiEncoding0255 \ No newline at end of file +BitstreamVeraSansMono-BoldBitstream Vera Sans Mono BoldBitstream Vera Sans Mono729546759-240-19-2356059283400TYPE0CIDFontType20 \ No newline at end of file diff --git a/handbook/poky-doc-tools/common/VeraMono.xml b/handbook/poky-doc-tools/common/VeraMono.xml index 61607b453a..3a0a86659c 100644 --- a/handbook/poky-doc-tools/common/VeraMono.xml +++ b/handbook/poky-doc-tools/common/VeraMono.xml @@ -1 +1 @@ -BitstreamVeraSansMono729546928-235-4-2356059283400TRUETYPEWinAnsiEncoding0255 \ No newline at end of file +BitstreamVeraSansMono-RomanBitstream Vera Sans MonoBitstream Vera Sans Mono729546759-240-4-2356059283400TYPE0CIDFontType20 \ No newline at end of file diff --git a/handbook/poky-doc-tools/common/fop-config.xml.in b/handbook/poky-doc-tools/common/fop-config.xml.in index 649ccb566f..40cdf9c334 100644 --- a/handbook/poky-doc-tools/common/fop-config.xml.in +++ b/handbook/poky-doc-tools/common/fop-config.xml.in @@ -1,33 +1,58 @@ - - - - baseDir - @datadir@ - - - - - + - - - + + true - - - - - - + + true + + + @datadir@ + @datadir@/common + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - \ No newline at end of file diff --git a/handbook/poky-doc-tools/common/poky-db-pdf.xsl b/handbook/poky-doc-tools/common/poky-db-pdf.xsl index d1452eb0bb..302e66f640 100644 --- a/handbook/poky-doc-tools/common/poky-db-pdf.xsl +++ b/handbook/poky-doc-tools/common/poky-db-pdf.xsl @@ -54,7 +54,7 @@ - + -- cgit v1.2.3-54-g00ecf