<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>user@forrest.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/forrest-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/forrest-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/forrest-user/</id>
<updated>2009-12-07T19:26:52Z</updated>
<entry>
<title>Re: Unable to find the description of org.apache.forrest.plugin.output.inputModule</title>
<author><name>Ross Gardler &lt;rgardler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200910.mbox/%3c61c9bc470910191220l3a0d8684rf95e232114ded361@mail.gmail.com%3e"/>
<id>urn:uuid:%3c61c9bc470910191220l3a0d8684rf95e232114ded361@mail-gmail-com%3e</id>
<updated>2009-10-19T19:20:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/10/19 Sander W G van der Waal &lt;sander.vanderwaal@oucs.ox.ac.uk&gt;:
&gt; Hello,
&gt;
&gt; I am a new user of Forrest and downloaded and installed the 0.8
&gt; release of Forrest last Friday. I want to run Forrest locally on
&gt; an existing Forrest-website, so after installation I executed
&gt; 'forrest run' from the basedir of my website. The following error
&gt; appeared :
&gt;
&gt; C:\java\apache-forrest-0.8\main\targets\plugins.xml:359: STOP GENERATION !
&gt;    WARNING - Cannot find the plugin description
&gt;    ============================================
&gt;
&gt;    Unable to find the description of org.apache.forrest.plugin.output.inputModule in
the different descriptor files.

...

&gt; I could not find anything on my problem in the documentation / list / issue
&gt; tracker. Did I overlook something? Is there a better way to handle this?

This occurs when a site is using dispatcher based site. Dispatcher is
in the whiteboard still and has been under heavy development since
version 0.8. I suspect the site you are trying to build requires
Forrest 0.9-dev - which is the version in SVN

Ross


</pre>
</div>
</content>
</entry>
<entry>
<title>Unable to find the description of org.apache.forrest.plugin.output.inputModule</title>
<author><name>Sander W G van der Waal &lt;sander.vanderwaal@oucs.ox.ac.uk&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200910.mbox/%3c31585B80C053CC4DA496C17B3EF9B6CB10ECD601D5@EXMBX02.ad.oak.ox.ac.uk%3e"/>
<id>urn:uuid:%3c31585B80C053CC4DA496C17B3EF9B6CB10ECD601D5@EXMBX02-ad-oak-ox-ac-uk%3e</id>
<updated>2009-10-19T08:29:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

I am a new user of Forrest and downloaded and installed the 0.8 
release of Forrest last Friday. I want to run Forrest locally on 
an existing Forrest-website, so after installation I executed 
'forrest run' from the basedir of my website. The following error 
appeared : 

C:\java\apache-forrest-0.8\main\targets\plugins.xml:359: STOP GENERATION !
    WARNING - Cannot find the plugin description
    ============================================

    Unable to find the description of org.apache.forrest.plugin.output.inputModule in the
different descriptor files.

The output.inputModule was indeed present in my project.required.plugins 
list in forrest.properties, which seems mandatory following FOR-926 [1]. 
The local plugin list in plugins/plugins.xml of release 0.8 contains a 
reference to output.inputModule, but this file is overridden with the 
public plugins.xml [2] which does not contain the reference to 
output.inputModule (because of FOR-1103 [3]?).

Since the public plugin list is not version specific I suspect it would 
still need older plugins listed there, but I am only new here so I am 
not sure I understand the mechanism correctly.

I got it up-and-running by changing the ant file main/targets/plugins.xml, 
task fetch-plugins-descriptors. Changing the var plugin-counter to 3 on 
line 293 kept the local plugins.xml files and added the remote ones instead 
of overriding them. This worked for me but it may not be the way Forrest 
should be used.

I could not find anything on my problem in the documentation / list / issue 
tracker. Did I overlook something? Is there a better way to handle this? 

Best regards,

Sander van der Waal


[1] http://issues.apache.org/jira/browse/FOR-926
[2] http://forrest.apache.org/plugins/plugins.xml 
[3] http://issues.apache.org/jira/browse/FOR-1103 


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Skinned Sites: Please remove the Link to www.krabbelkaefer.de</title>
<author><name>Tim Williams &lt;williamstw@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200910.mbox/%3c499888440910170737p6e9093edt8d7b6eb01098eb3c@mail.gmail.com%3e"/>
<id>urn:uuid:%3c499888440910170737p6e9093edt8d7b6eb01098eb3c@mail-gmail-com%3e</id>
<updated>2009-10-17T14:37:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Done in the source at r826262.
Thanks,
--tim

On Sat, Oct 17, 2009 at 10:23 AM, Monika Schaefer
&lt;monika@schaefer-wilhelmsdorf.de&gt; wrote:
&gt; Hello
&gt;
&gt; Im sorry but I have to inform you that www.krabbelkaefer.de is no longer
&gt; using forrest as it it's content has been removed.
&gt; Would you please remove the link from your Live Sites List.
&gt;
&gt; I want to thank you all, forrest ist a great project.
&gt;
&gt; Bye
&gt; Monika Schäfer
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Skinned Sites: Please remove the Link to www.krabbelkaefer.de</title>
<author><name>Monika Schaefer &lt;monika@schaefer-wilhelmsdorf.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200910.mbox/%3c4AD9D36C.4030801@schaefer-wilhelmsdorf.de%3e"/>
<id>urn:uuid:%3c4AD9D36C-4030801@schaefer-wilhelmsdorf-de%3e</id>
<updated>2009-10-17T14:23:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello

Im sorry but I have to inform you that www.krabbelkaefer.de is no longer
using forrest as it it's content has been removed.
Would you please remove the link from your Live Sites List.

I want to thank you all, forrest ist a great project.

Bye
Monika Schäfer


