Re: Hyphenation foundry [was: Re: proposed font project]

2004-06-16 Thread J.Pietschmann
Simon Pepping wrote:
I think it is time to create a project for the hyphenation files at
Sourceforge. The project should be a home for all sorts of accessories
to FOP, or even to FO processors in general. Do you want to
participate? Do you know a nice name?
Well, sf.net would appeal to a larger body of developers, I think,
and is certainly easier to menage for small projects, but we
can also ask on jakarta-commons, xml-commons and even declare it
a FOP (or XML graphics) subproject.
Anyway, I just uploaded
 http://cvs.apache.org/~pietsch/t.tar.gz
which contains several unfinished stuff I produced the last year:
- Utilities to generate tables for the Unicode line break property
- A class keeping a line break state according to TR14, which should
  be easier to usee than the java.text.BreakIterator for FOP
- A Java port of MySpell
- An attempt at providing a layered hierarchy for spell checking
 and hyphenation interfaces.
- A Java port of the link grammar parser (incomplete, badly designed,
 buggy and without approvement of the original authors, *please* use
 only for personal study, don't redistribute).
- An attempt at a morphological analyzer for german words.
Somehow, the simple port of patgen as well as other attempts at
simplifying the current FOP hyphenator are missing, I hope I
remember to upload them tomorrow.
If someone want some problems to chew on:
- Implementation of an optimized trie or ternary or PATRICIA tree.
 Issues here: The FOP implementation packs both tree construction and
 retrieval into a single class, while the data structure is WORM.
 Furthermore, while it is fast, it could be implemented with much
 less memory, especially peak memory during construction. I ultimately
 concluded compiling the data into Java bytecode would be the best.
 Consider inserting the words WORD and WORM. A PATRICIA tree would
 collapse this to
   root: WOR -> leaf D
 -> leaf M
 In order to map this, the root node gets an operation "match string"
 with the string "WOR" leading to the subtree. Statistical compression
 could optimize the necessary operation, like "switch array", match
 2char string, match 3char string, match n-char string etc. May utilize
 BCEL.
- Institutionalized alphabet transformation. This is somewhat of a
 generalization of the hyphenation character classes. Java uses 16bit
 characters, but in many languages it is rare that more than 256
 characters are actually used in words. TeX/PatGen also map the
 characters onto the numbers 1..N (<256), folding character
 classification into the process. Mapping chars onto bytes saves almost
 half the memory. Because there are languages which requires more than
 256 characters, at least two implementation of the trie/whatever
 holding the patterns are necessary, one where the keys are byte
 sequences, another with char sequences. Too bad generics aren't ready
 yet, but if the data is byte compiled into a Java class, the compiler
 may analyze the patterns and decide whether bytes are sufficient.
 Stuff like Unicode character normalization should probably be folded
 into the classification/alphabet transformation too. It would be too
 bad if hyphenation failed because someone decided to use unnormalized
 characters like FI LIGATURE.
- API design. Need a hierarchy of interfaces which allow polymorphy
 at various levels:
  + Hyphenator
  implementations: pattern hyphenator, dictionary hyphenator,
  composite hyphenator: delegate to a collection of child
  hyphenators
  + Pattern hyphenator - pattern storage
 implementations: HashTable (very easy to understand but slow),
 R/W-trie, optimized WORM class, ...
  + Dictionary hyphenator - dictionary ...
 For reuse in interactive applications, R/W storage may be useful (user
 dictionaries)
- Generalized line breaking strategies. Possible strategies
 + naive, break before the first non-space after a space
 + TR14
 + break before any character
 + pattern, regexp or dictionary pased
- Other ideas: API for processing the Unicode data files. Optimized
 compile for Unicode properties into Java class data: select the
 properties you want, get it. Use this to get the latest Unicode data
 into your Java applications rather than the outdated stuff in the
 JRE.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Hyphenation foundry [was: Re: proposed font project]

2004-06-16 Thread Clay Leeds
On Jun 16, 2004, at 12:20 PM, Simon Pepping wrote:
Hi Clay,
Hi Simon!
On Sat, May 29, 2004 at 10:02:37PM -0700, Clay Leeds wrote:
It would also be good to develop some sort of hyphenation foundry...
I think it is time to create a project for the hyphenation files at
Sourceforge. The project should be a home for all sorts of accessories
to FOP, or even to FO processors in general. Do you want to
participate? Do you know a nice name?
Regards, Simon
Sure! I'd love to participate! I don't know how yet, though...
Ideas for names? I guess it depends on how 'we' want to position this 
foundry. Is the foundry geared toward FOP users?

* fopstuff
* fop-stuff
* fostuff
* fo-stuff
* xslfostuff
* xsl-fo-stuff
* foptoys
* fop-toys
* fotoys
* fo-toys
* xslfotoys
* xsl-fo-toys
* fopaccessories
* fop-accessories
* foaccessories
* fo-accessories
* xslfoaccessories
* xsl-fo-accessories
* fopperipherals
* fop-peripherals
* foperipherals
* fo-peripherals
* xslfoperipherals
* xsl-fo-peripherals
I don't have a particular favorite, although since there are so many, 
it wouldn't be very helpful if I didn't 'choose' one or two. I like the 
ones *with* the hyphen (no pun intended! ;-) -- which makes it easier 
to read):

