# Changes

dIon Gillard
Arnaud Heritier

## 2.5-SNAPSHOT in SVN

Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :

- xercesImpl v 2.4.0 -> v2.6.2
- xml-apis v 1.0.b2 -> xmlParserAPIs v2.6.2

(update, MAVEN-1712, aheritier)
An error occurs if the project logo or the company logo aren't defined. (fix, MPPDF-47, aheritier)
Page numbering not correct with more than 10 items in menu. (fix, MPPDF-37, ltheussl)
New goal `pdf:navigation-validate` to validate the pdf navigation file. (add, MPPDF-48, ltheussl)
Fix `maven.pdf.cover.projectCompany`. (fix, MPPDF-50, ltheussl)
Make cover header- and footer-height configurable. (add, ltheussl)
Use optional id tag for sub/section anchors to avoid problems with identical names. (fix, MPPDF-40, ltheussl)

## 2.4 2005-09-05

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. (update, aheritier)
sub-/superscripts do not work. (fix, MPPDF-43, aheritier, due to Lukas Theussl)
Error when logo locations are not set. (fix, MPPDF-42, aheritier, due to Lukas Theussl)
Suppress verbose output by default. (fix, MPPDF-41, aheritier, due to Lukas Theussl)
Missing patch for MPPDF-24 ( it defines a missing attribute for <code style="indent"> tags and cleans up some layout issues with definition lists). (fix, MPPDF-39, aheritier, due to Lukas Theussl)
Standardize copyright notices. (fix, MPPDF-35, aheritier, due to Lukas Theussl)
Fix some "contents overflows area" errors. (fix, MPPDF-33, aheritier, due to Valerie Nyre)
Cannot use SVG images. (batik: java.lang.NoSuchMethodError.) (fix, MPPDF-32, aheritier, due to Lukas Theussl)
Can't insert the logo image described in the POM if its path begins with a slash (as it works for the xdoc plugin). (fix, MPPDF-31, aheritier, due to Lukas Theussl)
Allow copy and paste from pdf to text editor. (fix, MPPDF-22, aheritier, due to Lukas Theussl)
Allow the pdf plugin to be added as a project's report. (add, MPPDF-9, aheritier, due to Fabrizio Giustina)
Add support for external imaging libraries like jimi and jai to use PNG images in generated pdf files. (fix, MPPDF-8, aheritier, due to Fabio Franco Uechi)
PDF generation doesn't use proxy settings for external resources. (fix, MPPDF-7, aheritier)

## 2.3 2005-06-16

Use the ant task for the xsl transformation and remove xerces and xalan dependencies. People using java 5 will have to use this release with maven 1.1 or maven 1.0 with at the most the PDF plugin 2.2.X. (update, MPPDF-38, aheritier)
Use the ant task for the fop transformation and remove xalan dependency. (update, aheritier)
maven pdf fails with footer in navigation.xml. (fix, MPPDF-36, aheritier, due to Lukas Theussl)
The first row of table is not rendered. (fix, MPPDF-30, aheritier, due to Lukas Theussl)
Internal links failed. (fix, MPPDF-24, aheritier, due to Lukas Theussl)
img src attributes are not made relative to the xdoc source. (fix, MPPDF-13, aheritier, due to Lukas Theussl)

## 2.2.1 2004-10-30

The content of style tag was printed on the PDF file. (fix, MPPDF-21, aheritier)
JDK 5.0 incompatibility. XSLT is now called from Jelly. (fix, MPPDF-16, aheritier, due to Archimedes Trajano)

## 2.2 2004-09-27

PRE tag support added. (fix, MPPDF-14, aheritier)
Show "v." in cover only when version is not empty. (fix, carlos)
The new property "maven.pdf.navigationFilePath" allows you to define a different directory from ${maven.xdoc.src} for the navigation file. From now, the PDF plugin can be used in a multiproject environment with a navigation file dynamically generated. (fix, MPPDF-12, aheritier)
Add USLetter (8.5"x11") as a paper type. (add, MPPDF-10, aheritier, due to M. Sean Gilligan)

## 2.1 2004-05-15

Add xml-apis and xalan dependencies for JDK 1.3.

(fix, brett)

## 2.0 2004-03-10

Beta Release.

- The PDF generation works if paths used in navigation.xml don't begin with a '/'.
- The date on the cover worked for all projects (not only maven).

(fix, MPPDF-6, evenisse, due to Arnaud Heritier)

- Tables management XSL code cleaned (duplications removed) and simplified.
- Tables with THEAD/TBODY and tables with a first row compound of th have the same look : They use a table header which is copied on each page.
- The cover is improved.
- Internal and external links are differently colored.
- XSL styles are extracted in a single file.

(update, MPPDF-5, evenisse, due to Arnaud Heritier)
Upgraded to xerces 2.4.0, fop 0.20.5, batik 1.5 (add, evenisse)
A new plugin property (maven.pdf.navigationFile) is added to allow the users to have a different navigation file for the site and for the pdf doc. (fix, MPPDF-3, evenisse, due to Arnaud Heritier)
The use of links inside xdocs don't lead to crash the PDF generation. (fix, MPPDF-2, evenisse, due to Arnaud Heritier)
MAVEN-MPPDF-1. Completely re-write of the PDF plug-in. It solves most of the thorniest issues, such as table formatting, more levels in the table of contents, and image sizing. The graphic design is also dramatically improved. (update, MPPDF-1, evenisse, due to Andrew Jaquith)

## 1.2 2003-09-29

update to use maven.docs.*/maven.gen.docs (update, dion)

## 1.1 Unknown

Upgraded to xerces 2.3.0, xalan 2.4.1 and fop 0.20.5rc2 (add, dion)
Added more documentation (add, dion)
Fix plugin and fo stylesheet to get plugin working again (add, dion)
Added table support. (add, evenisse, due to Kai Runte)