Re: OMR extension

2006-04-23 Thread Jeremias Maerki
Kevin,

there are various types of OMR codes, so providing an OMR solution for
all is difficult. Furthermore, I consider OMR functionality out of scope
for FOP (just my personal opinion). It's a job for a print engine, not
for a formatter.

If you want to implement OMR functionality, please refer to the various
posts you found in the mailing list archive.

On 21.04.2006 23:52:41 Kevin wrote:
 I'm a new user and am experimenting with FOP for PDF outputs. There is a need 
 to
 produce OMR marks in the PDF's being created. I searched through the archive 
 and
 went through the various solutions discussed. Was wondering if someone had
 already implemented a FOP extension or a working solution. I will need to
 incorporate the last page logic also into the OMR. I apologize if this has 
 been
 addressed already .Please provide me with your inputs and point me in the 
 right
 direction. I am using fop-0.91beta version. 



Jeremias Maerki


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



Re: Footnotes overlapping with main text body

2006-04-23 Thread Jeremias Maerki
You might want to take a look at the latest release: Apache FOP 0.92beta.

On 23.04.2006 12:41:23 Matthew East wrote:
 Hi,
 
 The footnotes in my pdf document[1] are overlapping with the main text body.
 Does anyone know how I can remedy this?
 
 [1] http://mdke.org/ubuntu/desktopguide.pdf
 
 See pages 7, 31, 35, 39, 55, 63 of the pdf document.
 
 I'm using:
 
 fop - 0.20.5
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
 Normal Walsh fo stylesheets with some customisations
 Operating System - Ubuntu 6.06
 
 Thanks for any help!! Any other advice for improving the pdf are welcome ;)


Jeremias Maerki


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



Re: Footnotes overlapping with main text body

2006-04-23 Thread Matthew East
Jeremias Maerki dev at jeremias-maerki.ch writes:

 
 You might want to take a look at the latest release: Apache FOP 0.92beta.

Is there any way to do it with FOP 0.20?

I tried 0.92beta but can't figure out how to run it, I installed it to
/opt/fop-0.92/ and made a symlink in /bin/fop.sh to /opt/fop-0.92/fop so that it
fits my build script, but I always receive this error:

[EMAIL PROTECTED]:~/Desktop/jai-1_1_2_01$ fop
Exception in thread main 
java.lang.NoClassDefFoundError: org/apache/fop/cli/Main

I looked up this error and saw that someone said that I needed to make sure that
I had all the jar files mentioned in fop.bat, so I downloaded as many of them
as I could (jimi, jai) and added them, but I still get that error. I even tried
removing some of the references to jar files in fop.bat, but no good.

I couldn't find any simple installation documentation: can someone tell me what
I'm doing wrong?

Matt


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



Re: Footnotes overlapping with main text body

2006-04-23 Thread Jeremias Maerki
I've just done (more or less) the same. Extracted FOP 0.92 into a new
folder and created a symlink to fop from my ~/bin directory. Worked
like a charm. I'm no Unix crack so I can't help much but it sounds like
there must be something wrong with the way the fop script sets up the
FOP classpath. On the other side, it works for me, so it must be
something in your environment.

Referring to fop.bat won't help much as the Windows script works a
little differently and doesn't support auto-construction of the
classpath from all JAR files in the lib directory. If you get
java.lang.NoClassDefFoundError: org/apache/fop/cli/Main it means that
fop.jar wasn't found. The class org.apache.fop.cli.Main is in fop.jar.

Hopefully, someone else might help further.

On 23.04.2006 15:09:17 Matthew East wrote:
 Jeremias Maerki dev at jeremias-maerki.ch writes:
 
  
  You might want to take a look at the latest release: Apache FOP 0.92beta.
 
 Is there any way to do it with FOP 0.20?
 
 I tried 0.92beta but can't figure out how to run it, I installed it to
 /opt/fop-0.92/ and made a symlink in /bin/fop.sh to /opt/fop-0.92/fop so that 
 it
 fits my build script, but I always receive this error:
 
 [EMAIL PROTECTED]:~/Desktop/jai-1_1_2_01$ fop
 Exception in thread main 
 java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
 
 I looked up this error and saw that someone said that I needed to make sure 
 that
 I had all the jar files mentioned in fop.bat, so I downloaded as many of 
 them
 as I could (jimi, jai) and added them, but I still get that error. I even 
 tried
 removing some of the references to jar files in fop.bat, but no good.
 
 I couldn't find any simple installation documentation: can someone tell me 
 what
 I'm doing wrong?