* xsl-fo-toys
* xsl-fo-stuff
In addition, since we want it to be of broader use (i.e., not just 
FOP), I would think we'd want to use one of the 'fo' or 'xsl-fo' 
prefixes (with or without hyphens) over the 'fop' based ones.

Hope this helps!
Web Maestro Clay <[EMAIL PROTECTED]>
---
There are only 10 kinds of people in the world: those who understand 
binary and those who don't.

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


RE: rtf connversion

2004-06-16 Thread Peter Herweg



Hi,
 
do you want to use 
the rtflib in order to create rtf files on the fly or do you just want to 
convert an xsl-fo file to rtf?
 
If you just want to 
convert a file, you don't need to use RTFHandler directly. Just pass the xsl-fo 
file as command line parameter to fop, for example "C:\>fop.bat input.fo 
-rtf output.rtf"
 
If you 
want to use the rtflib you may find some useful examples in jfor's testdocs 
(http://cvs.sourceforge.net/viewcvs.py/jfor/jfor/src/org/jfor/jfor/rtflib/testdocs/). Maybe you have to modify them a litte to get it run 
with fop, but the rtflib is quite the same.
 
Bye
Peter Herweg
 
 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of 
  tango raySent: Wednesday, June 16, 2004 8:46 AMTo: 
  [EMAIL PROTECTED]Subject: re: rtf 
  connversion
  
  I succeed in downloading the cvs version of fop, with the rtf part.
  I have created a rtf file, with the rtffile.java, that i can 
  execute.
   
  But i can be able to use the RTFHandler. I wish to know how can I 
  use it, and enter one fo file(doc?) as parameter.
  If anyone can tell me how to create the "main" part of the rtfhandler, in 
  order to use it... ( and then use the rtflib).
   
  Thank you
  
  
  Yahoo! Mail : votre e-mail personnel et gratuit quel que soit votre 
  fournisseur d’accès - avec anti-virus gratuit ! Créez votre Yahoo! Mail Dialoguez en direct avec vos 
  amis grâce à Yahoo! Messenger !


Re: passing a node name as a param and then using it

2004-06-16 Thread Mike Kellstrand
You're right, just after I sent the question I
realized I was off-topic, my apologies.

Thank you for the 2 solutions though.
I did try #2, evaluate() and it worked nicely.

I will fiddle with the other solution as well to check
out its limitations.

Thanks,  Mike

--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Mike Kellstrand wrote:
> 
> > I want to be able to pass a node name into a named
> template as a param and
> > then operate on it.  When I try to use the node
> name param in the template,
> > it gets interpreted as a string and not an actual
> node.   i.e.
> >  
> > The snipett:
> > 
> > a:  select="choice[1]"/>
> > b:  select="concat($x,'[1]')"/>
> >  
> > Will generate:
> > a: {the actual xml data in the 1st choice node}
> > b: choice[1]
> 
> That's exactly as it is supposed to work.
> Actually this is an XSLT question, only loosely
> related to
> FOP, and would have better been asked on the XSL
> list:
>   http://www.mulberrytech.com/xsl/xsl-list/
> 
> Anyway: You expect the XSLT processor to perform
> what's called
> double evaluation: first evaluate "concat($x,'[1]')"
> into
> "choice[1]", then evaluate the latter again. That's
> not the
> way XPath expressions are handled.
> 
> > How do I get this to work as intended?
> 
> Commonly, two approaches:
> 1. Use
>b:  select="*[name()=$x][1]"/>
>   Note that this approach works for your specific
> problem but wont
>   help you in more general cases.
> 2. Most XSLT processors have an extension function
> which evaluatess
>   a string as XPath expression, roughly like
>b:  select="foo:evaluate(concat($x,'[1]'))"/>..
>   The exact function name and the necessary
> namespace are processor
>   specific, check your processor's manual for
> details.
> 
> J.Pietschmann
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread Glen Mazza
Many non-trivial fo files will not work on the
development version, even including several of our own
examples.  It is still very much a work in progress. 
We try to fix the issues as we encounter them, and
over time, more and more of them become functional.

Glen

--- Johannes Franz <[EMAIL PROTECTED]> wrote:
> Ok, i created a fo file, with a preprocessor from
> xml+xsl. Now i tried:
> 
> [EMAIL PROTECTED]:~/xml-fop> ./fop.sh protocol.fo -rtf
> bittebitte.rtf
> 
> and get the following error message:
> 
> 16.06.2004 18:18:54 org.apache.fop.apps.Fop main
> INFO: 1.0dev
> Exception in thread "main"
> java.lang.NullPointerException
> at
> org.apache.fop.apps.Driver.render(Driver.java:544)
> at org.apache.fop.apps.Fop.main(Fop.java:71)
> 
> What did i do wrong?
> 
> - Original Message -
> From: "Victor Mote" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 16, 2004 6:19 PM
> Subject: RE: Development Version: xml+xsl -> fo ->
> rtf
> 
> 
> > Clay Leeds wrote:
> >
> > > "RTF
> > >
> > > This is currently not integrated with FOP but it
> will soon.
> > > This will create an rtf (rich text format)
> document that will
> > > attempt to contain as much information from the
> fo document
> > > as possible."
> > >
> > > If any of the fop-devs knows more about getting
> FOP to output
> > > to RTF, it would be great to update the web site
> to make the
> > > above actually contain useful information. I
> checked CVS for
> >
> > RTF support is much more robust in the development
> branch, thanks mostly
> to
> > the jfor crew, led by Bertrand Delecretaz, and
> Peter Herweg's efforts to
> > integrate it. However, since releases are not
> being made from the
> > development branch yet, users will have to
> download and build it
> themselves,
> > at their own risk.
> >
> > > the FOP Output Target page (from whence the
> above quote was
> > > taken), but couldn't find any information on the
> subject. The
> > > RTF-related info appears to have either been
> entered into the
> > > FOP Output Targets page before it was brought
> into CVS, or it
> > > wasn't well-documented.
> >
> > The web site, of course, refers to the released
> versions, and is accurate.
> >
> > WRT the source file, I don't follow. I can see the
> content here:
> >
>
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/xdocs/ou
> > tput.xml?rev=1.16&only_with_tag=MAIN&view=markup
> > at line 240.
> >
> > Victor Mote
> >
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


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



Visual XSL:FO Template designer

2004-06-16 Thread Juan Manuel Bellina
Anyone knows a free Visual XSL:FO Template designer
that works OK?
If it is not free,  any commercial version with an
evaluating period?
Any help,  would be appreciated.

Juan



__
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

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



Hyphenation foundry [was: Re: proposed font project]

2004-06-16 Thread Simon Pepping
Hi Clay,

On Sat, May 29, 2004 at 10:02:37PM -0700, Clay Leeds wrote:
> It would also be good to develop some sort of hyphenation foundry...

I think it is time to create a project for the hyphenation files at
Sourceforge. The project should be a home for all sorts of accessories
to FOP, or even to FO processors in general. Do you want to
participate? Do you know a nice name?

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


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



Re: passing a node name as a param and then using it

2004-06-16 Thread J.Pietschmann
Mike Kellstrand wrote:
I want to be able to pass a node name into a named template as a param and
then operate on it.  When I try to use the node name param in the template,
it gets interpreted as a string and not an actual node.   i.e.
 
The snipett:

a: 
b: 
 
Will generate:
a: {the actual xml data in the 1st choice node}
b: choice[1]
That's exactly as it is supposed to work.
Actually this is an XSLT question, only loosely related to
FOP, and would have better been asked on the XSL list:
 http://www.mulberrytech.com/xsl/xsl-list/
Anyway: You expect the XSLT processor to perform what's called
double evaluation: first evaluate "concat($x,'[1]')" into
"choice[1]", then evaluate the latter again. That's not the
way XPath expressions are handled.
How do I get this to work as intended?
Commonly, two approaches:
1. Use
  b: 
 Note that this approach works for your specific problem but wont
 help you in more general cases.
2. Most XSLT processors have an extension function which evaluatess
 a string as XPath expression, roughly like
  b: ..
 The exact function name and the necessary namespace are processor
 specific, check your processor's manual for details.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


passing a node name as a param and then using it

2004-06-16 Thread Mike Kellstrand
I want to be able to pass a node name into a named template as a param and
then operate on it.  When I try to use the node name param in the template, 
it gets interpreted as a string and not an actual node.   i.e.
 
The snipett:

a: 


b: 
 
Will generate:
a: {the actual xml data in the 1st choice node}
b: choice[1]
 
How do I get this to work as intended?
 
Thanks,  Mike
 
		Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

RE: RE: Development Version: xml xsl -> fo -> rtf

2004-06-16 Thread Chris Pratt
Then again, the jfor tool (http://www.jfor.org) can be used by itself to 
translate XSL-FO to RTF, so if that's all you need, try using jfor without FOP 
at least until the Dev branch is release quality.
  (*Chris*)

Original Message ---
Clay Leeds wrote:

> "RTF
>
> This is currently not integrated with FOP but it will soon.
> This will create an rtf (rich text format) document that will
> attempt to contain as much information from the fo document
> as possible."
>
> If any of the fop-devs knows more about getting FOP to output
> to RTF, it would be great to update the web site to make the
> above actually contain useful information. I checked CVS for

RTF support is much more robust in the development branch, thanks mostly to
the jfor crew, led by Bertrand Delecretaz, and Peter Herweg's efforts to
integrate it. However, since releases are not being made from the
development branch yet, users will have to download and build it themselves,
at their own risk.

> the FOP Output Target page (from whence the above quote was
> taken), but couldn't find any information on the subject. The
> RTF-related info appears to have either been entered into the
> FOP Output Targets page before it was brought into CVS, or it
> wasn't well-documented.

The web site, of course, refers to the released versions, and is accurate.

WRT the source file, I don't follow. I can see the content here:
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/xdocs/ou
tput.xml?rev=1.16&only_with_tag=MAIN&view=markup
at line 240.

Victor Mote


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


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



Re: How remove page breaks ?

2004-06-16 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
I am using  to come out of Memory problem. But I am 
getting pdf with page breaks

How to remove this
You can't "remove" page breaks. Page sequences are supposed
to start on an new page, by specification. Tune your logic
for dividing the content into page sequences in such a way
that the user won't notice the start of a new page sequence.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread Victor Mote
Clay Leeds wrote:

> On a related note, I found the FOP site's RTF I couldn't find 
> before[1] (it was 'hidden' on the /fop/dev side). Also, I 

Be careful here. There are two components in play. One is the rtflib stuff,
which you find on the /fop/dev side. The other is the RTF renderer which
uses rtflib to generate the RTF document from FOP. They are deliberately
kept separate, because rtflib is useful for other things besides FOP, and
should not be at all dependent on FOP. That is why it is listed on the dev
web page as a "subpackage". It could be (and IMO should be) kept
independent. At least this is the way it was about six months ago. This goes
very much to the modular/monolithic debate on fop-dev, and perhaps this has
been changed by active developers since I last saw it. But I would be
careful about how you document it. The rtflib documentation really *is* of
interest only for developers.

Victor Mote


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



RE: Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread Victor Mote
Johannes Franz wrote:

> Ok, i created a fo file, with a preprocessor from xml+xsl. 
> Now i tried:
> 
> [EMAIL PROTECTED]:~/xml-fop> ./fop.sh protocol.fo -rtf bittebitte.rtf
> 
> and get the following error message:
> 
> 16.06.2004 18:18:54 org.apache.fop.apps.Fop main
> INFO: 1.0dev
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.fop.apps.Driver.render(Driver.java:544)
> at org.apache.fop.apps.Fop.main(Fop.java:71)
> 
> What did i do wrong?

Probably nothing. However, this is the "at their own risk" that I mentioned.
I haven't looked at that code for about six months (it worked then), but you
probably caught it at a (hopefully temporarily) unstable moment. Perhaps one
of the developers active on the trunk can give you a better answer. This
actually looks like a higher-level problem, i.e. I don't think it is even
getting as far as the RTF code.

Victor Mote


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



Re: Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread Clay Leeds
On Jun 16, 2004, at 9:19 AM, Victor Mote wrote:
Clay Leeds wrote:
"RTF
This is currently not integrated with FOP but it will soon.
This will create an rtf (rich text format) document that will
attempt to contain as much information from the fo document
as possible."
If any of the fop-devs knows more about getting FOP to output
to RTF, it would be great to update the web site to make the
above actually contain useful information. I checked CVS for
RTF support is much more robust in the development branch, thanks  
mostly to
the jfor crew, led by Bertrand Delecretaz, and Peter Herweg's efforts  
to
integrate it. However, since releases are not being made from the
development branch yet, users will have to download and build it  
themselves,
at their own risk.
D'oh! I couldn't recall the title jfor... Thanks!
the FOP Output Target page (from whence the above quote was
taken), but couldn't find any information on the subject. The
RTF-related info appears to have either been entered into the
FOP Output Targets page before it was brought into CVS, or it
wasn't well-documented.
The web site, of course, refers to the released versions, and is  
accurate.
OK.
WRT the source file, I don't follow. I can see the content here:
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/ 
xdocs/ou
tput.xml?rev=1.16&only_with_tag=MAIN&view=markup
at line 240.

Victor Mote
I see/saw the content as well. What I don't see is any reference to who  
or when the RTF information was put into the output.xml file. My hope  
was that information RE: who/when RTF info was put into the file would  
help determine who to ask for help on outputting to RTF. Fortunately,  
you've provided information about who might be able to respond to RTF  
questions (Bertrand Delecretaz and Peter Herweg).

FWIW, my POST was mainly to get other fop-devs (like yourself) to pipe  
in about where to find help on FOP's RTF output capabilities and also  
to improve the site's RTF details. For example, it might be good to  
indicate on the FOP Output page that the RTF capabilities are in the  
DEV version, as well as where to look for more info on the subject  
(http://xml.apache.org/fop/dev/ & FOP Resources--after adding  
http://www.jfor.org/ to the FOP Resources page :-)).

On a related note, I found the FOP site's RTF I couldn't find before[1]  
(it was 'hidden' on the /fop/dev side). Also, I should've looked at the  
Team page[2] for more RTF info.

Hope this helps!
Web Maestro Clay
[1] RTFLib page
http://xml.apache.org/fop/dev/rtflib.html
[2] FOP Team page
http://xml.apache.org/fop/team.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread Johannes Franz
Ok, i created a fo file, with a preprocessor from xml+xsl. Now i tried:

[EMAIL PROTECTED]:~/xml-fop> ./fop.sh protocol.fo -rtf bittebitte.rtf

and get the following error message:

16.06.2004 18:18:54 org.apache.fop.apps.Fop main
INFO: 1.0dev
Exception in thread "main" java.lang.NullPointerException
at org.apache.fop.apps.Driver.render(Driver.java:544)
at org.apache.fop.apps.Fop.main(Fop.java:71)

What did i do wrong?

- Original Message -
From: "Victor Mote" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 16, 2004 6:19 PM
Subject: RE: Development Version: xml+xsl -> fo -> rtf


> Clay Leeds wrote:
>
> > "RTF
> >
> > This is currently not integrated with FOP but it will soon.
> > This will create an rtf (rich text format) document that will
> > attempt to contain as much information from the fo document
> > as possible."
> >
> > If any of the fop-devs knows more about getting FOP to output
> > to RTF, it would be great to update the web site to make the
> > above actually contain useful information. I checked CVS for
>
> RTF support is much more robust in the development branch, thanks mostly
to
> the jfor crew, led by Bertrand Delecretaz, and Peter Herweg's efforts to
> integrate it. However, since releases are not being made from the
> development branch yet, users will have to download and build it
themselves,
> at their own risk.
>
> > the FOP Output Target page (from whence the above quote was
> > taken), but couldn't find any information on the subject. The
> > RTF-related info appears to have either been entered into the
> > FOP Output Targets page before it was brought into CVS, or it
> > wasn't well-documented.
>
> The web site, of course, refers to the released versions, and is accurate.
>
> WRT the source file, I don't follow. I can see the content here:
>
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/xdocs/ou
> tput.xml?rev=1.16&only_with_tag=MAIN&view=markup
> at line 240.
>
> Victor Mote
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



RE: Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread Victor Mote
Clay Leeds wrote:

> "RTF
> 
> This is currently not integrated with FOP but it will soon. 
> This will create an rtf (rich text format) document that will 
> attempt to contain as much information from the fo document 
> as possible."
> 
> If any of the fop-devs knows more about getting FOP to output 
> to RTF, it would be great to update the web site to make the 
> above actually contain useful information. I checked CVS for 

RTF support is much more robust in the development branch, thanks mostly to
the jfor crew, led by Bertrand Delecretaz, and Peter Herweg's efforts to
integrate it. However, since releases are not being made from the
development branch yet, users will have to download and build it themselves,
at their own risk.

> the FOP Output Target page (from whence the above quote was 
> taken), but couldn't find any information on the subject. The 
> RTF-related info appears to have either been entered into the 
> FOP Output Targets page before it was brought into CVS, or it 
> wasn't well-documented.

The web site, of course, refers to the released versions, and is accurate.

WRT the source file, I don't follow. I can see the content here:
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/xdocs/ou
tput.xml?rev=1.16&only_with_tag=MAIN&view=markup
at line 240.

Victor Mote


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



Re: Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread Clay Leeds
On Jun 16, 2004, at 9:05 AM, Johannes Franz wrote:
just managed to download and build the development version of fop. I 
want to
create a rtf file from xml+xsl. Is there a possibillity to do 
something like
that: ./fop.sh -xml xmlfile.xml -xsl xslfile.xsl -rtf 
rtfoutputfile.rtf or do
i have to render the fo file with a standalone xslt preprocessor and 
then try
the following ./fop.sh -fo fofile.fo -rtf rtffile.rtf?

greetings,
johannes.
I'd thought there was some sort of 'extension' to FOP which did this (a 
la TiffRenderer[1]). Unfortunately, I was wrong. The resource I'd seen 
actually converts RTF into XSL-FO[2]. The FOP web site does have info 
on FOP Output Target=RTF [3], but unfortunately, it's a dead end:

"RTF
This is currently not integrated with FOP but it will soon. This will 
create an rtf (rich text format) document that will attempt to contain 
as much information from the fo document as possible."

If any of the fop-devs knows more about getting FOP to output to RTF, 
it would be great to update the web site to make the above actually 
contain useful information. I checked CVS for the FOP Output Target 
page (from whence the above quote was taken), but couldn't find any 
information on the subject. The RTF-related info appears to have either 
been entered into the FOP Output Targets page before it was brought 
into CVS, or it wasn't well-documented.

Looking forward to resolving this so the web site can be udpated.
Web Maestro Clay
[1] TiffRenderer
http://xml.apache.org/fop/resources.html#products-fop-add-ons
[2] RTF2FO
http://xml.apache.org/fop/resources.html#products-other
[3] Output Target=RTF
http://xml.apache.org/fop/output.html#rtf
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread nos...@mrietzler.de
Johannes Franz wrote:
hi,
just managed to download and build the development version of fop. I want to 
create a rtf file from xml+xsl. Is there a possibillity to do something like 
that: ./fop.sh -xml xmlfile.xml -xsl xslfile.xsl -rtf rtfoutputfile.rtf or do 
i have to render the fo file with a standalone xslt preprocessor and then try 
the following ./fop.sh -fo fofile.fo -rtf rtffile.rtf?

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

the syntax
fop.sh -xml input.xml -xsl format.xsl -rtf output.rtf
is quite right. but as http://xml.apache.org/fop/output.html#rtf states 
the rtf-support is not implemented at the moment.

i use this when creating a pdf-file from xml-data. you only have to 
write the xsl(fo) template to do the conversion...

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


Development Version: xml+xsl -> fo -> rtf

2004-06-16 Thread Johannes Franz
hi,

just managed to download and build the development version of fop. I want to 
create a rtf file from xml+xsl. Is there a possibillity to do something like 
that: ./fop.sh -xml xmlfile.xml -xsl xslfile.xsl -rtf rtfoutputfile.rtf or do 
i have to render the fo file with a standalone xslt preprocessor and then try 
the following ./fop.sh -fo fofile.fo -rtf rtffile.rtf?

greetings,
johannes.


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



Re: What XSLT and XSL-FO editor do you use?

2004-06-16 Thread nos...@mrietzler.de
Roger wrote:
I'm wondering what editors you use to create your XSD, XSLT and XSL-FO 
documents. At the moment I'm using a trial version of Altova XMLSPY and 
Stylevision. XMLSpy is meant to create the xsd, and sample 
xml-data-documents. Stylevision is meant for the FO and XSLT templates.

XMLSpy is okay as far as I can see, but Stylevision has one big 
drawback: you can't edit the code in it. It only has a wysiwyg editor, 
which works quite okay, but not always like I want it. Now I merely use 
it to create a quick-start template, and then edit in jEdit.

With the proper plugins installed, jEdit works really nice. My problem 
is that I cannot get the new code back into Stylevision. At the Altova 
website they try to present this as a feature, but of course it's not.

Do you know of any good wysiwyg editor for FO, and one that allows you 
to edit or import the code? I don't expect Dreamweaver quality. Other 
good tools are also welcome. XMLSpy works fine to create an XSD, but 
I've seen a lot of tools out there, so I'm wondering what your 
experiences are, what tips you have.

i am new to xsl & co. for our current project we need to create 
pdf-documents out of (xml-)data. after using different approaches to get 
the pdf document i came to fop and xsl-fo. i also have downloaded 
stylevision, but the code generated was very ugly. so after a few tries 
i have created the xsl-template just with my default editor (vim). 
worked great...

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


Re: configure No logging fop 0.1.4.0.5

2004-06-16 Thread Chris Bowditch
[EMAIL PROTECTED] wrote:
I got a problem. I'am using fop to generating pdf's. No I want that FOP
0.1.4.0.5 do
not write any log messages to the std.out.
How can I configure that ?
FOP 0.1.4 is very very old. Where did you find it? Sorry but I dont know how 
to help you with it as its at least 4 years old, and obviously has a very 
different API. Please consider upgrading to 0.20.5

Chris

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


Re: What XSLT and XSL-FO editor do you use?

2004-06-16 Thread Clay Leeds
The only XSL-FO editors I'm aware of are listed on the FOP Resources 
page[1]. This discussion recently came up on this list, so if you check 
the archives, you might find something which leads to something.

Please report back what works best for you, so the FOP community can 
benefit from your experience.

Web Maestro Clay
[1]
http://xml.apache.org/fop/resources.html#products-editors
On Jun 16, 2004, at 5:56 AM, Roger wrote:
I'm wondering what editors you use to create your XSD, XSLT and XSL-FO 
documents. At the moment I'm using a trial version of Altova XMLSPY 
and Stylevision. XMLSpy is meant to create the xsd, and sample 
xml-data-documents. Stylevision is meant for the FO and XSLT 
templates.

XMLSpy is okay as far as I can see, but Stylevision has one big 
drawback: you can't edit the code in it. It only has a wysiwyg editor, 
which works quite okay, but not always like I want it. Now I merely 
use it to create a quick-start template, and then edit in jEdit.

With the proper plugins installed, jEdit works really nice. My problem 
is that I cannot get the new code back into Stylevision. At the Altova 
website they try to present this as a feature, but of course it's not.

Do you know of any good wysiwyg editor for FO, and one that allows you 
to edit or import the code? I don't expect Dreamweaver quality. Other 
good tools are also welcome. XMLSpy works fine to create an XSD, but 
I've seen a lot of tools out there, so I'm wondering what your 
experiences are, what tips you have.

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

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


RE: Repeating bookmarks issue in XSL FO

2004-06-16 Thread Krautbauer, Bruce
This is a known issue with 1.0Dev.  See

http://issues.apache.org/bugzilla/show_bug.cgi?id=28556 

fox:outline generates PDF bookmark sets for each page-sequence

Best regards,
Bruce

-Original Message-
From: Prashant Gupta [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 16, 2004 1:14 AM
To: [EMAIL PROTECTED]
Subject: Repeating bookmarks issue in XSL FO

Hello Everybody,

 I have a problem in XSL FO. I am getting repeated bookmarks.  I create
in
each of my page-sequence a table with data(of an invoice) and then i
have
image of the invoice. Both are getting displayed . I create bookmarks
using
data and the image.


 So, the hierarchy for the bookmarks is something like this:
 + Galleria North (a building)
+ Acme Service Corp (a vendor)
  * AX54448-1 (invoice numbers)
  * AZ54-11-2
+ Clem's Carpet Cleaners (another vendor)
  * CCC660
  * CCC661
+ San Jacinto Tower (another building)
+ Acme (a vendor)
  * A123-456 (invoice numbers)
  * A321-654
+ True Green Chemlawn (another vendor)
  * CL4-2929


Now , my problem is that these bookmarks are repeated. So, instead of
having
one set of bookmarks(as shown above), i get multiple sets of bookmarks.
And
say if there are 5 page-sequences (one each for the 5 invoices), i get 5
sets of bookmarks.

How can i avoid this to happen? Kindly help.

If you feel you need more information/explaination, please do write to
me.

Thanks in advance.

Warm Regards,
Prashant Gupta


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




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



RE: What XSLT and XSL-FO editor do you use?

2004-06-16 Thread Wouter de Vaal

We've researched the issue as well and up to know we didn't find
any editor that has reverse engineer capabilities. It's all one
way, you can get the XSL-FO out of it, but once you changed that,
it can't be read back into the editor. 

So I guess we just have to be patient and wait for someone to create
this tool (which will probably have a nice price-tag). 

Oh and concerning XMLSpy, you might want to conside oXygen, XMLSpy
is good, but if you just want a tool for editting, xsl processing
and debugging, oXygen is way cheaper (and it's Java!).

Wouter

> -Original Message-
> From: Roger [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 16, 2004 2:57 PM
> To: [EMAIL PROTECTED]
> Subject: What XSLT and XSL-FO editor do you use?
> 
> I'm wondering what editors you use to create your XSD, XSLT 
> and XSL-FO documents. At the moment I'm using a trial version 
> of Altova XMLSPY and Stylevision. XMLSpy is meant to create 
> the xsd, and sample xml-data-documents. Stylevision is meant 
> for the FO and XSLT templates.
> 
> XMLSpy is okay as far as I can see, but Stylevision has one big
> drawback: you can't edit the code in it. It only has a 
> wysiwyg editor, which works quite okay, but not always like I 
> want it. Now I merely use it to create a quick-start 
> template, and then edit in jEdit.
> 
> With the proper plugins installed, jEdit works really nice. 
> My problem is that I cannot get the new code back into 
> Stylevision. At the Altova website they try to present this 
> as a feature, but of course it's not.
> 
> Do you know of any good wysiwyg editor for FO, and one that 
> allows you to edit or import the code? I don't expect 
> Dreamweaver quality. Other good tools are also welcome. 
> XMLSpy works fine to create an XSD, but I've seen a lot of 
> tools out there, so I'm wondering what your experiences are, 
> what tips you have.
> 
> Roger
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



Adding crop marks to 8.5x11 document printed on 11x17 paper

2004-06-16 Thread Mike Kellstrand
Some of my FOP layouts need to print right to the paper edge.
I believe I have the FO correct, but the proof is in the printout.
 
One way to check this is to print on larger paper with
"crop marks" added to show where the 8.5x11 paper edge would be.
 
I do not see any options in GSView or Adobe Reader to add these
crop marks.  Does anyone know how to do this?
 
Thanks,  Mike
 __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 

What XSLT and XSL-FO editor do you use?

2004-06-16 Thread Roger
I'm wondering what editors you use to create your XSD, XSLT and XSL-FO 
documents. At the moment I'm using a trial version of Altova XMLSPY and 
Stylevision. XMLSpy is meant to create the xsd, and sample 
xml-data-documents. Stylevision is meant for the FO and XSLT templates.

XMLSpy is okay as far as I can see, but Stylevision has one big 
drawback: you can't edit the code in it. It only has a wysiwyg editor, 
which works quite okay, but not always like I want it. Now I merely use 
it to create a quick-start template, and then edit in jEdit.

With the proper plugins installed, jEdit works really nice. My problem 
is that I cannot get the new code back into Stylevision. At the Altova 
website they try to present this as a feature, but of course it's not.

Do you know of any good wysiwyg editor for FO, and one that allows you 
to edit or import the code? I don't expect Dreamweaver quality. Other 
good tools are also welcome. XMLSpy works fine to create an XSD, but 
I've seen a lot of tools out there, so I'm wondering what your 
experiences are, what tips you have.

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


nullpointerexception: svg-grafik/text with batik-converted ttf-font

2004-06-16 Thread nos...@mrietzler.de
i have a problem with fop 0.20.5 on linux when trying to produce a pdf 
document out of my xsl-fo stylesheet.
i have successfully setup fop to use my fonts when rendering text. this 
works. but now i want to use svg to embed some grafipcs - no problem so 
far. but when i try to use the same font for svg-text as in my document 
i get a nullpointerexception.

i have converted the ttf-font via apache-batik, seems to be correct. 
look very pretty when using batik-squiggle.

i googled but couldn't find any hint to solve the problem... when using 
the "svg-default"-font fop runs without any error...

thanxs
markus
this is what i get when running fop.sh -xsl input.xsl -xml data.xml -pdf 
test.pdf -d

[DEBUG] Input mode:
[DEBUG] xslt transformation
[DEBUG] xml input file: ticket.xml
[DEBUG] xslt stylesheet: tickets2.xsl
[DEBUG] Output mode:
[DEBUG] pdf
[DEBUG] output file: t.pdf
[DEBUG] OPTIONS
[DEBUG] user configuration file: fonts.xml
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory: file:/home/rit/fop/
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] java.lang.NullPointerException
org.apache.fop.apps.FOPException: java.lang.NullPointerException
at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111)
at org.apache.fop.apps.Fop.main(Fop.java:62)
-
java.lang.RuntimeException: java.lang.NullPointerException
	at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)
	at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
	at org.apache.xerces.parsers.AbstractSAXParser.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.XMLEntityManager$EntityScanner.load(Unknown 
Source)
	at 
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(Unknown 
Source)
	at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown 
Source)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
	at org.apache.fop.apps.Driver.render(Driver.java:498)
	at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
	at org.apache.fop.apps.Fop.main(Fop.java:62)

-
java.lang.RuntimeException: java.lang.NullPointerException
	at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)
	at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
	at org.apache.xerces.parsers.AbstractSAXParser.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.XMLEntityManager$EntityScanner.load(Unknown 
Source)
	at 
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(Unknown 
Source)
	at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown 
