Re: Unknown formatting object null^null

2002-11-25 Thread Matthias Kräuter
 And you don't have that problem when running FOP from the command line?
   No, the file is converted properly.
 Could you try to rebuild FOP with debug info on (see build.xml,
 properties). You then get line numbers in stacktraces so it's simpler to
 identify the problem.

 And you have relatively new versions of Xerces and Xalan, right?

   Yes, Xalan 2.3.1 and Xerces 2.2.1, that come with the FOP distribution.

   Thanks for your advice. I#180;ll check it.

   Matthias


 On 22.11.2002 15:08:58 Matthias Kräuter wrote:
  Hello,
 
  I#180;ve got a problem with rendering an fo-file to pdf using an embedde
 d Fop.
 
 
  I get the following exceptions.
 
[reports] [INFO] building formatting object tree
[reports] [DEBUG] setting up fonts
[reports] [ERROR] Unknown formatting object null^null
 
  BUILD FAILED
  java.lang.NullPointerException
  at org.apache.fop.fo.FOTreeBuilder.startElement(Unknown Source)
  at org.apache.fop.tools.DocumentReader.parse(Unknown Source)
  at org.apache.fop.apps.Driver.render(Unknown Source)
 
  I tried out the hints in the list, but none of them really worked. I#180
 ;m
  using FOP 0.20.4 with included Xalan and Xerces and Xerces Namespace-Awar
 eness
  set explicitly to 'true'.
 
  My fo-File looks like that:
 
  ?xml version=1.0 encoding=UTF-8 standalone=no?
 fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
  fo:layout-master-set
  ...
 /fo:root
 
  Does someone know what I#180;m doing wrong?


 Jeremias Maerki


 -
 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]



xslt and fo process

2002-11-25 Thread MARTIN Franck



Hello,

Is there any way to transform the 
valuereturned by the instruction fo:page-number/ before printing 
it? Let's say i would like to double it and then print the result, could i use 
an xsl:variable or not?

Fop is able to process a fo file directly but it is 
also able to process a xsl file and a xml file. In the cas i give fop 2 files to 
process (xml+xsl), will it always give the same result as giving it the fo file 
(obtained from the xml and xsl)??

Franck


subscripts in pdf

2002-11-25 Thread lepeklhine
I use fop 0.20.4 and dockbook-xsl-1.55.0
I can not manage subscripts in pdf files
to be rendered as they must be - they always
appeare as the ordinary text.
If html presentation is produced then all
subscripts are on their proper places.
The similar case happens with ulink tag -
it is converted to A HREF=link in html page
but is rendered as [#link] in pdf.
Is this fop bug or docbook-xsl bug 
or something else that I don't know?
Do anybody successfuly use subscripts in pdf?
Alexander 

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



Re: break line

2002-11-25 Thread xavier gibouin



Hi 

i use fop 0.20.3 (in cocoon)

"XX" appears on breakline and not after 
:

indeed

il would like to generate :
"



XX
"
but my result is
"
XXX



"

thanks



Xavier GibouinAxonieEspace Mercoeur8, rue Mercoeur44000 
Nantes02.40.48.53.23[EMAIL PROTECTED]

  - Original Message - 
  From: 
  Oleg 
  Tkachenko 
  To: [EMAIL PROTECTED] 
  Sent: Saturday, November 23, 2002 7:13 
  PM
  Subject: Re: break line
  xavier gibouin wrote: and XXX doesn't 
  appear after break linesAgain it works fine for me. What FOP version are 
  you talking about and what exactly doesn't work?-- Oleg 
  TkachenkoeXperanto teamMulticonn Technologies, 
  Israel-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]


Conditional page master reference (page position)

2002-11-25 Thread MARTIN Franck
Hello,

I am using a conditional page master reference to tentatively provide a
unique footer on the last page. No matter in what order i put references to
page masters it never seems to work.
Has anyone ever had that kind of problem before? Is fop limited on
conditional page masters?

Here is my page sequence definition :
fo:page-sequence-master master-name=page-sequence-detail
fo:repeatable-page-master-alternatives
fo:conditional-page-master-reference page-position=first
master-reference=simple-page/
fo:conditional-page-master-reference page-position=rest
master-reference=simple-page/
fo:conditional-page-master-reference page-position=last
master-reference=last-page/
/fo:repeatable-page-master-alternatives
/fo:page-sequence-master

Thanks

Franck


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



Re: break line