</pre>
</div>
</content>
</entry>
<entry>
<title>[ANN]VTD-XML 2.7</title>
<author><name>&quot;jimmy Zhang&quot; &lt;crackeur@comcast.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200910.mbox/%3c003501ca454e$24446c30$0402a8c0@your55e5f9e3d2%3e"/>
<id>urn:uuid:%3c003501ca454e$24446c30$0402a8c0@your55e5f9e3d2%3e</id>
<updated>2009-10-04T23:55:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
VTD-XML 2.7 (http://vtd-xml.sf.net) is released and can be downloaded at

http://sourceforge.net/projects/vtd-xml/files/.
Below is a summary of what are the new features and enhancements.

Expanded VTD-XML's Core API

  a.. VTDNav: toStringUpperCase, toStringLowerCase, contains(), endsWith(),
  startsWith()
  b.. Extended VTD added in-memory buffer support

Improved Xpath
  a.. Added the following XPath 2.0 functions: abs(), ends-with(), 
upper-case(),  lower-case()
  b.. Added support for variable reference * significantly enhanced XPath
  syntax, checking error reporting (Special thanks to Mark Swanson)
  c.. Internal performance tuning Bug fixes and

Code Enhancement
  a.. C version significantly removed warning message, fix memory leak 
during  Xpath expression parsing,
  b.. Various bug fies (Special thanks to Jon Roberts, John Zhu, Matej 
Spiller,  Steve Polson, and Romain La Tellier)


</pre>
</div>
</content>
</entry>
<entry>
<title>Fwd: Sign up for ApacheCon US by 14 August and save up to $500!</title>
<author><name>David Crossley &lt;crossley@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200908.mbox/%3c20090810021352.GD24438@igg.indexgeo.com.au%3e"/>
<id>urn:uuid:%3c20090810021352-GD24438@igg-indexgeo-com-au%3e</id>
<updated>2009-08-10T02:13:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
----- Forwarded message from Sally Khudairi -----

Sign up for ApacheCon US by 14 August and save up to $500!

This year's ApacheCon US promises to deliver our most extensive program to date, and largest
anticipated gathering of the global Apache community to celebrate the ASF's milestone 10th
Anniversary. The San Francisco Bay Area is where the very first ASF official user conference
was held, and we hope that you will join us in celebrating the ASF's success! 

Apache members, code contributors, users, developers, system administrators, business managers,
service providers, and vendors will convene 2-6 November in Oakland, California, for a week
of training, presentations, sharing and hacking. ApacheCon US 2009 features new content tracks,
MeetUps, and GetTogethers, as well as a number of events open to the public free of charge,
such as the Hackathon and 2-day BarCampApache, in appreciation of their support over the past
decade.

Be sure to register by 14 August to save up to $500! To sign up, visit http://www.us.apachecon.com/

Those wishing to attend ApacheCon, but may be unable to do so due to financial reasons are
encouraged to apply for Travel Assistance by completing the form at http://www.apache.org/travel/
Financial support for flights, accommodation, subsistence, and conference fees are availablAnyone
involved in Open Source is welcome to apply for financial support for flights, accommodation,
subsistence and Conference fees. Hurry, applications close on 17 August.

Conference sponsor, exhibitor, and community partnerships are also available: please contact
Delia Frees at delia@apachecon.com for details.

# # #
----- End forwarded message -----


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: about internationalization</title>
<author><name>Tim Williams &lt;williamstw@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200907.mbox/%3c499888440907300414y6e40773kb65080e5ebcac094@mail.gmail.com%3e"/>
<id>urn:uuid:%3c499888440907300414y6e40773kb65080e5ebcac094@mail-gmail-com%3e</id>
<updated>2009-07-30T11:14:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Jul 29, 2009 at 2:51 PM, Joao
Ferreira&lt;jmcferreira@critical-links.com&gt; wrote:
&gt; Hello all,
&gt;
&gt; is i18n supported in any form by Forrest ? could anyone point me to some
&gt; docs or best practices on Internationalizing a document written with
&gt; Forrest ?
&gt;
&gt; at my company we are on the verge on starting translating our documents
&gt; and I'dd like to get my hands on the biggest issues and understand
&gt; exactlly how Forrest would help us on this...
&gt;
&gt; I'm realy a beginner in this issue, but I need to get into this matter
&gt; to understandf just how we will do this... it seems a big and complex
&gt; task.
&gt;
&gt; THX for any pointers.

Have you tried playing around with the sample[1]?  It might give you a
good idea of how things work..

I also found this issue[2] that led to that page's creation.  I'm not
sure why it was decided to put it only as a sample and not with the
real docs.  We should probably change that.

--tim

[1] - http://forrest.zones.apache.org/ft/build/forrest-seed/samples-c/i18n.html
[2] - https://issues.apache.org/jira/browse/FOR-707


</pre>
</div>
</content>
</entry>
<entry>
<title>about internationalization</title>
<author><name>Joao Ferreira &lt;jmcferreira@critical-links.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200907.mbox/%3c1248893498.4518.38.camel@debj5n.critical.pt%3e"/>
<id>urn:uuid:%3c1248893498-4518-38-camel@debj5n-critical-pt%3e</id>
<updated>2009-07-29T18:51:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello all,

is i18n supported in any form by Forrest ? could anyone point me to some
docs or best practices on Internationalizing a document written with
Forrest ?

at my company we are on the verge on starting translating our documents
and I'dd like to get my hands on the biggest issues and understand
exactlly how Forrest would help us on this... 

I'm realy a beginner in this issue, but I need to get into this matter
to understandf just how we will do this... it seems a big and complex
task.

THX for any pointers.

Joao




</pre>
</div>
</content>
</entry>
<entry>
<title>FW: Application Period for Travel Assistance to ApacheCon US 2009 Opens Soon</title>
<author><name>&quot;Gavin&quot; &lt;gavin@16degrees.com.au&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200907.mbox/%3cC1EB40CCF67C47CF83919EC9DAF60729@developer%3e"/>
<id>urn:uuid:%3cC1EB40CCF67C47CF83919EC9DAF60729@developer%3e</id>
<updated>2009-07-22T09:51:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Forwarded from Travel Assistance Committee:

 The Travel Assistance Committee is taking in applications for those
 wanting to attend ApacheCon US 2009 (Oakland) which takes place between the
2nd and 6th November 2009.
 
 The Travel Assistance Committee is looking for people who would like to be
 able to attend ApacheCon US 2009 who may need some financial support in
 order to get there. There are limited places available, and all
 applications
 will be scored on their individual merit. Applications are open to all
 open
 source developers who feel that their attendance would benefit themselves,
 their project(s), the ASF and open source in general.
 
 Financial assistance is available for flights, accommodation, subsistence
 and Conference fees either in full or in part, depending on circumstances.
 It is intended that all our ApacheCon events are covered, so it may be
 prudent for those in Europe and/or Asia to wait until an event closer to
 them comes up - you are all welcome to apply for ApacheCon US of course,
 but
 there should be compelling reasons for you to attend an event further away
 that your home location for your application to be considered above those
 closer to the event location.
 
 More information can be found on the main Apache website at
 http://www.apache.org/travel/index.html - where you will also find a link
 to
 the online application and details for submitting.
 
 Applications for applying for travel assistance will open on 27th July
 2009
 and close of the 17th August 2009.
 
 Good luck to all those that will apply.
 
 Regards,
 
 The Travel Assistance Committee
 --------------------




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: openoffice support fails to render some embedded images</title>
<author><name>Brian M Dube &lt;bdube@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200906.mbox/%3c20090622141151.GD4184@beaver.dehavilland%3e"/>
<id>urn:uuid:%3c20090622141151-GD4184@beaver-dehavilland%3e</id>
<updated>2009-06-22T14:11:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Mon, Jun 22, 2009 at 10:52:26AM +0200, Cyriaque Dupoirieux wrote:
&gt; le 10/06/2009 09:57 Derek Baum a écrit :
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; We've been successfully using forrest 0.8 for over a year now and we  
&gt;&gt; like the ability to build content from openoffice .odt documents.  
&gt;&gt; (http://newton.codecauldron.org)
&gt;&gt;
&gt;&gt; We largely have this working, but we still find that it is sensitive  
&gt;&gt; to what type of images are embedded in the .odt file: .png and .jpg  
&gt;&gt; images render fine, but .tiff images do not.
&gt;&gt;
&gt;&gt; Is this just because the file extension in the OO file is .tif rather  
&gt;&gt; than .tiff, or something else?
&gt;&gt;
&gt;&gt; $ unzip -l InstallationGuide.odt
&gt;&gt; Archive:  InstallationGuide.odt
&gt;&gt;   Length     Date   Time    Name
&gt;&gt;  --------    ----   ----    ----
&gt;&gt;        39  06-05-09 16:49   mimetype
&gt;&gt;         0  06-05-09 16:49   Configurations2/images/Bitmaps/
&gt;&gt;    127620  06-05-09 16:49   Pictures/1000000000000280000001E02A9E9828.tif
&gt;&gt;     59894  06-05-09 16:49   Pictures/1000000000000280000001E0E2C50ACF.tif
&gt;&gt;      7160  06-05-09 16:49   Pictures/1000000000000196000001142835D184.jpg
&gt;&gt;
&gt;&gt; Up until now, we have just been replacing embedded .tiff images with  
&gt;&gt; .png or .jpg, but this is a pain.
&gt;&gt;
&gt;&gt; Can anyone suggest how to fix this properly?
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt;
&gt;&gt; Derek
&gt;&gt;
&gt;&gt;
&gt; Hi,
&gt;
&gt; I am going to work a little on forrest on friday,
&gt; I will see what's the problem with tif files.

I'm sorry, I forgot to report that I did some troubleshooting on
this. I tried David's suggestion with raw.xmap, but I didn't notice
any change. When I called the full URL of the graphic that wasn't
displaying as it should have done, the image was fetched but the
mime-type was not what I specified in raw.xmap.

Brian

&gt; Did you create an issue for this in Jira ?
&gt;
&gt; -- 
&gt; Salutations,
&gt; Cyriaque
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: openoffice support fails to render some embedded images</title>
<author><name>Derek Baum &lt;derek.baum@paremus.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200906.mbox/%3c9b350d680906220410n3ad086egefe0267207bcfb76@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9b350d680906220410n3ad086egefe0267207bcfb76@mail-gmail-com%3e</id>
<updated>2009-06-22T11:10:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

No I didn't create a Jira issue.

I have not yet tried David's suggestion of looking in raw.xmap, as I'm
currently travelling, but I hope to try it next week.

Derek

2009/6/22 Cyriaque Dupoirieux &lt;cyriaque.dupoirieux@pco-innovation.com&gt;

&gt; le 10/06/2009 09:57 Derek Baum a écrit :
&gt;
&gt;  Hi,
&gt;&gt;
&gt;&gt; We've been successfully using forrest 0.8 for over a year now and we like
&gt;&gt; the ability to build content from openoffice .odt documents. (
&gt;&gt; http://newton.codecauldron.org)
&gt;&gt;
&gt;&gt; We largely have this working, but we still find that it is sensitive to
&gt;&gt; what type of images are embedded in the .odt file: .png and .jpg images
&gt;&gt; render fine, but .tiff images do not.
&gt;&gt;
&gt;&gt; Is this just because the file extension in the OO file is .tif rather than
&gt;&gt; .tiff, or something else?
&gt;&gt;
&gt;&gt; $ unzip -l InstallationGuide.odt
&gt;&gt; Archive:  InstallationGuide.odt
&gt;&gt;  Length     Date   Time    Name
&gt;&gt;  --------    ----   ----    ----
&gt;&gt;       39  06-05-09 16:49   mimetype
&gt;&gt;        0  06-05-09 16:49   Configurations2/images/Bitmaps/
&gt;&gt;   127620  06-05-09 16:49   Pictures/1000000000000280000001E02A9E9828.tif
&gt;&gt;    59894  06-05-09 16:49   Pictures/1000000000000280000001E0E2C50ACF.tif
&gt;&gt;     7160  06-05-09 16:49   Pictures/1000000000000196000001142835D184.jpg
&gt;&gt;
&gt;&gt; Up until now, we have just been replacing embedded .tiff images with .png
&gt;&gt; or .jpg, but this is a pain.
&gt;&gt;
&gt;&gt; Can anyone suggest how to fix this properly?
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt;
&gt;&gt; Derek
&gt;&gt;
&gt;&gt;
&gt;&gt;  Hi,
&gt;
&gt; I am going to work a little on forrest on friday,
&gt; I will see what's the problem with tif files.
&gt; Did you create an issue for this in Jira ?
&gt;
&gt; --
&gt; Salutations,
&gt; Cyriaque
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: openoffice support fails to render some embedded images</title>
<author><name>Cyriaque Dupoirieux &lt;cyriaque.dupoirieux@pco-innovation.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200906.mbox/%3c4A3F464A.5010603@pco-innovation.com%3e"/>
<id>urn:uuid:%3c4A3F464A-5010603@pco-innovation-com%3e</id>
<updated>2009-06-22T08:52:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
le 10/06/2009 09:57 Derek Baum a écrit :
&gt; Hi,
&gt;
&gt; We've been successfully using forrest 0.8 for over a year now and we 
&gt; like the ability to build content from openoffice .odt documents. 
&gt; (http://newton.codecauldron.org)
&gt;
&gt; We largely have this working, but we still find that it is sensitive 
&gt; to what type of images are embedded in the .odt file: .png and .jpg 
&gt; images render fine, but .tiff images do not.
&gt;
&gt; Is this just because the file extension in the OO file is .tif rather 
&gt; than .tiff, or something else?
&gt;
&gt; $ unzip -l InstallationGuide.odt
&gt; Archive:  InstallationGuide.odt
&gt;   Length     Date   Time    Name
&gt;  --------    ----   ----    ----
&gt;        39  06-05-09 16:49   mimetype
&gt;         0  06-05-09 16:49   Configurations2/images/Bitmaps/
&gt;    127620  06-05-09 16:49   Pictures/1000000000000280000001E02A9E9828.tif
&gt;     59894  06-05-09 16:49   Pictures/1000000000000280000001E0E2C50ACF.tif
&gt;      7160  06-05-09 16:49   Pictures/1000000000000196000001142835D184.jpg
&gt;
&gt; Up until now, we have just been replacing embedded .tiff images with 
&gt; .png or .jpg, but this is a pain.
&gt;
&gt; Can anyone suggest how to fix this properly?
&gt;
&gt; Thanks,
&gt;
&gt; Derek
&gt;
&gt;
Hi,

I am going to work a little on forrest on friday,
I will see what's the problem with tif files.
Did you create an issue for this in Jira ?

-- 
Salutations,
Cyriaque



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: openoffice support fails to render some embedded images</title>
<author><name>David Crossley &lt;crossley@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200906.mbox/%3c20090616034406.GB272@igg.indexgeo.com.au%3e"/>
<id>urn:uuid:%3c20090616034406-GB272@igg-indexgeo-com-au%3e</id>
<updated>2009-06-16T03:44:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Derek Baum wrote:
&gt; 
&gt; We've been successfully using forrest 0.8 for over a year now and we like
&gt; the ability to build content from openoffice .odt documents. (
&gt; http://newton.codecauldron.org)
&gt; 
&gt; We largely have this working, but we still find that it is sensitive to what
&gt; type of images are embedded in the .odt file: .png and .jpg images render
&gt; fine, but .tiff images do not.
&gt; 
&gt; Is this just because the file extension in the OO file is .tif rather than
&gt; .tiff, or something else?
&gt; 
&gt; $ unzip -l InstallationGuide.odt
&gt; Archive:  InstallationGuide.odt
&gt;   Length     Date   Time    Name
&gt;  --------    ----   ----    ----
&gt;        39  06-05-09 16:49   mimetype
&gt;         0  06-05-09 16:49   Configurations2/images/Bitmaps/
&gt;    127620  06-05-09 16:49   Pictures/1000000000000280000001E02A9E9828.tif
&gt;     59894  06-05-09 16:49   Pictures/1000000000000280000001E0E2C50ACF.tif
&gt;      7160  06-05-09 16:49   Pictures/1000000000000196000001142835D184.jpg
&gt; 
&gt; Up until now, we have just been replacing embedded .tiff images with .png or
&gt; .jpg, but this is a pain.
&gt; 
&gt; Can anyone suggest how to fix this properly?

See $FORREST_HOME/main/webapp/raw.xmap
and search in file for "jpg" and "jpeg".
Add similar handling to read other raw formats,
such as TIFF.

Please add a patch to our issue tracker:
http://forrest.apache.org/issues.html

-David


</pre>
</div>
</content>
</entry>
<entry>
<title>openoffice support fails to render some embedded images</title>
<author><name>Derek Baum &lt;derek.baum@paremus.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200906.mbox/%3c9b350d680906100057v3e706470h652cd999b736f4b6@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9b350d680906100057v3e706470h652cd999b736f4b6@mail-gmail-com%3e</id>
<updated>2009-06-10T07:57:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

We've been successfully using forrest 0.8 for over a year now and we like
the ability to build content from openoffice .odt documents. (
http://newton.codecauldron.org)

We largely have this working, but we still find that it is sensitive to what
type of images are embedded in the .odt file: .png and .jpg images render
fine, but .tiff images do not.

Is this just because the file extension in the OO file is .tif rather than
.tiff, or something else?

$ unzip -l InstallationGuide.odt
Archive:  InstallationGuide.odt
  Length     Date   Time    Name
 --------    ----   ----    ----
       39  06-05-09 16:49   mimetype
        0  06-05-09 16:49   Configurations2/images/Bitmaps/
   127620  06-05-09 16:49   Pictures/1000000000000280000001E02A9E9828.tif
    59894  06-05-09 16:49   Pictures/1000000000000280000001E0E2C50ACF.tif
     7160  06-05-09 16:49   Pictures/1000000000000196000001142835D184.jpg

Up until now, we have just been replacing embedded .tiff images with .png or
.jpg, but this is a pain.

Can anyone suggest how to fix this properly?

Thanks,

Derek


</pre>
</div>
</content>
</entry>
<entry>
<title>PDF - image generation fails when images not in resource/images directory</title>
<author><name>Manuel GAY &lt;manuel.gay@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200906.mbox/%3c4A28E47B.7080405@gmail.com%3e"/>
<id>urn:uuid:%3c4A28E47B-7080405@gmail-com%3e</id>
<updated>2009-06-05T09:25:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hi,

I'm using forrest 0.8. in the document-to-fo.xsl, there's following code:

&lt;!-- resources image dir --&gt;
           &lt;xsl:when test="starts-with(string(@src),'images/')"&gt;
             &lt;xsl:value-of 
select="concat($imagesdir,substring-after(@src,'images'))"/&gt;
           &lt;/xsl:when&gt;
           &lt;xsl:when test="contains(string(@src),'/images/')"&gt;
             &lt;xsl:value-of 
select="concat($imagesdir,substring-after(@src,'/images'))"/&gt;
           &lt;/xsl:when&gt;

&lt;!-- already absolute --&gt;
           &lt;xsl:when test="contains(string(@src),':') or 
starts-with(string(@src),'/')"&gt;
             &lt;xsl:value-of select="@src"/&gt;
           &lt;/xsl:when&gt;

&lt;!-- relative to document --&gt;
           &lt;xsl:otherwise&gt;
             &lt;xsl:value-of select="concat($xmlbasedir,@src)"/&gt;
           &lt;/xsl:otherwise&gt;
         &lt;/xsl:choose&gt;
       &lt;/xsl:variable&gt;
       &lt;fo:external-graphic src="{$imgpath}"&gt;
         &lt;xsl:if test="@height"&gt;
           &lt;xsl:attribute name="height"&gt;
             &lt;xsl:value-of select="@height"/&gt;
           &lt;/xsl:attribute&gt;
         &lt;/xsl:if&gt;
         &lt;xsl:if test="@width"&gt;
           &lt;xsl:attribute name="width"&gt;
             &lt;xsl:value-of select="@width"/&gt;
           &lt;/xsl:attribute&gt;
         &lt;/xsl:if&gt;
       &lt;/fo:external-graphic&gt;


the first part causes trouble when the images happen not to be in the 
resource folder, but in an "images" folder (e.g. in 
/content/xdocs/images), i.e. "fo:external-graphic" gets a wrong src value.

commenting out this part did the trick for me - but I do wonder


1/ what is the rationale behind having images in the resource/ folder?


2/ if I wanted to have all my images in resource/images rather than in 
content/xdocs/images, (how) would I still be able to include the images 
in the site?


3/ are there any plans to simplify the default forrest folder structure 
a bit? right now, it looks quite complex. I recognize that many folders 
are necessary to allow for customization, yet I believe those do not 
necessarily need to be created by a "forrest seed" from a user point of 
view (to name a few: translations, resources, conf and classes do not 
seem to give much added value on the first sight)


thanks,

Manuel


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: A new site using dispatcher</title>
<author><name>Brian M Dube &lt;bdube@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c20090531022325.GI9906@beaver.dehavilland%3e"/>
<id>urn:uuid:%3c20090531022325-GI9906@beaver-dehavilland%3e</id>
<updated>2009-05-31T02:23:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Sat, May 30, 2009 at 08:48:47PM +0200, Bacchella Fabrice wrote:
&gt; http://jrds.sourceforge.net/
&gt;
&gt; jrds is a cacti like tools written in java.
&gt;
&gt; I choose dispatcher because of the Google Analytics contract.

Thanks. This site has been added to the list and will appear on the
Forrest site shortly.

Brian


</pre>
</div>
</content>
</entry>
<entry>
<title>A new site using dispatcher</title>
<author><name>Bacchella Fabrice &lt;fabrice.bacchella@exalead.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3cDE12B41A-65CD-445A-A7E5-2F1C1F3E6F62@exalead.com%3e"/>
<id>urn:uuid:%3cDE12B41A-65CD-445A-A7E5-2F1C1F3E6F62@exalead-com%3e</id>
<updated>2009-05-30T18:48:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
http://jrds.sourceforge.net/

jrds is a cacti like tools written in java.

I choose dispatcher because of the Google Analytics contract.



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: build fails when I attempt &quot;forrest site&quot; after &quot;forrest seed-business&quot;</title>
<author><name>&quot;Gavin&quot; &lt;gavin@16degrees.com.au&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c83C62CB5684F49B69449DF0545CF219D@developer%3e"/>
<id>urn:uuid:%3c83C62CB5684F49B69449DF0545CF219D@developer%3e</id>
<updated>2009-05-11T11:56:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
From: Heather Phipps
Sent: Thursday, 7 May 2009 3:52 AM
To: user@forrest.apache.org
Subject: Re: build fails when I attempt "forrest site" after "forrest
seed-business"

&gt; Sure, please see https://issues.apache.org/jira/browse/FOR-1162.

Great, thanks. It would be good if other users/devs could maybe try this out
and see what happens for them. It fails for me in both Windows and Linux.

1. create new directory 'for-1162'
2. cd for-1162
3. forrest seedTestBusiness
4. forrest run

Do you see the same errors or is all ok?

Not being involved in this seed target before can someone confirm/deny that
Resume plugin is/isn't involved - I couldn't see any evidence in the target
seed that it is, but the output suggests otherwise. The blogsJane.xml and
blogsJoe.xml in the /resume/ directory are seemingly ignored and I can not
see any .xsl that should be processing those files (other than including the
currently broken Resume plugin)

Gav...



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c5b817dd80905072321y9018d57n1cf8ed99a2c53dda@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80905072321y9018d57n1cf8ed99a2c53dda@mail-gmail-com%3e</id>
<updated>2009-05-08T06:21:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
(Sorry, I meant "to 1 GB," not "by 1 GB)

Also, to clarify, when I do "forrest run" the PDFs are in fact generated,
but they use the default fonts, so the Japanese once again displays as
########


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c5b817dd80905072319u16d3ddebwed4723a9e6473a1b@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80905072319u16d3ddebwed4723a9e6473a1b@mail-gmail-com%3e</id>
<updated>2009-05-08T06:19:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
As stated previously in this thread, the out of memory issue was resolved by
increasing the memory to Java by 1 GB.

The outstanding issue is that the font is properly embedded when I use
"forrest site" to pre-generate content but not when I use "forrest-run" and
the PDFs are (apparently) created on-the-fly as they are requested...


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>Jeremias Maerki &lt;dev@jeremias-maerki.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c20090508080507.9F76.60BA733C@jeremias-maerki.ch%3e"/>
<id>urn:uuid:%3c20090508080507-9F76-60BA733C@jeremias-maerki-ch%3e</id>
<updated>2009-05-08T06:12:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 08.05.2009 03:29:20 David Crossley wrote:
&gt; Heather Phipps wrote:
&gt; &gt; Actually, with my little hack, the font is properly embedded in the PDF only
&gt; &gt; when pre-generated, i.e., when you do "forrest site," but not when the PDFs
&gt; &gt; are generated on the fly, i.e., when you do "forrest run."  Not sure exactly
&gt; &gt; what accounts for the difference.  If anyone has a better understanding of
&gt; &gt; the cause of this discrepency, please let me know...
&gt; &gt; 
&gt; &gt; Otherwise, I may look into this more at some later point and will update
&gt; &gt; this thread if I have any further insight.
&gt; 
&gt; Perhaps the FOP project will be able help with that
&gt; and with the memory issue:
&gt; http://xmlgraphics.apache.org/fop/

When it is working in one case inside Forrest but not another? I doubt
it. That rather sounds like an integration problem (and I'm no Cocoon
expert). I don't know what the difference is between the two cases and
how the JVM gets the memory settings for them (I assume we're talking
about an OutOfMemoryError). What you'll get from FOP support is
questions like: does it work from the command-line? Generally, FOP can
deal with Japanese characters (left-to-right only).

At any rate, loading TrueType font currently takes a lot of memory (i.e.
it's programmed rather inefficiently). I'm sure that can be improved but
so far nobody cared enough to do the work.

Sorry, but I don't have any good suggestions other than (somehow) making
sure the JVM has enough memory.

Jeremias Maerki



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>David Crossley &lt;crossley@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c20090508012920.GA2513@igg.indexgeo.com.au%3e"/>
<id>urn:uuid:%3c20090508012920-GA2513@igg-indexgeo-com-au%3e</id>
<updated>2009-05-08T01:29:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Heather Phipps wrote:
&gt; Actually, with my little hack, the font is properly embedded in the PDF only
&gt; when pre-generated, i.e., when you do "forrest site," but not when the PDFs
&gt; are generated on the fly, i.e., when you do "forrest run."  Not sure exactly
&gt; what accounts for the difference.  If anyone has a better understanding of
&gt; the cause of this discrepency, please let me know...
&gt; 
&gt; Otherwise, I may look into this more at some later point and will update
&gt; this thread if I have any further insight.

Perhaps the FOP project will be able help with that
and with the memory issue:
http://xmlgraphics.apache.org/fop/

-David


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c5b817dd80905071252h69dde173m399dd3b8fb8ca3ac@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80905071252h69dde173m399dd3b8fb8ca3ac@mail-gmail-com%3e</id>
<updated>2009-05-07T19:52:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Actually, with my little hack, the font is properly embedded in the PDF only
when pre-generated, i.e., when you do "forrest site," but not when the PDFs
are generated on the fly, i.e., when you do "forrest run."  Not sure exactly
what accounts for the difference.  If anyone has a better understanding of
the cause of this discrepency, please let me know...

Otherwise, I may look into this more at some later point and will update
this thread if I have any further insight.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c5b817dd80905071246w10667710i78f4692ab3968255@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80905071246w10667710i78f4692ab3968255@mail-gmail-com%3e</id>
<updated>2009-05-07T19:46:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
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...


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails when I attempt &quot;forrest site&quot; after &quot;forrest	seed-business&quot;</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c5b817dd80905061051w7a8b7f4ek86fe09599a848f35@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80905061051w7a8b7f4ek86fe09599a848f35@mail-gmail-com%3e</id>
<updated>2009-05-06T17:51:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Sure, please see https://issues.apache.org/jira/browse/FOR-1162.


</pre>
</div>
</content>
</entry>
<entry>
<title>RE: build fails when I attempt &quot;forrest site&quot; after &quot;forrest seed-business&quot;</title>
<author><name>&quot;Gavin&quot; &lt;gavin@16degrees.com.au&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c77E4554D510743E5948B293D8643E071@developer%3e"/>
<id>urn:uuid:%3c77E4554D510743E5948B293D8643E071@developer%3e</id>
<updated>2009-05-06T05:19:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Heather,

 

Haven't found a cause or anything yet, but am confirming it also happens for
me (in trunk) running forrest seed-business or forrest seedTestBusiness (in
forrrest run or site mode).

 

So something's missing. Whether it depends on the Resume plug-in that
doesn't work at the moment or something else I don't know, need to
investigate further. Can you open an issue?
(issues.apache.org/jira/browse/forrest)

 

I noticed on the issue tracker last year someone submitting a minor bug fix
(spelling) so I guess it was working for them at that stage.

 

Thanks

 

Gav.

 

  _____  

From: Heather Phipps [mailto:hmphipps@gmail.com] 
Sent: Monday, 4 May 2009 3:24 PM
To: user@forrest.apache.org
Subject: build fails when I attempt "forrest site" after "forrest
seed-business"

 

Hi,

It appears that the source files necessary to run the command "forrest site"
are not generated properly when I do "forrest seed-business."  This is what
the errors look like:

X [0]                                     team/allBySkill.html    BROKEN:
/Users/Heather/usg/src/documentation/content/xdocs/team/allBySkill.xml (No
such file or directory)
X [0]                                     team/all.html    BROKEN:
/Users/Heather/usg/src/documentation/content/xdocs/team/all.xml (No such
file or directory)

I'm confused why it's looking for files that weren't automatically produced
by "forrest seed-business."  Anyone else experience this?  I have no problem
with running "forrest site" in a directory populated with "forrest seed."

Obviously I can add the xml files that it is looking for, or modify the
site.xml file so that they aren't needed, but I'm curious why it's behaving
this way...

Other info:
Mac OS 10.5.6
Java 1.5.0_16
Forrest 0.8

Thanks,
Heather



</pre>
</div>
</content>
</entry>
<entry>
<title>build fails when I attempt &quot;forrest site&quot; after &quot;forrest	seed-business&quot;</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c5b817dd80905032223p47411b1cv48b96b7527e84d42@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80905032223p47411b1cv48b96b7527e84d42@mail-gmail-com%3e</id>
<updated>2009-05-04T05:23:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

It appears that the source files necessary to run the command "forrest site"
are not generated properly when I do "forrest seed-business."  This is what
the errors look like:

X [0]                                     team/allBySkill.html    BROKEN:
/Users/Heather/usg/src/documentation/content/xdocs/team/allBySkill.xml (No
such file or directory)
X [0]                                     team/all.html    BROKEN:
/Users/Heather/usg/src/documentation/content/xdocs/team/all.xml (No such
file or directory)

I'm confused why it's looking for files that weren't automatically produced
by "forrest seed-business."  Anyone else experience this?  I have no problem
with running "forrest site" in a directory populated with "forrest seed."

Obviously I can add the xml files that it is looking for, or modify the
site.xml file so that they aren't needed, but I'm curious why it's behaving
this way...

Other info:
Mac OS 10.5.6
Java 1.5.0_16
Forrest 0.8

Thanks,
Heather


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt</title>
<author><name>David Crossley &lt;crossley@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200905.mbox/%3c20090501023841.GB15916@igg.indexgeo.com.au%3e"/>
<id>urn:uuid:%3c20090501023841-GB15916@igg-indexgeo-com-au%3e</id>
<updated>2009-05-01T02:38:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Heather Phipps wrote:
&gt; My own file is version 1.1, whereas the sample file is version 1.0.  Is this
&gt; 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


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c5b817dd80904290651u50c9e8a7w93021f0364b782e9@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80904290651u50c9e8a7w93021f0364b782e9@mail-gmail-com%3e</id>
<updated>2009-04-29T13:51:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
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?


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c5b817dd80904290618i5c3f86ccgaf75c20c4336201a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80904290618i5c3f86ccgaf75c20c4336201a@mail-gmail-com%3e</id>
<updated>2009-04-29T13:18:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
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.


</pre>
</div>
</content>
</entry>
<entry>
<title>Error generating PDF from .odt file using org.apache.forrest.plugin.input.odt</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c5b817dd80904290558l5f0586e9w327e49e22ded7b2f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80904290558l5f0586e9w327e49e22ded7b2f@mail-gmail-com%3e</id>
<updated>2009-04-29T12:58:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
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:

 &lt;abstracts label="abstracts" href="Abstracts-10.html"/&gt;

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


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c5b817dd80904290521h66faea7aha7451aa07a8c0c5f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80904290521h66faea7aha7451aa07a8c0c5f@mail-gmail-com%3e</id>
<updated>2009-04-29T12:21:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I increased the memory to Java by editing maxmemory property in the site's
forrest.properties file:

# Max memory to allocate to Java
forrest.maxmemory=1024m

Japanese displays correctly now in PDF from DocBook source!  (Turns out
there was no need to update the FOP jar file.)


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c5b817dd80904290458k5e1969e8v4a6620d04efa9332@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80904290458k5e1969e8v4a6620d04efa9332@mail-gmail-com%3e</id>
<updated>2009-04-29T11:58:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have an update and some further questions.

The Japanese font display issue is only occurring with my DocBook XML source
files.  These are not handled by document2fo.xsl, but rather by the DocBook
4.4 stylesheets, which I downloaded and included on my own.  Here is an
excerpt from my project sitemap showing how I did this:

   &lt;map:match pattern="**.pdf"&gt;
    &lt;map:act type="sourcetype" src="{properties:content.xdocs}{1}.xml"&gt;
     &lt;map:select type="parameter"&gt;
      &lt;map:parameter name="parameter-selector-test" value="{sourcetype}"/&gt;
      &lt;map:when test="docbook-v4.4"&gt;
       &lt;map:generate src="{properties:content.xdocs}{../1}.xml"/&gt;
       &lt;map:transform
          src="{properties:resources.stylesheets}/docbook-xsl-1.74.3-pre
2/fo/docbook.xsl"/&gt;
       &lt;map:serialize type="fo2pdf"/&gt;
      &lt;/map:when&gt;
     &lt;/map:select&gt;
    &lt;/map:act&gt;
   &lt;/map:match&gt;

I didn't feel like messing around in the the DocBook stylesheets just yet,
so I hacked the font config file to see if I could get other (non-Japanese)
fonts to display properly in my PDFs generated from DocBook.  Here is the
hacked font config file:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;configuration&gt;
&lt;fonts&gt;
 &lt;font
metrics-file="/Users/Heather/apache-forrest-0.8/main/webapp/resources/fonts/Brush_Script.xml"
embed-file="/Users/Heather/apache-forrest-0.8/main/webapp/resources/fonts/Brush_Script.ttf"
kerning="yes"&gt;
  &lt;font-triplet name="serif" style="normal" weight="normal"/&gt;
  &lt;font-triplet name="serif" style="normal" weight="bold"/&gt;
  &lt;font-triplet name="serif" style="italic" weight="normal"/&gt;
  &lt;font-triplet name="serif" style="italic" weight="bold"/&gt;
  &lt;font-triplet name="sans-serif" style="normal" weight="normal"/&gt;
  &lt;font-triplet name="sans-serif" style="normal" weight="bold"/&gt;
  &lt;font-triplet name="sans-serif" style="italic" weight="normal"/&gt;
  &lt;font-triplet name="sans-serif" style="italic" weight="bold"/&gt;
  &lt;font-triplet name="sans" style="normal" weight="normal"/&gt;
  &lt;font-triplet name="sans" style="normal" weight="bold"/&gt;
  &lt;font-triplet name="sans" style="italic" weight="normal"/&gt;
  &lt;font-triplet name="sans" style="italic" weight="bold"/&gt;
  &lt;font-triplet name="monospace" style="normal" weight="normal"/&gt;
  &lt;font-triplet name="monospace" style="normal" weight="bold"/&gt;
  &lt;font-triplet name="monospace" style="italic" weight="normal"/&gt;
  &lt;font-triplet name="monospace" style="italic" weight="bold"/&gt;
 &lt;/font&gt;
&lt;/fonts&gt;
&lt;/configuration&gt;

This works...it causes the PDFs created from both sample XML files included
in the demo site and my DocBook XML files to use the "Brush Script" font.
However, when I attempt the same thing with a Japanese font, it works
properly for the sample XML files (even when I add some Japanese text) but
not for my DocBook XML files...I get the following out of memory error:

* [54/14]   [0/0]     9.776s 0b      samples/dotnet.pdf
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95)
    at org.apache.fop.tools.IOUtil.copyStream(IOUtil.java:77)
    at org.apache.fop.tools.IOUtil.toByteArray(IOUtil.java:95)
    at org.apache.fop.fonts.FontFileReader.init(FontFileReader.java:76)
    at org.apache.fop.fonts.FontFileReader.&lt;init&gt;(FontFileReader.java:105)
    at
org.apache.fop.render.pdf.fonts.MultiByteFont.getFontFile(MultiByteFont.java:237)
    at
org.apache.fop.render.pdf.fonts.LazyFont.getFontFile(LazyFont.java:218)
    at
org.apache.fop.pdf.PDFDocument.makeFontDescriptor(PDFDocument.java:974)
    at org.apache.fop.pdf.PDFDocument.makeFont(PDFDocument.java:875)
    at
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:250)
    at
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:249)
    at
org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:204)
    at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:246)
    at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
    at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
    at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.cocoon.core.container.handler.PoolableComponentHandler$ProxyHandler.invoke(PoolableComponentHandler.java:147)
    at $Proxy6.endDocument(Unknown Source)
    at
org.apache.cocoon.components.sax.XMLTeePipe.endDocument(XMLTeePipe.java:67)
    at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:181)
    at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1378)
    at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
    at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
    at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
    at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
    at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown
Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(Unknown
Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown
Source)
    at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)


