From: Bob Stayton Date: Mon, 9 Aug 2004 00:31:05 +0000 (+0000) Subject: Extended full olink support to FO output. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d99674701f6c782bc2e18c157f06ef9502622e1;p=docbook-dsssl Extended full olink support to FO output. --- diff --git a/xsl/fo/docbook.xsl b/xsl/fo/docbook.xsl index d035b2f1b..c60f5d0d9 100644 --- a/xsl/fo/docbook.xsl +++ b/xsl/fo/docbook.xsl @@ -31,6 +31,8 @@ + + @@ -68,6 +70,7 @@ + @@ -115,95 +118,121 @@ - + - - - - - ERROR: Document root element for FO output - must be one of the following elements: - - - + + + + + + + ID ' + + ' not found in document. + + + + + ERROR: Document root element ($rootid= + + ) for FO output + must be one of the following elements: + + + + + + + + + + + + + + + + + + + + + ERROR: Document root element for FO output + must be one of the following elements: + + + + + + + + + + + + + + + + + + - + + - - - - - - [could not find document title] - + + + + + + + + [could not find document title] + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - ID ' - - ' not found in document. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + @@ -228,14 +257,14 @@ - - + + - - + + diff --git a/xsl/fo/fo.xsl b/xsl/fo/fo.xsl index 828e2b4bd..433dd7966 100644 --- a/xsl/fo/fo.xsl +++ b/xsl/fo/fo.xsl @@ -58,5 +58,14 @@ + + + + # + + + + + diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 15ada3be0..ae2a3ab0f 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -92,6 +92,15 @@ + + + + + + + + + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 55d1de5bb..eba49bc1b 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -175,10 +175,19 @@ generate.section.toc.level; Linking -&target.database.document; -&use.local.olink.style; ¤t.docid; +&collect.xref.targets; +&insert.olink.page.number; +&insert.olink.pdf.frag; +&olink.base.uri; +&olink.debug; &olink.doctitle; +&olink.lang.fallback.sequence; +&olink.properties; +&prefer.internal.olink; +&target.database.document; +&targets.filename; +&use.local.olink.style; QAndASet @@ -523,6 +532,7 @@ around all these parameters. + @@ -616,6 +626,13 @@ around all these parameters. + + + + + + + @@ -708,6 +725,7 @@ around all these parameters. + diff --git a/xsl/fo/xref.xsl b/xsl/fo/xref.xsl index a669587fd..d05676ea5 100644 --- a/xsl/fo/xref.xsl +++ b/xsl/fo/xref.xsl @@ -15,11 +15,6 @@ ******************************************************************** --> - - - - @@ -101,7 +96,7 @@ and (contains(@xrefstyle, 'page') or contains(@xrefstyle, 'Page'))) and ( $insert.xref.page.number = 'yes' - or $insert.xref.page.number = '1') + or $insert.xref.page.number = '1') or local-name($target) = 'para'"> @@ -151,13 +146,17 @@ + + - - Don't know what gentext to create for xref to: " - - " - - ??? + + + Don't know what gentext to create for xref to: " + + " + + ??? + @@ -192,12 +191,14 @@ mode="xref-to"> + + @@ -229,11 +230,13 @@ + + @@ -375,11 +378,13 @@ + + @@ -412,22 +417,26 @@ + + + + @@ -659,7 +668,7 @@ -   +   - - - + + - - - - - Olink missing @targetptr attribute value - - - Olink missing @targetdoc attribute value - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + Olink debug: root element of target.database is ' + + '. + + + + + + + + - - - - - - - - - - - - - - - - - () - + + + + + Error: unresolved olink: + targetdoc/targetptr = ' + + / + + '. + - - - + + + + + + + + + + + + + + + - - + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + - Olink error: no generated text for targetdoc/targetptr = / - ???? + + + + + - ???? - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Fatal error: what is this supposed to do?