2002-11-25 Thread Oleg Tkachenko
xavier gibouin wrote:
i use fop 0.20.3 (in cocoon)
First of all I'd suggest you to upgrade FOP up to 0.20.4, but the problem is 
not there, it works for me even in 0.20.3.
Can you run it without cocoon, using FOP command line?

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: subscripts in pdf

2002-11-25 Thread Oleg Tkachenko
lepeklhine wrote:
I use fop 0.20.4 and dockbook-xsl-1.55.0
I can not manage subscripts in pdf files
to be rendered as they must be - they always
appeare as the ordinary text.
Probably docbook-xsl uses baseline-shift property for subscripts, but 
unfortunately baseline-shift is not implemented yet in FOP. Usual practice is 
to use vertical-align=sub instead, but I have no idea how can you manage 
with it considering generic docbook-xsl stylesheets. Try to override subscript 
processing in the stylesheets.

The similar case happens with ulink tag -
it is converted to A HREF=link in html page
but is rendered as [#link] in pdf.
Is this fop bug or docbook-xsl bug 
or something else that I don't know?
Links should be okay, probably the problem is in a stylesheet. How does 
generated fo look like?

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: xslt and fo process

2002-11-25 Thread Chris Bowditch
Hi Franck, see comments below
Hello,
Is there any way to transform the value returned by the instruction 
fo:page-number/ before printing it? Let's say i would like to double it 
and then print the result, could i use an xsl:variable or not?

Fop is able to process a fo file directly but it is also able to process a 
xsl file and a xml file. In the cas i give fop 2 files to process 
(xml+xsl), will it always give the same result as giving it the fo file 
(obtained from the xml and xsl)??

Franck
Although you pass both the XML and XSL file to FOP, there is still a 2 stage 
process, and this is just for convenience. FOP calls the XSLT processor 
(Xalan) to process all the XSL elements first, before attempting to render 
the FO to PDF. There is no way to know about page numbers in the XSLT stage.

Chris
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: xslt and fo process

2002-11-25 Thread MARTIN Franck
Thank you for your help
- Original Message -
From: Chris Bowditch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 11:36 AM
Subject: Re: xslt and fo process


 Hi Franck, see comments below

 
 Hello,
 
 Is there any way to transform the value returned by the instruction
 fo:page-number/ before printing it? Let's say i would like to double it
 and then print the result, could i use an xsl:variable or not?
 
 Fop is able to process a fo file directly but it is also able to process
a
 xsl file and a xml file. In the cas i give fop 2 files to process
 (xml+xsl), will it always give the same result as giving it the fo file
 (obtained from the xml and xsl)??
 
 Franck

 Although you pass both the XML and XSL file to FOP, there is still a 2
stage
 process, and this is just for convenience. FOP calls the XSLT processor
 (Xalan) to process all the XSL elements first, before attempting to render
 the FO to PDF. There is no way to know about page numbers in the XSLT
stage.

 Chris


 _
 Help STOP SPAM with the new MSN 8 and get 2 months FREE*
 http://join.msn.com/?page=features/junkmail


 -
 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: Conditional page master reference (page position)

2002-11-25 Thread Chris Bowditch
Hi Franck, see comments below
Hello,
I am using a conditional page master reference to tentatively provide a
unique footer on the last page. No matter in what order i put references to
page masters it never seems to work.
Has anyone ever had that kind of problem before? Is fop limited on
conditional page masters?
fo:conditional-page-master-reference page-position=last
master-reference=last-page/
Unfortunately, page-position=last isnt implemented in FOP yet. Thats 
because it is difficult to detect when on the last page

/fo:repeatable-page-master-alternatives
/fo:page-sequence-master
Thanks
Franck

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


Re: Conditional page master reference (page position)

2002-11-25 Thread Oleg Tkachenko
MARTIN Franck wrote:
I am using a conditional page master reference to tentatively provide a
unique footer on the last page. No matter in what order i put references to
page masters it never seems to work.
Conditional page master for the last page is not implemented yet. It's bug 
#7140, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7140.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Conditional page master reference (page position)

2002-11-25 Thread MARTIN Franck
Okay thanks for the information.
Do you think the next fop release will implement the page-position
attribute?
- Original Message -
From: Oleg Tkachenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 11:43 AM
Subject: Re: Conditional page master reference (page position)


 MARTIN Franck wrote:

  I am using a conditional page master reference to tentatively provide a
  unique footer on the last page. No matter in what order i put references
to
  page masters it never seems to work.
 Conditional page master for the last page is not implemented yet. It's bug
 #7140, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7140.

 --
 Oleg Tkachenko
 eXperanto team
 Multiconn Technologies, Israel


 -
 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]