Source)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
	at org.apache.fop.apps.Driver.render(Driver.java:498)
	at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
	at org.apache.fop.apps.Fop.main(Fop.java:62)


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


configure No logging fop 0.1.4.0.5

2004-06-16 Thread tim . anlauf




Hello @ all,

I got a problem. I'am using fop to generating pdf's. No I want that FOP
0.1.4.0.5 do
not write any log messages to the std.out.
How can I configure that ?

I read documentation 0.2.x and I found a a solution, but the my Driver
class doesn't support the method setLogger.


Please help.

THX

Tim



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



Antwort: WELCOME to fop-u...@xml.apache.org

2004-06-16 Thread tim . anlauf


Hello @ all,

I got a problem. I'am using fop to generating pdf's. No I want that FOP do
not write any log messages to the std.out.
How can I configure that ?

I read documentation 0.2.x and I found a a solution, but the my Driver
class doesn't support the method setLogger.


Please help.

THX

Tim


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



re: rtf connversion

2004-06-16 Thread tango ray

I succeed in downloading the cvs version of fop, with the rtf part.
I have created a rtf file, with the rtffile.java, that i can execute.
 
But i can be able to use the RTFHandler. I wish to know how can I use it, and enter one fo file(doc?) as parameter.
If anyone can tell me how to create the "main" part of the rtfhandler, in order to use it... ( and then use the rtflib).
 
