Arnaud,
 
Thank you very much.  I didn't think about setting different navigation files at the 
command line.  That worked very well, as I already had a separate navigation.xml file 
for that section.
 
Thanks,
Tim

Arnaud Heritier <[EMAIL PROTECTED]> wrote:
Hello Tim.

By default content of the pdf file is generated from the navigation.xml file
used in your project.
If you don't want/need to modify the site navigation you can specify a new
one to be used for your pdf file. To do this you must specify the property:

maven.pdf.navigationFile

(see http://maven.apache.org/reference/plugins/pdf/properties.html)

If you want to generate several pdf files for the same project you must
specify for each pdf file a new "maven.pdf.navigationFile" and a new
"maven.pdf.pdfName"

For example:
maven -Dmaven.pdf.navigationFile=navigation-pdf1.xml
-Dmaven.pdf.pdfName=file1.pdf pdf

maven -Dmaven.pdf.navigationFile=navigation-pdf2.xml
-Dmaven.pdf.pdfName=file2.pdf pdf


...

I think that you can also create new targets in you maven.xml file to create
automatically these files.

#Arnaud

> -----Message d'origine-----
> De : Tim Greenier [mailto:[EMAIL PROTECTED]
> Envoy� : mardi 4 mai 2004 22:52
> � : [EMAIL PROTECTED]
> Objet : How to generate Multiple PDF files for a project
> 
> Hi,
> 
> I am a new maven users and I have successfully created a pdf file for my
> project. My question is how can I create specific pdf files that only
> contain the content I specify. I am trying to create files that I can use
> for formal documentation on my project, so for example, I would like to
> create a pdf that only has my requirements section of my project. Here is
> a sample of my project layout (documentation only) :
> 
> Project - root
> |
> - project.xml, project.properties, etc.
> - xdocs
> |
> - index.xml, navigation.xml, etc
> - reqs
> |
> - index.xml
> 
> When I use 'maven pdf' at the root level, it will successfully create a
> pdf for the entire site. I am looking for a way to create a pdf for just
> the reqs section. I have tried to do this by putting a project.xml,
> project.properties files in the reqs folder, and then a xdocs folder.
> This allowed me to create the pdf for just that section, and I was still
> able to create the overall site pdf, but is this the best way? Any help
> would be greatly appreciated.
> 
> Thanks!
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

                
---------------------------------
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

Reply via email to