Latest and future fop release

2002-11-25 Thread MARTIN Franck
Hello,

Can we consider that fop 0.20.4 is stable and should be the one to use ?

When will be released the next version? In a couple of months, in about 6
months, one year or more?

Just so to have an idea...

Franck


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



wrapper indent

2002-11-25 Thread Rick Delpo



Hi, I am using a wrapper within a block and want to indent the 
text within the wrapper. I tried text-indent and start-indent and neither 
worked. Also I tried this with fo:inline too.

thanks in advance for your help


Re: Latest and future fop release

2002-11-25 Thread Oleg Tkachenko
MARTIN Franck wrote:
Can we consider that fop 0.20.4 is stable and should be the one to use ?
Some improvements/bug fixes had been done in cvs version.
When will be released the next version? In a couple of months, in about 6
months, one year or more?
Days! :) 0.20.5rc is a matter of days now.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Latest and future fop release

2002-11-25 Thread MARTIN Franck
That is great news!!
- Original Message -
From: Oleg Tkachenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 12:03 PM
Subject: Re: Latest and future fop release


 MARTIN Franck wrote:

  Can we consider that fop 0.20.4 is stable and should be the one to use ?
 Some improvements/bug fixes had been done in cvs version.

  When will be released the next version? In a couple of months, in about
6
  months, one year or more?
 Days! :) 0.20.5rc is a matter of days now.

 --
 Oleg Tkachenko
 eXperanto team
 Multiconn Technologies, Israel


 -
 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: Latest and future fop release

2002-11-25 Thread MARTIN Franck
Btw what does rc stand for
- Original Message -
From: Oleg Tkachenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 12:03 PM
Subject: Re: Latest and future fop release


 MARTIN Franck wrote:

  Can we consider that fop 0.20.4 is stable and should be the one to use ?
 Some improvements/bug fixes had been done in cvs version.

  When will be released the next version? In a couple of months, in about
6
  months, one year or more?
 Days! :) 0.20.5rc is a matter of days now.

 --
 Oleg Tkachenko
 eXperanto team
 Multiconn Technologies, Israel


 -
 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: Latest and future fop release

2002-11-25 Thread Chris Bowditch
Release Candidate
From: MARTIN Franck [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Latest and future fop release
Date: Mon, 25 Nov 2002 12:05:48 +0100
Btw what does rc stand for
- Original Message -
From: Oleg Tkachenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 12:03 PM
Subject: Re: Latest and future fop release
 MARTIN Franck wrote:

  Can we consider that fop 0.20.4 is stable and should be the one to use 
?
 Some improvements/bug fixes had been done in cvs version.

  When will be released the next version? In a couple of months, in 
about
6
  months, one year or more?
 Days! :) 0.20.5rc is a matter of days now.

 --
 Oleg Tkachenko
 eXperanto team
 Multiconn Technologies, Israel


 -
 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]

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Latest and future fop release

2002-11-25 Thread marco scotoni
Great news!!!

0.20.5rc has support for lineargradient , is it so?

Marco Scotoni

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



Re: xslt and fo process

2002-11-25 Thread Oleg Tkachenko
MARTIN Franck wrote:
Is there any way to transform the value returned by the instruction 
fo:page-number/ before printing it? Let's say i would like to double 
it and then print the result, could i use an xsl:variable or not?
You cannot. All you can do with a page number is to format it to some kind of 
degree using java-like number formatting, see 
http://www.w3.org/TR/xsl/slice6.html#fo_page-sequence, properties:
* [7.24.1 format]
* [7.24.4 letter-value]
* [7.24.2 grouping-separator]
* [7.24.3 grouping-size]

Fop is able to process a fo file directly but it is also able to process 
a xsl file and a xml file. In the cas i give fop 2 files to process 
(xml+xsl), will it always give the same result as giving it the fo file 
(obtained from the xml and xsl)??
Sure.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Conditional page master reference (page position)

2002-11-25 Thread Oleg Tkachenko
MARTIN Franck wrote:
Okay thanks for the information.
Do you think the next fop release will implement the page-position
attribute?
No, last position is still not implemented. It's addressed by the redesign 
under way.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Latest and future fop release