Thank you
		
Yahoo! Mail : votre e-mail personnel et gratuit quel que soit votre fournisseur d’accès - avec anti-virus gratuit !
Créez votre Yahoo! Mail

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !

How remove page breaks ?

2004-06-16 Thread KS.Bhaskar








Hi all,

 

I am using  to come out of Memory
problem. But I am getting pdf with page breaks

How to remove this 

 

 With Regards

Bhaskar








Repeating bookmarks issue in XSL FO

2004-06-16 Thread Prashant Gupta
Hello Everybody,

 I have a problem in XSL FO. I am getting repeated bookmarks.  I create in
each of my page-sequence a table with data(of an invoice) and then i have
image of the invoice. Both are getting displayed . I create bookmarks using
data and the image.


 So, the hierarchy for the bookmarks is something like this:
 + Galleria North (a building)
+ Acme Service Corp (a vendor)
  * AX54448-1 (invoice numbers)
  * AZ54-11-2
+ Clem's Carpet Cleaners (another vendor)
  * CCC660
  * CCC661
+ San Jacinto Tower (another building)
+ Acme (a vendor)
  * A123-456 (invoice numbers)
  * A321-654
+ True Green Chemlawn (another vendor)
  * CL4-2929


Now , my problem is that these bookmarks are repeated. So, instead of having
one set of bookmarks(as shown above), i get multiple sets of bookmarks. And
say if there are 5 page-sequences (one each for the 5 invoices), i get 5
sets of bookmarks.