Anyone seen this before?  Thoughts/suggestions?  I'm first going to try to
change the heap memory applied to Forrest, hoping that this will change the
heap memory applied to FOP...and also maybe try updating the FOP jar that is
included with Forrest.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: org.apache.forrest.plugin.input.odt v. org.apache.forrest.plugin.OpenOffice.org</title>
<author><name>Ross Gardler &lt;rgardler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c61c9bc470904241655s68105765hc76b4b52735221fa@mail.gmail.com%3e"/>
<id>urn:uuid:%3c61c9bc470904241655s68105765hc76b4b52735221fa@mail-gmail-com%3e</id>
<updated>2009-04-24T23:55:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/4/23 Heather Phipps &lt;hmphipps@gmail.com&gt;:
&gt; Hello,
&gt; What is the difference between these two plugins?  How do I choose
&gt; which one to use for an ODT input file?

*.odt has it in the name so it's a safe bet.

The plugin description says "Use OpenDocument Writer files (*.odt) as
input sources. " so it's a safe bet.

Ross


-- 
Ross Gardler

OSS Watch - supporting open source in education and research
http://www.oss-watch.ac.uk


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is there a full Docbook plugin?</title>
<author><name>Ross Gardler &lt;rgardler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c61c9bc470904240450w3d4c7792g799be54f23dd7d9b@mail.gmail.com%3e"/>
<id>urn:uuid:%3c61c9bc470904240450w3d4c7792g799be54f23dd7d9b@mail-gmail-com%3e</id>
<updated>2009-04-24T11:50:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/4/24 Heather Phipps &lt;hmphipps@gmail.com&gt;:
&gt; Hello,
&gt;
&gt; The documentation
&gt; (http://forrest.apache.org/pluginDocs/plugins_0_80/usingPlugins.html)
&gt; states:  "Clashes between plugins can occur. For example, the
&gt; simplified-docbook and full docbook plugins may try and process the
&gt; same files."  However, I do not see a full docbook plugin in the list
&gt; of available plugins, and the FAQ states that in order to fully
&gt; utilize DocBook files as input you need to use the full DocBook
&gt; stylesheets directly, rather than a plugin.  This seems conflicting.
&gt; Is there a full Docbook plugin?

There is no full docbook plugin - there would be a conflict *if* there
were one. I agree it's not very clear in the text quoted.

Ross


-- 
Ross Gardler

OSS Watch - supporting open source in education and research
http://www.oss-watch.ac.uk


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c5b817dd80904240218m64084c97gfacd7d2fc9a3bc32@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80904240218m64084c97gfacd7d2fc9a3bc32@mail-gmail-com%3e</id>
<updated>2009-04-24T09:18:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi David,

Thank you for pointing that out.  I am new to using the plugins and
didn't realize this.  So, I attempted to follow your advice:

heather-phipps-computer:org.apache.forrest.plugin.output.pdf Heather$
/Users/Heather/apache-forrest-0.8/tools/ant/bin/ant local-deploy
Buildfile: build.xml

init-build-compiler:

echo-init:
     [echo]
     [echo]       --------------------------------------------------------------
     [echo]
     [echo]       Using Apache Ant version 1.6.5 compiled on May 16 2006
     [echo]       Build file
/Users/Heather/apache-forrest-0.8/plugins/org.apache.forrest.plugin.output.pdf/build.xml
     [echo]       Use 'build.[sh|bat] -projecthelp' to see other options.
     [echo]       Build system home /Users/Heather/apache-forrest-0.8/tools/ant
     [echo]       Build number 0
     [echo]       Project Name Forrest plugin build file
     [echo]       Java Version 1.5
     [echo]       Timestamp 200904241808
     [echo]
     [echo]       --------------------------------------------------------------
     [echo]

init:

compile:

jar:

local-deploy:
     [echo] Locally deploying org.apache.forrest.plugin.output.pdf

build:

BUILD SUCCESSFUL
Total time: 0 seconds

But then I did "forrest" again, and the PDF is still generated with
##### instead of Japanese text, so I guess I am still missing
something else...

-Heather


</pre>
</div>
</content>
</entry>
<entry>
<title>Is there a full Docbook plugin?</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c5b817dd80904231934t7c3dc57y771876ee38f80eb8@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80904231934t7c3dc57y771876ee38f80eb8@mail-gmail-com%3e</id>
<updated>2009-04-24T02:34:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

The documentation
(http://forrest.apache.org/pluginDocs/plugins_0_80/usingPlugins.html)
states:  "Clashes between plugins can occur. For example, the
simplified-docbook and full docbook plugins may try and process the
same files."  However, I do not see a full docbook plugin in the list
of available plugins, and the FAQ states that in order to fully
utilize DocBook files as input you need to use the full DocBook
stylesheets directly, rather than a plugin.  This seems conflicting.
Is there a full Docbook plugin?

-Heather


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>David Crossley &lt;crossley@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c20090424005410.GC5786@igg.indexgeo.com.au%3e"/>
<id>urn:uuid:%3c20090424005410-GC5786@igg-indexgeo-com-au%3e</id>
<updated>2009-04-24T00:54:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Heather Phipps wrote:
&gt; 
&gt; Unfortunately, even after editing
&gt; $FORREST/apache-forrest-0.8/plugins/org.apache.forrest.plugin.output.pdf/output.xmap,
&gt; I am unable to get the font to display correctly in the PDF file.

Whenever a local plugin's resources (e.g. sitemaps or stylesheets, etc.)
are edited then you need to "local-deploy" the plugin.

See:
http://forrest.apache.org/pluginDocs/plugins_0_80/usingPlugins.html#local-deploy
http://forrest.apache.org/docs_0_80/howto/howto-buildPlugin.html#ant
http://forrest.apache.org/docs_0_80/howto/howto-buildPlugin.html#Testing+During+Development


-David


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Japanese PDF rendering</title>
<author><name>&quot;Dr. Bhatia Praveen&quot; &lt;praveen.bhatia@sumpurn.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c5A5BF953A0F64B59975EB6F446628C89@jpn.ibsplc.com%3e"/>
<id>urn:uuid:%3c5A5BF953A0F64B59975EB6F446628C89@jpn-ibsplc-com%3e</id>
<updated>2009-04-23T10:25:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Heather,
    Thanks.
    Yes the output.xmap needs to be used because the Forrest 0.8 now uses 
plugins for fo2pdf generation.

    The step 5 which you mentioned is correct as the skins are not ready for 
Japanese, so MS gothic needs to inserted.

    I will look into your files, and what I had done, to see if I can help 
you further. Will get back to you later on that.

best wishes
Praveen
----- Original Message ----- 
From: "Heather Phipps" &lt;hmphipps@gmail.com&gt;
To: &lt;user@forrest.apache.org&gt;; "Dr. Bhatia Praveen" 
&lt;praveen.bhatia@sumpurn.com&gt;
Sent: Thursday, April 23, 2009 3:19 PM
Subject: Re: Japanese PDF rendering


&gt; Hi Praveen,
&gt;
&gt; I very much appreciate your prompt response, as I have been struggling
&gt; with this issue for quite some time now.
&gt;
&gt; Unfortunately, even after editing
&gt; $FORREST/apache-forrest-0.8/plugins/org.apache.forrest.plugin.output.pdf/output.xmap,
&gt; I am unable to get the font to display correctly in the PDF file.
&gt;
&gt; I have a few questions.  First...how did you know that Forrest is
&gt; using output.xmap instead of sitemap.xmap for this step?  Second, do
&gt; you know if step number 5 in the instructions from
&gt; http://www.terra-intl.com/agel/2005/11/forrest_japanese.html is
&gt; correct for Forrest 0.8?
&gt;
&gt; Here is an excerpt from my output.xmap file:
&gt;
&gt; ...
&gt;    &lt;map:serializers default="fo2pdf"&gt;
&gt;      &lt;map:serializer name="fo2pdf"
&gt; src="org.apache.cocoon.serialization.FOPSerializer"
&gt; mime-type="application/pdf"&gt;
&gt;        &lt;user-config
&gt; src="/Users/Heather/apache-forrest-0.8/main/webapp/resources/fonts/config.xml"
&gt; /&gt;
&gt;      &lt;/map:serializer&gt;
&gt; ...
&gt;
&gt; (Currently, this is in both my sitemap.xmap file and output.xmap)
&gt;
&gt; I downloaded the .ttf and corresponding font-metric xml files from
&gt; http://www.terra-intl.com/agel/2005/11/forrest_japanese.html and
&gt; placed them in 
&gt; /Users/Heather/apache-forrest-0.8/main/webapp/resources/fonts/,
&gt; alongside config.xml, which contains the following:
&gt;
&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;configuration&gt;
&gt; &lt;fonts&gt;
&gt; &lt;font 
&gt; metrics-file="/Users/Heather/apache-forrest-0.8/main/webapp/resources/fonts/sazanami-gothic.xml"
&gt; embed-file="/Users/Heather/apache-forrest-0.8/main/webapp/resources/fonts/sazanami-gothic.ttf"
&gt; kerning="yes"&gt;
&gt;   &lt;font-triplet name="Gothic" style="normal" weight="normal"/&gt;
&gt;   &lt;font-triplet name="Gothic" style="normal" weight="bold"/&gt;
&gt;   &lt;font-triplet name="Gothic" style="italic" weight="normal"/&gt;
&gt;   &lt;font-triplet name="Gothic" style="italic" weight="bold"/&gt;
&gt; &lt;/font&gt;
&gt; &lt;font 
&gt; metrics-file="/Users/Heather/apache-forrest-0.8/main/webapp/resources/fonts/sazanami-mincho.xml"
&gt; embed-file="/Users/Heather/apache-forrest-0.8/main/webapp/resources/fonts/sazanami-mincho.ttf"
&gt; kerning="yes"&gt;
&gt;   &lt;font-triplet name="Mincho" style="normal" weight="normal"/&gt;
&gt;   &lt;font-triplet name="Mincho" style="normal" weight="bold"/&gt;
&gt;   &lt;font-triplet name="Mincho" style="italic" weight="normal"/&gt;
&gt;   &lt;font-triplet name="Mincho" style="italic" weight="bold"/&gt;
&gt;  &lt;/font&gt;
&gt; &lt;/fonts&gt;
&gt; &lt;/configuration&gt;
&gt;
&gt; I also tried using different .ttf files and generating the font-metric
&gt; files myself, and it appeared that the font-metric files were
&gt; generated properly, but the PDF still did not display the Japanese
&gt; text correctly.
&gt;
&gt; Any further thoughts?
&gt;
&gt; -Heather
&gt;


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.12.3/2075 - Release Date: 04/22/09 
17:25:00



</pre>
</div>
</content>
</entry>
<entry>
<title>org.apache.forrest.plugin.input.odt v. org.apache.forrest.plugin.OpenOffice.org</title>
<author><name>Heather Phipps &lt;hmphipps@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/forrest-user/200904.mbox/%3c5b817dd80904230153w78820c5fx23d19bc5a0e0be3a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5b817dd80904230153w78820c5fx23d19bc5a0e0be3a@mail-gmail-com%3e</id>
<updated>2009-04-23T08:53:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,
What is the difference between these two plugins?  How do I choose
which one to use for an ODT input file?
Thank you,
Heather


</pre>
</div>
</content>
</entry>
</feed>