2002-11-25 Thread Oleg Tkachenko
marco scotoni wrote:
0.20.5rc has support for lineargradient , is it so?
Dunno, try cvs maintenance version to see if it works.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: wrapper indent

2002-11-25 Thread Oleg Tkachenko
Rick Delpo wrote:
Hi, I am using a wrapper within a block and want to indent the text 
within the wrapper. I tried text-indent and start-indent and neither 
worked. 
Both start-indent and text-indent are applicable only to block level 
formatting objects.

Also I tried this with fo:inline too.
Pure xsl-fo solution is to use fo:inline with space-start property, but 
unfortunately it's not implemented yet. As workaround you can use space leader:
foo fo:leader leader-length=10mm/ bar

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: subscripts in pdf

2002-11-25 Thread lepekhine
Thank you, Oleg!

 lepeklhine wrote:
  I use fop 0.20.4 and dockbook-xsl-1.55.0
  I can not manage subscripts in pdf files
  to be rendered as they must be - they always
  appeare as the ordinary text.

 Probably docbook-xsl uses baseline-shift property for subscripts, but
 unfortunately baseline-shift is not implemented yet in FOP. Usual practice
 is to use vertical-align=sub instead, but I have no idea how can you
 manage with it considering generic docbook-xsl stylesheets. Try to override
 subscript processing in the stylesheets.

When I changed it in xsl all subscripts and superscripts go to the proper 
places. Fine!


  The similar case happens with ulink tag -
  it is converted to A HREF=link in html page
  but is rendered as [#link] in pdf.

I am sorry. There was HREF=#link as I wanted to have the local link.

  Is this fop bug or docbook-xsl bug
  or something else that I don't know?

 Links should be okay, probably the problem is in a stylesheet. How does
 generated fo look like?

As for links they are OK. 
I understand that I should use link linkend= for local links
and not ulink url=.
Now all links work fine.
Thank you once more.
Alexander


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



Re: wrapper indent

2002-11-25 Thread Rick Delpo
Thanks once again for your prompt replys. you guys do a great job. keep up
the good work.

Happy Holidays  from Rick Delpo




- Original Message -
From: Oleg Tkachenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 6:46 AM
Subject: Re: wrapper indent


 Rick Delpo wrote:
  Hi, I am using a wrapper within a block and want to indent the text
  within the wrapper. I tried text-indent and start-indent and neither
  worked.
 Both start-indent and text-indent are applicable only to block level
 formatting objects.

 Also I tried this with fo:inline too.
 Pure xsl-fo solution is to use fo:inline with space-start property, but
 unfortunately it's not implemented yet. As workaround you can use space
leader:
 foo fo:leader leader-length=10mm/ bar

 --
 Oleg Tkachenko
 eXperanto team
 Multiconn Technologies, Israel


 -
 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]



Strange hyphenation

2002-11-25 Thread lepekhine
Hi all!
Could you help me with the very strange
hyphenation of Russian words?
I use fop 0.20.4 and docbook 1.55.0
In the multysyllable russian words sometimes
the middle syllable is left at the and of line,
then goes hyphen mark and the rest of word
(without middle syllable) goes on the next line.
In English it corresponds to the next division
of word hyphenation for example: phen-
hynation.
Can I refuse of auto hyphenation at all?

-- 
Best regards
Alexander Lepekhine

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



Re: Strange hyphenation

2002-11-25 Thread Oleg Tkachenko
lepekhine wrote:
Could you help me with the very strange
hyphenation of Russian words?
I use fop 0.20.4 and docbook 1.55.0
In the multysyllable russian words sometimes
the middle syllable is left at the and of line,
then goes hyphen mark and the rest of word
(without middle syllable) goes on the next line.
In English it corresponds to the next division
of word hyphenation for example: phen-
hynation.
How does generated fo look like? Did you set language property?
Can I refuse of auto hyphenation at all?
hyphenate=false, see
http://www.w3.org/TR/xsl/slice7.html#hyphenate
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Columns

2002-11-25 Thread marco scotoni
Hi,

it's possible to use an tag or property to divide in column my text,except
column-count on body-region??


Ex:

Original:

BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB
BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB
BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB

as i want:

blablablablablablablablablabla
blablablablablablablablablabla
blablablablablablablablablabla
blablablablablablablablablabla
blablablablablablablablablabla

Any trick?

Marco Scotoni



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



Re: Columns