How can i avoid this to happen? Kindly help.

If you feel you need more information/explaination, please do write to me.

Thanks in advance.

Warm Regards,
Prashant Gupta


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



SVG image sizing problem

2004-06-16 Thread Rea, Matthew








Hi there,

 

I am seeing an issue with the image sizing of a SVG image in
the generated PDF.  I am using FOP 0.20.5
on WinXP with Sun JDK 1.3.1_03.  This also occurs on OpenVMS using the
same version JDK.

 

The SVG image has the width, height and viewport
set as follows:

 



 

 

I include the svg using:

 



 

 

The problem is when you look at the PDF result in Macromedia
Freehand or Adobe Illustrator the image size is:

Width = 70pt

Height = 79pt.

 

I need it to be exact but it seems to be losing the decimal
component.  Why is this happening
and can I fix it?  

 

 

Best regards,

 

Matt

 

 







Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website www.auspost.com.au.

CAUTION

This e-mail and any files transmitted with it are privileged and confidential information intended for the use of the addressee. The confidentiality and/or privilege in this e-mail is not waived, lost or destroyed if it has been transmitted to you in error. If you have received this e-mail in error you must (a) not disseminate, copy or take any action in reliance on it; (b) please notify Australia Post immediately by return e-mail to the sender; and (c) please delete the original e-mail.