Jeremias Maerki


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



Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Matthew East
Jeremias Maerki dev at jeremias-maerki.ch writes:

 
 I've just done (more or less) the same. Extracted FOP 0.92 into a new
 folder and created a symlink to fop from my ~/bin directory. Worked
 like a charm.

Ok, I'll try again from scratch. Can you help me with what I need to install?
There are two archives at the download address, one called jdk1.3 and another
called jdk1.4, which do I need? And do I need to be using Java jdk rather than
jre (which I used with fop 0.20)? If so, is version 1.5 from sun going to be ok?

http://apache.rmplc.co.uk/xmlgraphics/fop/

Matt (total noob)


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



Re: Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Jeremias Maerki
You said earlier you're on JDK 1.5, so take the jdk1.4 binary. The JRE
should be enough. It doesn't matter. Just extract the .tar.gz and run
the fop script. That's it if you don't need any fancy stuff to begin
with.

More info:
http://xmlgraphics.apache.org/fop/latest/running.html

On 23.04.2006 17:05:29 Matthew East wrote:
 Jeremias Maerki dev at jeremias-maerki.ch writes:
 
  
  I've just done (more or less) the same. Extracted FOP 0.92 into a new
  folder and created a symlink to fop from my ~/bin directory. Worked
  like a charm.
 
 Ok, I'll try again from scratch. Can you help me with what I need to install?
 There are two archives at the download address, one called jdk1.3 and 
 another
 called jdk1.4, which do I need? And do I need to be using Java jdk rather 
 than
 jre (which I used with fop 0.20)? If so, is version 1.5 from sun going to be 
 ok?
 
 http://apache.rmplc.co.uk/xmlgraphics/fop/
 
 Matt (total noob)


Jeremias Maerki


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



Re: Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Matthew East
Jeremias Maerki dev at jeremias-maerki.ch writes:

 
 You said earlier you're on JDK 1.5, so take the jdk1.4 binary. The JRE
 should be enough. It doesn't matter. Just extract the .tar.gz and run
 the fop script. That's it if you don't need any fancy stuff to begin
 with.

Ok, I tried installing it from scratch into ~/tmp/fop-0.92 and did a symlink in
~/bin. It seems to work better, but I get a host of errors when trying to build
the document, using the same stylesheets as I used with fop 0.20

ERRORS: http://fop.pastebin.com/677001

Any ideas? Sorry for the continuous questions!

Matt



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



Re: Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Patrick Paul

Matthew,

You did nothing wrong. What happens is that your the .fo you generate 
uses the proprietary fox:outline extension that was supported by FOP 0.20.5


For more information checkout the compliance page:

http://xmlgraphics.apache.org/fop/compliance.html#fo-object-section

So basically you need to changefox:outline and use fo:bookmark-tree, 
fo:bookmark and fo:bookmark-title.


Good luck,

Patrick

Matthew East wrote:


Jeremias Maerki dev at jeremias-maerki.ch writes:

 


You said earlier you're on JDK 1.5, so take the jdk1.4 binary. The JRE
should be enough. It doesn't matter. Just extract the .tar.gz and run
the fop script. That's it if you don't need any fancy stuff to begin
with.
   



Ok, I tried installing it from scratch into ~/tmp/fop-0.92 and did a symlink in
~/bin. It seems to work better, but I get a host of errors when trying to build
the document, using the same stylesheets as I used with fop 0.20

ERRORS: http://fop.pastebin.com/677001

Any ideas? Sorry for the continuous questions!

Matt



-
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: Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Matthew East
Hi Patrick,

Patrick Paul ppaul_apache at yahoo.ca writes:

 So basically you need to changefox:outline and use fo:bookmark-tree, 
 fo:bookmark and fo:bookmark-title.

Thanks for this. I'm afraid I'm still not completely understanding how to do
this. I'm using the nwalsh fo stylesheets, which seem to have this fox:outline
thing (http://fop.pastebin.com/677084 is the section I've identified which seems
to be relevant). But I don't know how to overrule this in my custom xsl, or what
to replace it with. I'm not really fussy about bookmarks but it might be nice to
have them, I suppose.