2002-11-25 Thread Oleg Tkachenko
marco scotoni wrote:
it's possible to use an tag or property to divide in column my text,except
column-count on body-region??
What's wrong with column-count?
Original:
BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB
BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB
BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaB
as i want:
blablablablablablablablablabla
blablablablablablablablablabla
blablablablablablablablablabla
blablablablablablablablablabla
blablablablablablablablablabla
Any trick?
You can emulate it with list or blind table, but you cannot get the behaviour 
of flowing content into columns.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Font embending

2002-11-25 Thread Nyri Gyz
Hi!

How can I embend fonts in the pdf?
I've the emded-file param in the userconfig.xml.
The faq writes: Provide$$$
It isn't implemented?

Thanks,
Gyz

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



Re: Font embending

2002-11-25 Thread Jeremias Maerki
It is implemented. I think you've got everything you need (embed-file
attribute). See here: http://xml.apache.org/fop/fonts.html

On 25.11.2002 18:51:01 Nyári Gyõzõ wrote:
 Hi!
 
 How can I embend fonts in the pdf?
 I've the emded-file param in the userconfig.xml.
 The faq writes: Provide$$$
 It isn't implemented?


Jeremias Maerki


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



RE: Which logging library is needed to run fop 0.20.4 servlets

2002-11-25 Thread Ciot, Thierry
Thanks Jeremias for answering.

Yes I use the FOPServlet from the distribution (the WAR file in the example
directory).

I have experimented a bit more by installing fop 0.20.4 on another machine:
I am getting the same error message.
On both machines, I never had any other version of fop.  
I have tripled checked that I have the right libraries in the web-inf\lib
directory

I don't know where the dependency on org/apache/log/Hierarchy comes from.
Could it be that the WAR file does not contain the correct servlet?

Thanks, Thierry

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 23, 2002 7:32 AM
To: [EMAIL PROTECTED]
Subject: Re: Which logging library is needed to run fop 0.20.4 servlets


Logging has changed from 0.20.3 to 0.20.4. We were able to eliminate the
need for logkit. Instead we use the logger interface from Avalon which
also has a ConsoleLogger which became our new standard logger. I don't
know if you really use the FOPServlet from the distribution, but if you
do, you should also update the servlet when you upgrade FOP (because the
logging has changed). Probably you have the old servlet that still wants
to use a LogKit logger. Look in the contrib/servlet directory in the
distribution.

The libs you need to run the FOP Servlet are: fop.jar, batik.jar,
avalon-framework*.jar. logkit.jar is not needed anymore.

Look here for details about logging in 0.20.4:
http://xml.apache.org/fop/embedding.html

I hope this helps.

On 22.11.2002 22:35:57 Ciot, Thierry wrote:
 I have searched the FAQ and the mail archive but could not find anything
 useful.  
 Thanks in advance for answering this question.
 
 I am using fop 0.20.4 (fop-0.20.4rc).  I cannot use fop within a servlet.
 I have tested with both tomcat 3.3.1 and Tomcat 4.
 
 I get the following error message java.lang.NoClassDefFoundError:
 org/apache/log/Hierarchy
 
 It turns out that the avalon jar file shipped with fop does not contain
that
 class.
 
 I have tracked down Hierarchy to belong to the logkit project.  I
downloaded
 logkit 1.1 and put the jar file in the lib directory.  Now I can proceed
 further but it still fails when trying to renderFO with the following
error
 message:
 
 Location: /fop/servlet/fop Internal Servlet
 Error:java.lang.NoSuchMethodError:
 org.apache.fop.apps.Driver.setLogger(Lorg/apache/log/Logger;)V

The method now has the following signature:
org.apache.fop.apps.Driver.setLogger(org.apache.avalon.framework.logger.Logg
er);

That's the reason for the NoSuchMethodError.

 This is probably because the setLogger requires a different method
 parameter.
 
 What lib do I need to run a fop servlet?
 
 Thierry.
 
 Location: /fop/servlet/fop
 Internal Servlet Error:
 
 java.lang.NoClassDefFoundError: org/apache/log/Hierarchy
   at FopServlet.doGet(FopServlet.java:53)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java)
snip/
 
 Location: /fop/servlet/fopInternal Servlet
 Error:java.lang.NoSuchMethodError:
 org.apache.fop.apps.Driver.setLogger(Lorg/apache/log/Logger;)V
   at FopServlet.renderFO(FopServlet.java:94)
   at FopServlet.doGet(FopServlet.java:64)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java)

snip/

Jeremias Maerki


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



The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


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