Mailing List Archive

Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt
Hello,

I am having trouble generating a PDF from an ODT file using the
org.apache.forrest.plugin.input.odt plugin. I added
"Abstracts-10.odt" to my source and the following corresponding entry
to site.xml:

<abstracts label="abstracts" href="Abstracts-10.html"/>

The html is generated properly, but I get the following error with
regard to the PDF:

* [98/2] [1/36] 0.535s 29.9Kb samples/Abstracts-10.html
X [0]
samples/Abstracts-10.pdf BROKEN: internal-destination or
external-destination must be specified in basic-link

Am I missing something obvious?

Other info:
Mac OS 10.5.6
Java 1.5.0_16
Forrest 0.8

Thanks!
-Heather
Re: Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt [ In reply to ]
I believe that the process I'm using is correct, because when I add the
sample file "opendocument-writer.odt" to my site in the same way, both the
html and PDF are generated correctly.

So, there must be some problematic difference between my .odt file and this
.odt file. Perhaps the version of OO that was used to create it
differs...or...maybe my file contains some problematic elements? Any
ideas? The file appears relatively simple, with no hyperlinks or images.
Re: Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt [ In reply to ]
My own file is version 1.1, whereas the sample file is version 1.0. Is this
a problem? Does the plugin not handle v 1.1?
Re: Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt [ In reply to ]
Heather Phipps wrote:
> My own file is version 1.1, whereas the sample file is version 1.0. Is this
> a problem? Does the plugin not handle v 1.1?

I do not know anything about those "office" type plugins.
The docs show that the "odt" plugin is in the whiteboard
so is still in development.
http://forrest.apache.org/pluginDocs/

So the dev mail list is more appropriate.
You might grab the attention there of its developers.

-David
Re: Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt [ In reply to ]
FYI, other 1.1 files generate a PDF successfully, so it appears that the
problem is something more specific, which I have yet to identify...