Thanks for being so help so far (and for very fast responses!), and hopefully
you can keep helping me until this is working :-( Apologies for my slowness!

Matt


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



Re: Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Matthew East
Patrick Paul ppaul_apache at yahoo.ca writes:
 You're welcome. This is what this mailing-list is for, helping people.

Well, it's a very friendly mailing list :)

 What I suggest is that you try not to use the FOP-specific extension.

{snip}

 Remove the --stringparam fop.extensions 1 line.

Ok, I set that to 0 in my custom xsl. But I now get some more errors:

ERRORS: http://fop.pastebin.com/677156
MYXSL: http://fop.pastebin.com/677158

Thanks again for your help, hope this one is an easy one to solve!

Matt


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



Re: Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Matthew East
Patrick Paul ppaul_apache at yahoo.ca writes: 
 Make sure you get the latest stable docbook-xsl stylesheets and set the 
 following params :
 
 --stringparam fop.extensions 0
 --stringparam fop1.extensions 1

I have docbook-xsl 1.68, which comes with my distribution. I added that
parameter to my custom stylesheet and receive this error:

http://fop.pastebin.com/677207

M


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



Re: Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Patrick Paul
Get the latest release (1.69.1) at 
http://sourceforge.net/project/showfiles.php?group_id=21935#files


Try to do a little reading about how to install it. Maybe there is a 
package for Ubuntu.


Patrick

Matthew East wrote:

Patrick Paul ppaul_apache at yahoo.ca writes: 
 

Make sure you get the latest stable docbook-xsl stylesheets and set the 
following params :


--stringparam fop.extensions 0
--stringparam fop1.extensions 1
   



I have docbook-xsl 1.68, which comes with my distribution. I added that
parameter to my custom stylesheet and receive this error:

http://fop.pastebin.com/677207

M




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



Re: Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Matthew East
Patrick Paul ppaul_apache at yahoo.ca writes:

 
 Get the latest release (1.69.1) at 
 http://sourceforge.net/project/showfiles.php?group_id=21935#files

Ok, I installed and used these, by amending my custom xsl to use them. I get the
same error. Just for clarity:

ERROR: http://fop.pastebin.com/677244
XSL: http://fop.pastebin.com/677245

Matt


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



Re: Installing fop 0.92 (was Re: Footnotes overlapping with main text body)

2006-04-23 Thread Matthew East
Patrick Paul ppaul_apache at yahoo.ca writes:
 Matthew East wrote:
 ERROR: http://fop.pastebin.com/677244
 XSL: http://fop.pastebin.com/677245

 I apologize but I do not have the time to assist you further at this time.

No problem, thanks for the help you've given me so far.

 This may be a bug with FOP 0.92 ?

I'll wait and see if anyone else knows.

So, it's not possible to ensure that footnotes don't overlap with the main text
using fop 0.20?

Matt


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



embedding fonts

2006-04-23 Thread Matthew East
Hi again list,

Thanks for your very kind replies on the other thread. I will pursue the
suggestions Glenn makes and approach other lists with xsl related questions.

For the moment, I hope you won't mind if I bother you again with another fop
question: using 0.20-5, is it possible to configure fop easily to embed all the
fonts which it is using? I tried reading the documentation for fonts[1], but
couldn't make head or tail of it. Basically, all I want to do if for fop to use
the same fonts it is using now, but embed them. I don't even know precisely what
embedding means, but it appears to be required by the printer so...

[1] http://xmlgraphics.apache.org/fop/0.20.5/fonts.html

Again, the document is http://mdke.org/ubuntu/desktopguide.pdf

Let me know if you need any more information, and sorry again for bothering you
with my rather ill-informed questions.

Matt


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



RE: Error while generating the PDF Document - Please help

2006-04-23 Thread Sunil_Bhandary
Hi Pietschmann,
 
Thanks for the information.
I will try to run the FOP with my actual Java environment and will also check 
the classpath settings in the IDE.
I will let you know the results.
 
Regards,
Sunil
 



From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Sun 4/23/2006 5:12 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Error while generating the PDF Document - Please help



Sunil_Bhandary wrote:
 I am getting the following error in my application when tried to generate the 
 PDF document using FOP.
 java.lang.AbstractMethodError: 
 org/apache/fop/svg/SVGElementMapping.addToBuilder
 at org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
[snip]

SVGElementMapping.addToBuilder is definitely not an abstract method,
and the line numbers in Driver.java are way off compared to the
actual file in 0.20.5.

Try running the FOP command line application from a shell, with
your actual Java environment. FOP should run fine Java 1.4 in
general.

You should double check the classpath settings in the IDE, check
whether there aren't modified Driver.Java and/or SVGElementMapping
file sin the project or imported from another project, and check
whether the IDE has known classloader bugs.

J.Pietschmann

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






DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
winmail.dat-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]