diff --git a/pdf/src/plugin-resources/fo-body.xslt b/pdf/src/plugin-resources/fo-body.xslt index c106e92b..6c7905cf 100644 --- a/pdf/src/plugin-resources/fo-body.xslt +++ b/pdf/src/plugin-resources/fo-body.xslt @@ -103,14 +103,19 @@ - - - - - - - - + + + + + + + + + + + + + @@ -122,24 +127,22 @@ - - - - .,;!?/'\()[]{}+*° - ___________________ - - - - - - - - - - + + + + + + + + + + + + + diff --git a/pdf/src/plugin-test/test02/xdocs/test.xml b/pdf/src/plugin-test/test02/xdocs/test.xml index 1be962b5..182eb825 100644 --- a/pdf/src/plugin-test/test02/xdocs/test.xml +++ b/pdf/src/plugin-test/test02/xdocs/test.xml @@ -97,5 +97,18 @@

+
+ +

This subsection has an id="subsec1" tag.

+
+
+
+ +

This subsection has an id="subsec2" tag.

+

+ Here's a link to the previous subsetion. +

+
+
diff --git a/pdf/xdocs/changes.xml b/pdf/xdocs/changes.xml index c4a4a1ba..08be3ca5 100644 --- a/pdf/xdocs/changes.xml +++ b/pdf/xdocs/changes.xml @@ -24,6 +24,9 @@ Arnaud Heritier + + Use optional id tag for sub/section anchors to avoid problems with identical names. + Make the plugin compatible with maven 1.0 and jdk 1.3/1.4/1.5 or with maven 1.1 and jdk 1.4/1.5. sub-/superscripts do not work. diff --git a/pdf/xdocs/index.xml b/pdf/xdocs/index.xml index 061b6fc5..a58fa473 100644 --- a/pdf/xdocs/index.xml +++ b/pdf/xdocs/index.xml @@ -43,17 +43,22 @@
  • -

    There is a known problem with the PDF generation tool (Apache's FOP) in that it doesn't allow for table structures with automatic column widths to be generated. Widths are uniformly distributed.

    + There is a known problem with the PDF generation tool (Apache's FOP) in that it doesn't allow for table structures with automatic column widths to be generated. Widths are uniformly distributed.
  • -

    Due to several problems, it is actually impossible to reference the same file in different items in navigation.xml. You must define another navigation file (using the property "maven.pdf.navigationFile") which you'll use only with the PDF plug-in. This navigation cannot define several items with the same href.

    + Due to several problems, it is actually impossible to reference the same file in different items in navigation.xml. You must define another navigation file (using the property "maven.pdf.navigationFile") which you'll use only with the PDF plug-in. This navigation cannot define several items with the same href.
  • -

    Identical name or id attributes within one document will lead to a build failure. Note in particular that in the current version of the pdf plugin, id's are constructed from sub/section names (in analogy to the xdoc plugin), so identical titles for sections or subsections will make the pdf generation fail. See MPPDF-40. -

    + Identical id attributes within one document will lead to a build failure.
  • -

    Other issues are available in Jira.

    + Contrary to the xdoc plugin, the pdf plugin does not generate + anchors from section or subsection names. If you want to reference + a section or subsection you have to use the optional + id tag. +
  • +
  • + Other issues are available in Jira.