Crop marks and Bleed

2004-12-30 Thread Ganesh Babu Nallamothu, Integra-India
Dear All,

Is any way to get the crop marks and bleed in the PDF generated from XSL-FO

Regards,
Ganesh

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



list overlapping

2004-11-18 Thread Ganesh Babu Nallamothu, Integra-India
Dear All,

I am having a dl list in which the text is more.

duoList
firstitalicThe Cambridge Companion to Greek Tragedy/italic/first
secondedited by P. E. Easterling/second
firstitalicThe Cambridge Companion to Roman Satire/italic/first
secondedited by Kirk Freudenburg/second
/duoList

This is the code for conversion this format into list. But the problem is
when you convert to PDF the second text is overwriting on first one. Plus
italic is not coming. When I try to adde label-end and body-start functions
it showing an error that area is full. Can anybody tell me how to solve this
problem. One option table! any other option in the list itself.


xsl:template match=c:duoList
  fo:list-block
xsl:for-each select=c:first
  fo:list-item
fo:list-item-label
  fo:block
xsl:value-of select=c:paragraph/
  /fo:block
/fo:list-item-label
fo:list-item-body
  fo:block
xsl:value-of select=../c:second/c:paragraph/
  /fo:block
/fo:list-item-body
  /fo:list-item
/xsl:for-each
  /fo:list-block


Regards,
Ganesh


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



DOCTYPE + XSLT + Xalan + FO

2004-11-01 Thread Ganesh Babu Nallamothu, Integra-India
Dear All,

I am giving XML, XSL and FO output. Actually all the rules of FO has to be
applied to the FO output. But it is not happening. Can any body let me know
what is the reason behind this. If the !DOCTYPE line is commented/ instead
of xsl:template match=content if we use   xsl:template match=/ then
only the rules are applied. But I want along with DOCTYPE as my entities are
in separate set of files. If we use / also the rules are not applying for
other templates.

Please help me. Here are my code samples.

XML


?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE content SYSTEM content.dtd
content xmlns:xlink=http://www.w3.org/1999/xlink;
xmlns:fo=http://www.w3.org/1999/XSL/Format; id=pie-c01-000-001
piece role=chapter
headingBanking on panic span role=subtitleThe historical record and a
theoretical frame/span/heading
/piece
/content


--
XSL
===

?xml version=1.0?
xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format;
version=1.0

  xsl:output method=xml indent=yes/

  xsl:template match=content
fo:root
  fo:layout-master-set
fo:simple-page-master master-name=simple page-height=29cm
page-width=21cm margin-top=1.5cm margin-bottom=1.5cm margin-left=2cm
margin-right=2cm
  fo:region-body margin-top=1.5cm/
  fo:region-before extent=1.5cm/
  fo:region-after extent=1.5cm/
/fo:simple-page-master
  /fo:layout-master-set
  fo:page-sequence master-reference=simple
fo:static-content flow-name=xsl-region-after
  fo:block text-align=end
p. fo:page-number/
  /fo:block
/fo:static-content
fo:flow flow-name=xsl-region-body
  fo:block
xsl:apply-templates/
  /fo:block
/fo:flow
  /fo:page-sequence
/fo:root
  /xsl:template

  xsl:template match=piece/heading
fo:block font-size=18pt text-align=center font-weight=bold
space-after=0.5cm
  xsl:apply-templates/
/fo:block
  /xsl:template
/xsl:stylesheet


-
FO

?xml version=1.0 encoding=UTF-8?
Banking on panic The historical record and a theoretical frame

-
Regards,
Ganesh


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



RE: XSLT from the Command Line in Java 5

2004-10-29 Thread Ganesh Babu Nallamothu, Integra-India



What 
is the error you are receiving.

Ganesh


  -Original Message-From: Chris Pratt 
  [mailto:[EMAIL PROTECTED]Sent: Friday, October 29, 2004 12:48 
  PMTo: [EMAIL PROTECTED]Subject: XSLT from the 
  Command Line in Java 5
  
  Ever since I installed JDK 1.5 I 
  havent been able to run the XSLT command line utility to check my FO. 
  Did something change? The command Im executing 
  is:
  
  java org.apache.xalan.xslt.Process 
  in xmlfile -xsl xslfile -out 
  fofile
  
  Thanks.
   
  (*Chris*)


TeX output in FOP

2004-09-28 Thread Ganesh Babu Nallamothu, Integra-India
Dear All,

In my project I have to display TeX, MathML and GIF output to PDF.

For MathML, I have taken new snap shot from apache site. and it is working
fine.
For GIF, Any how this is external image we can able to display.
For TeX, How we can display?

My idea is compile TeX and get DVI file using dvips convert into ps and then
include in the file. But the new build fop is stating error:

Could not find a set of breaking points. What is this error and how to
rectify this.


This is the lines from the -d option of FOP.


Building formatting object tree
Current heap size: 590Kb
Starting layout
null implementation of getWordSpaceIPD() called!
No set of breaking points found with maxAdjustment = 1.0
No set of breaking points found with maxAdjustment = 5.0
Could not find a set of breaking points



Regards,
Ganesh


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



RE: Building FOP

2004-09-24 Thread Ganesh Babu Nallamothu, Integra-India
Thank you very much Jeremias Maerki and John Farrow for you support. Now I
can able to get the mathml output through FOP


Ganesh


-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 4:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Building FOP


You have to make sure that the MathML extension from examples/mathml is
compiled and added to the classpath. Otherwise, the MathML namespace
will not be recognized and processed.

On 23.09.2004 01:12:55 Ganesh Babu Nallamothu, Integra-India wrote:
 Thank you very much. Now I have build the fop successfully. My main aim is
 to have MathML support in FOP. I have taken the mathml.fo from examples
 folder and executed the fop command. I got the following error message.
 Please help me in how to solve this problem and get the mathml output.

 fop mathml.fo mathml.pdf

 Unknown formatting object http://www.w3.org/1998/Math/MathML^math
snip/
 Exception
 org.apache.fop.apps.FOPException


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]



RE: problem in rendering PS image

2004-09-24 Thread Ganesh Babu Nallamothu, Integra-India
Hi,

any tools to convert ps/dvi to SVG?

Ganesh

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 4:54 PM
To: [EMAIL PROTECTED]
Subject: Re: problem in rendering PS image


That doesn't work like this. FOP provides limited support for EPS (not
PS!) images. An embedded EPS graphic will not show within Acrobat Reader
as Acrobat Reader doesn't contain a PostScript interpreter, neither does
FOP. Only if you print a PDF to a PostScript printer will an EPS graphic
embedded in a PDF be visible. Only GhostScript is able to display EPS
graphics in a PDF because it is a PostScript interpreter.

Note: Support for EPS graphics in PDF has been deprecated with the
latest specs.

Either you convert your PS file to EPS and live with the limitations
indicated above or you will have to use an entirely different image
format. SVG would be a good choice.

On 23.09.2004 01:12:56 Ganesh Babu Nallamothu, Integra-India wrote:
 I had ps image and it has to be inserted in the PDF which I am going to
 generate. I have used the following code to insert this graphic.

   fo:block
fo:external-graphic src=file:D:/xml-fop/gae.ps/
   /fo:block


 The result is, following error message. Please suggest me how to solve
this.
 I am attaching both fo and ps file.

 fop helloworld.fo helloworld.pdf
 Could not find a set of breaking points
 java.lang.OutOfMemoryError
 Exception in thread main


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]



RE: SPAM-LOW: Building FOP

2004-09-23 Thread Ganesh Babu Nallamothu, Integra-India
 the FOP build.bat file, remove the @echo off from the first
line.

Rerun the build.bat and you will see which command fails - this should tell
you what the problem is.

John Farrow

Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New
Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand
phone +64 4 479 1738 fax +64 4 479 1294 web http://www.xmlpdf.com
- Original Message -
From: Ganesh Babu Nallamothu, Integra-India
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 5:59 AM
Subject: SPAM-LOW: Building FOP


 Dear all,

 I am new to java and ant building. I am explaining the way I tried to
 build
 the FOP.

 1. OS -- Win 2000
 2. java version -- 1.4.2_05
 3. fop  version -- CVS snapshot xml-fop_20040921223357.tar.gz
 4. ant version -- 1.6.1

 5. extracted the ant zip file into  D:\apache-ant-1.6.1
 6. extracted the fop zip file into D:\xml-fop

 7. Added D:\apache-ant-1.6.1\bin and C:\j2sdk1.4.2_05\bin to system path

 8. Added D:\apache-ant-1.6.1 and C:\j2sdk1.4.2_05 to ant_home and
 java_home
 respectively in build.bat file

 Now I have executed the build.bat the result is The system can not find
 the
 path specified.

 Can you all let me know where I went wrong.

 Regards,
 Ganesh


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



problem in rendering PS image

2004-09-23 Thread Ganesh Babu Nallamothu, Integra-India
Dear All,

I had ps image and it has to be inserted in the PDF which I am going to
generate. I have used the following code to insert this graphic.

  fo:block
   fo:external-graphic src=file:D:/xml-fop/gae.ps/
  /fo:block


The result is, following error message. Please suggest me how to solve this.
I am attaching both fo and ps file.

fop helloworld.fo helloworld.pdf
Could not find a set of breaking points
java.lang.OutOfMemoryError
Exception in thread main

Thanks in advance.

Ganesh


gae.ps
Description: PostScript document
?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
  fo:layout-master-set
fo:simple-page-master master-name=simpleA4 page-height=29.7cm page-width=21cm margin-top=2cm margin-bottom=2cm margin-left=2cm margin-right=2cm
  fo:region-body/
/fo:simple-page-master
  /fo:layout-master-set
  fo:page-sequence master-reference=simpleA4
fo:flow flow-name=xsl-region-body
  fo:blockHello World!/fo:block
  fo:block
   fo:external-graphic src=file:D:/xml-fop/gae.ps/
  /fo:block
/fo:flow
  /fo:page-sequence
/fo:root

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

RE: Building FOP

2004-09-23 Thread Ganesh Babu Nallamothu, Integra-India
Dear Jeremias Maerki,

Thanks for pointing out where the error is. If my understanding is correct,
I have checked in the classes folder in the build folder. In that I can not
able to find MathML folder. fop.jar will contain only this folder.

I am seeing in each folder inside examples folder we are having one
build.xml file. Is it that we need to go into each folder and build. or main
build.xml will take care. If main will take care how to add the MathML
folder into the main.

Ganesh


-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 4:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Building FOP


You have to make sure that the MathML extension from examples/mathml is
compiled and added to the classpath. Otherwise, the MathML namespace
will not be recognized and processed.

On 23.09.2004 01:12:55 Ganesh Babu Nallamothu, Integra-India wrote:
 Thank you very much. Now I have build the fop successfully. My main aim is
 to have MathML support in FOP. I have taken the mathml.fo from examples
 folder and executed the fop command. I got the following error message.
 Please help me in how to solve this problem and get the mathml output.

 fop mathml.fo mathml.pdf

 Unknown formatting object http://www.w3.org/1998/Math/MathML^math
snip/
 Exception
 org.apache.fop.apps.FOPException


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]



RE: Building FOP

2004-09-23 Thread Ganesh Babu Nallamothu, Integra-India
I tried to build MathML. But it is asking jeuclid.jar file should be there
in the lib folder. I have searched in the I am having jeuclid.tar.gz but I
am not having jeuclid.jar. Can you please help me how to create the
jeuclid.jar from the gz file.



-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 9:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Building FOP


The two builds are not connected to each other. The build in
examples/mathml will create a file named mathml-fop.jar. After building
FOP itself, add the above JAR file to the classpath when running FOP.
The MathML extension is automatically detected during runtime by FOP (if
it's in the classpath).

On 23.09.2004 05:15:40 Ganesh Babu Nallamothu, Integra-India wrote:
 Thanks for pointing out where the error is. If my understanding is
correct,
 I have checked in the classes folder in the build folder. In that I can
not
 able to find MathML folder. fop.jar will contain only this folder.

 I am seeing in each folder inside examples folder we are having one
 build.xml file. Is it that we need to go into each folder and build. or
main
 build.xml will take care. If main will take care how to add the MathML
 folder into the main.


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]



Building FOP

2004-09-22 Thread Ganesh Babu Nallamothu, Integra-India
Dear all,

I am new to java and ant building. I am explaining the way I tried to build
the FOP.

1. OS -- Win 2000
2. java version -- 1.4.2_05
3. fop  version -- CVS snapshot xml-fop_20040921223357.tar.gz
4. ant version -- 1.6.1

5. extracted the ant zip file into  D:\apache-ant-1.6.1
6. extracted the fop zip file into D:\xml-fop

7. Added D:\apache-ant-1.6.1\bin and C:\j2sdk1.4.2_05\bin to system path

8. Added D:\apache-ant-1.6.1 and C:\j2sdk1.4.2_05 to ant_home and java_home
respectively in build.bat file

Now I have executed the build.bat the result is The system can not find the
path specified.

Can you all let me know where I went wrong.

Regards,
Ganesh


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



PDF type

2004-08-03 Thread Ganesh Babu Nallamothu, Integra-India
Dear All,

The PDF created from FOP is low-res pdf for high-res pdf?  What is
difference between these two?

Thanks and regards,
N. Ganesh Babu


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



RE: Simple q regarding breaks in XSL Fo

2004-08-02 Thread Ganesh Babu Nallamothu, Integra-India
Dear Raman,

Both the things will give the same output. But, if you are using table
format, you should not mention the border attribute to get this output.
Better you can use two fo:block element.

Regards,
Srinivasan


-Original Message-
From: Subbiah [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 01, 2004 8:05 AM
To: [EMAIL PROTECTED]
Subject: Simple q regarding breaks in XSL Fo


This is my day 2 at FOP , I am trying to make an XSL with the similar
output. I had a question regading breaks similar to br in HTML

Suppose I want the following output

John Doe
123 mary kay Street

1. Do I have to use 2 blocks to get the ouptut ?
  fo:blockJoghn Doe/fo:block
  fo:block123 mary kay st/fo:block

Or do I put it in a table as 2 rows .


advise

regards,
raman


-
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: Page Numbers

2004-08-02 Thread Ganesh Babu Nallamothu, Integra-India
Dear Raman,

Adding the total page count (so we can have 'Page 3 of 5') is a two step
process, based on the use of the 'id' attribute which uniquely identifies an
XML element.

We put a block on the last page with the id of 'last-page', and then we use
the page-number-citation element to get the number of that page as our total
number of pages. Typically the block with the id of 'last-page' is empty so
we can move it if required without disturbing the document text.

The XML for the last block in the document looks like this:

fo:block id='last-page'/

And the XML to retrieve the last page number and put it in the footer looks
like this:

fo:page-number-citation ref-id='last-page'/

You can see how the id and ref-id values match. This is how XSL-FO
associates the two elements and knows which block to retrieve the page
number from.

Find attached sample coding for to get the total page number.

?xml version='1.0' encoding='UTF-8'?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
   fo:layout-master-set
  fo:simple-page-master master-name=simple margin='2.5cm'
 fo:region-body margin=2.5cm margin-bottom='1cm'
region-name=body background-color='#ee'/
 fo:region-after extent='1cm' region-name=footer
background-color='#dd'/
 fo:region-start extent='2.5cm'/
 fo:region-end extent='2.5cm'/
  /fo:simple-page-master
   /fo:layout-master-set
   fo:page-sequence master-reference=simple
  fo:static-content flow-name=footer
  fo:block text-align='center'
  Page fo:page-number/
  of fo:page-number-citation ref-id='last-page'/
  /fo:block
  /fo:static-content
  fo:flow flow-name=body
 fo:blockHello World/fo:block
 fo:block id='last-page'/
  /fo:flow
   /fo:page-sequence
/fo:root


Regards,
Srinivasan

-Original Message-
From: Subbiah [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 01, 2004 8:06 AM
To: [EMAIL PROTECTED]
Subject: Page Numbers


I know how to get page numbers fo:page-numbers/

How to get pagenumbers in the format
Page 1 of 3

regards,
raman


-
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: Page Break ...

2004-08-02 Thread Ganesh Babu Nallamothu, Integra-India




Hi 
Varadha

Yes, this is possible. Try the 
following format. Whenever you want you can use this element.

fo:block 
break-after="page"/

Srinivasan

  -Original Message-From: Varadharajan Sethuraman 
  [mailto:[EMAIL PROTECTED]Sent: Monday, August 02, 2004 5:04 
  PMTo: FOP-USERSubject: Page Break 
  ...
  Hi,
  
  IS IT POSSIBLE TO CALL THE PAGE BREAK WHENEVER I WANT ?
  
  Actually I have three lines of character/word/ text to write into a pdf 
  document. 
  But the thngs is I have to first like of text in the First 
  Page, second line of text in the Second Page and 
  third line of text in the Third Page.
  
  I mean i have to enforce the page the break option when each like of text 
  written.
  
  ---Varadha
  
  __Do You 
  Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around 
  http://mail.yahoo.com 


RE: Bulleted list

2004-07-27 Thread Ganesh Babu Nallamothu, Integra-India



Please 
find fo codings of bulleted list.


A list is content divided into two 
columns, called the label and the body. A list is created with the list-block 
element. A list-block contains one or more list-item elements, each of which 
contains exactly one list-item-label element and one list-item-body 
element.

An example of a simple list is 
this:

fo:list-block margin-left='3cm' 
margin-right='3cm' provisional-distance-between-starts='0.5cm' 
provisional-label-separation='0.1cm'

fo:list-item

fo:list-item-label 
start-indent="5mm" 
end-indent='label-end()'fo:blockfo:inline#8226;/fo:inline/fo:block/fo:list-item-label

fo:list-item-body 
start-indent='body-start()'fo:blockthis is item 
one/fo:block/fo:list-item-body

/fo:list-item

fo:list-item

fo:list-item-label 
start-indent="5mm" 
end-indent='label-end()'fo:blockfo:inline#8226;/fo:inline/fo:block/fo:list-item-label

fo:list-item-body 
start-indent='body-start()'fo:blockthis is item 
two/fo:block/fo:list-item-body

/fo:list-item

/fo:list-block

Srinivasan


  -Original Message-From: Amita Rathore 
  [mailto:[EMAIL PROTECTED]Sent: Monday, July 26, 2004 6:41 
  PMTo: [EMAIL PROTECTED]Subject: Bulleted 
  listWhat code can I use 
  in xsl-fo to get a bullet similat to one generated by liul in 
  html ?


RE: command line problem

2004-07-26 Thread Ganesh Babu Nallamothu, Integra-India
Dear All,

There is another way of running this fop.

sh fop.sh will give the same result as ./fop.sh. Make sure that the fop.sh
is having executable permission to the user.

Ganesh


-Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 12:24 AM
To: [EMAIL PROTECTED]
Subject: Re: command line problem


On Jul 24, 2004, at 11:14 PM, Conor Quinn wrote:
 Hi all!  I'm quite new to FOP and have spent the day on this Mac OS
 10.3.4 researching madly and trying every possible installation
 combination I can think of for fop-0.20.5, but I must be missing
 something very very basic that none of the main sites feel the need to
 mention: since no matter what I do, the command line still spits back
 nothing but

-bash: fop: command not found

 in response to a standard

fop fonts.fo fonts.pdf

 test of the newly added directory and files.  Running fop.sh gets the
 whole set of usage scenarios and the expected no input specified
 complaint about lacking, but again, all I get is the above error
 message in response to the above command.  Can anyone give me a hint
 as to what presumably obvious error I am making?

 Many thanks!

As you guessed, I believe this has a simple solution. The bash
environment is not set up by default to run fop. Since it doesn't
'know' where the fop is, it will give you this error. In addition, you
failed to follow the USAGE:

   fop [options] [-fo|-xml] infile [-xsl file]
   [-awt|-pdf|-mif|-pcl|-ps|-txt|-svg|-at|-print] outfile

which translates to (using your example):

   fop.sh -fo fonts.fo -pdf fonts.pdf

In addition, to run FOP, You need to either specify the entire PATH to
fop.sh (on unix, which is essentially basis of Mac OS X), or the entire
PATH to fop.bat (under windows). Instead of what you have, try:

   /path/to/fop-0.20.5/fop.sh -fo /path/to/fonts.fo -pdf
/path/to/fonts.pdf

(NOTE: the above should be all on one line)

Also, you need to put the entire PATH to the INPUT and OUTPUT files. If
you're transforming XML and XSL files to output to a PDF file, each
needs the direct PATH:

   /path/to/fop-0.20.5/fop.sh -xml /path/to/input.xml -xsl
/path/to/input.xsl -pdf /path/to/fonts.pdf

(NOTE: the above should be all on one line)


In my case, since I have FOP installed here:

   /Users/Shared/_WebDLs/fop-0.20.5/

Since I don't have to put the PATH if I'm in this directory, I can
change to it:

   cd /Users/Shared/_WebDLs/fop-0.20.5/

and then run:

   ./fop.sh -fo examples/fo/basic/fonts.fo -pdf fonts.pdf

which will generate the fonts.pdf file in the
/Users/Shared/_WebDLs/fop-0.20.5/ directory.

There are many tricks you can do to make this process easier (i.e., add
'/Users/Shared/_WebDLs/fop-0.20.5/' to your PATH; create a symbolic
link from 'fop' to '/Users/Shared/_WebDLs/fop-0.20.5/fop.sh':

In any case, although this has a 'simple' solution, you've made it
clear that we need to update the 'Running FOP' page[1] to include
examples of running FOP under Unix and Windows.

Thank you for making this POST! I hope this helps!

Web Maestro Clay

[1]
http://xml.apache.org/fop/running.html

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]


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



RE: PDF output to editable document...

2004-07-14 Thread Ganesh Babu Nallamothu, Integra-India
Hi Chris,

Try these softwares. Abby fine reader is available as a trail version.


In order to convert the pdf which is extracted from fop we can use Omni Page
or Abbyy Fine Reader and among these two softwares Abbyy is the best.


-Original Message-
From: Christopher R Newman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 3:26 AM
To: fop-user
Subject: PDF output to editable document...


Anyone know of a free, but dependable program that can edit PDF output
from FOP (edit text, insert/delete objects, etc.)?   If not, how about
something that can convert it to an editable document (DOC, RTF...)?
 I've tried several programs, but most can't make a clean conversion or
edit text properly unless, of course, if they cost a lot of money.

Chris


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



Where FOP Cant be used?

2004-01-27 Thread Ganesh Babu Nallamothu, Integra
Dear All,

As all knows FOP is used for Financial typesetting and in some other areas.

Can any one specify where FOP cant be used?

thanks,
Ganesh.

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



Variable headers and footers

2004-01-23 Thread Ganesh Babu Nallamothu, Integra



Hai all,

I want to printheader and footer based 
on the chapter heading. The chapter heading will change from chapter to 
chapter. Any solutions are appreciable.

Regards,
N. Ganesh Babu
Asst. Manager
Technology and Engineering


Clear Day Bkgrd.JPG

Helvetica font Embedding problem

2004-01-19 Thread Ganesh Babu Nallamothu, Integra
Dear All,

We have created the font matrics file with PFMReader as mentioned in the
file. We have modified the conf/userconfig.xml  with the correct content the
snippet of the userconifg.xml is as follows:

font metrics-file=hv.xml kerning=yes
embed-file=H:\winnt\fonts\hv__.pfm
font-triplet name=Helvetica style=normal weight=normal/
/font

But the fop is showing error [ERROR] Failed to read font data for embedded
font: null

I am attaching the hv.xml file for your reference.

Please help me in this regard.

N. Ganesh Babu
Asst. Manager
Technology and Engineering
Clear Day Bkgrd.JPG?xml version=1.0 encoding=UTF-8?
font-metrics type=TYPE1font-nameHelvetica/font-nameembed/encodingWinAnsiEncoding/encodingcap-height718/cap-heightx-height523/x-heightascender718/ascenderdescender-207/descenderbboxleft-100/leftbottom-212/bottomright1025/righttop723/top/bboxflags6/flagsstemv115/stemvitalicangle0/italicanglefirst-char32/first-charlast-char255/last-charwidthschar idx=32 wdt=278/char idx=33 wdt=278/char idx=34 wdt=355/char idx=35 wdt=556/char idx=36 wdt=556/char idx=37 wdt=889/char idx=38 wdt=667/char idx=39 wdt=191/char idx=40 wdt=333/char idx=41 wdt=333/char idx=42 wdt=389/char idx=43 wdt=584/char idx=44 wdt=278/char idx=45 wdt=333/char idx=46 wdt=278/char idx=47 wdt=278/char idx=48 wdt=556/char idx=49 wdt=556/char idx=50 wdt=556/char idx=51 wdt=556/char idx=52 wdt=556/char idx=53 wdt=556/char idx=54 wdt=556/char idx=55 wdt=556/char idx=56 wdt=556/char idx=57 wdt=556/char idx=58 wdt=278/char idx=59 wdt=278/char idx=60 wdt=584/char idx=61 wdt=584/char idx=62 wdt=584/char idx=63 wdt=556/char idx=64 wdt=1015/char idx=65 wdt=667/char idx=66 wdt=667/char idx=67 wdt=722/char idx=68 wdt=722/char idx=69 wdt=667/char idx=70 wdt=611/char idx=71 wdt=778/char idx=72 wdt=722/char idx=73 wdt=278/char idx=74 wdt=500/char idx=75 wdt=667/char idx=76 wdt=556/char idx=77 wdt=833/char idx=78 wdt=722/char idx=79 wdt=778/char idx=80 wdt=667/char idx=81 wdt=778/char idx=82 wdt=722/char idx=83 wdt=667/char idx=84 wdt=611/char idx=85 wdt=722/char idx=86 wdt=667/char idx=87 wdt=944/char idx=88 wdt=667/char idx=89 wdt=667/char idx=90 wdt=611/char idx=91 wdt=278/char idx=92 wdt=278/char idx=93 wdt=278/char idx=94 wdt=469/char idx=95 wdt=556/char idx=96 wdt=333/char idx=97 wdt=556/char idx=98 wdt=556/char idx=99 wdt=500/char idx=100 wdt=556/char idx=101 wdt=556/char idx=102 wdt=278/char idx=103 wdt=556/char idx=104 wdt=556/char idx=105 wdt=222/char idx=106 wdt=222/char idx=107 wdt=500/char idx=108 wdt=222/char idx=109 wdt=833/char idx=110 wdt=556/char idx=111 wdt=556/char idx=112 wdt=556/char idx=113 wdt=556/char idx=114 wdt=333/char idx=115 wdt=500/char idx=116 wdt=278/char idx=117 wdt=556/char idx=118 wdt=500/char idx=119 wdt=722/char idx=120 wdt=500/char idx=121 wdt=500/char idx=122 wdt=500/char idx=123 wdt=334/char idx=124 wdt=260/char idx=125 wdt=334/char idx=126 wdt=584/char idx=127 wdt=350/char idx=128 wdt=350/char idx=129 wdt=350/char idx=130 wdt=222/char idx=131 wdt=556/char idx=132 wdt=333/char idx=133 wdt=1000/char idx=134 wdt=556/char idx=135 wdt=556/char idx=136 wdt=333/char idx=137 wdt=1000/char idx=138 wdt=667/char idx=139 wdt=333/char idx=140 wdt=1000/char idx=141 wdt=350/char idx=142 wdt=350/char idx=143 wdt=350/char idx=144 wdt=350/char idx=145 wdt=222/char idx=146 wdt=222/char idx=147 wdt=333/char idx=148 wdt=333/char idx=149 wdt=350/char idx=150 wdt=556/char idx=151 wdt=1000/char idx=152 wdt=333/char idx=153 wdt=1000/char idx=154 wdt=500/char idx=155 wdt=333/char idx=156 wdt=944/char idx=157 wdt=350/char idx=158 wdt=350/char idx=159 wdt=667/char idx=160 wdt=278/char idx=161 wdt=333/char idx=162 wdt=556/char idx=163 wdt=556/char idx=164 wdt=556/char idx=165 wdt=556/char idx=166 wdt=260/char idx=167 wdt=556/char idx=168 wdt=333/char idx=169 wdt=737/char idx=170 wdt=370/char idx=171 wdt=556/char idx=172 wdt=584/char idx=173 wdt=333/char idx=174 wdt=737/char idx=175 wdt=333/char idx=176 wdt=400/char idx=177 wdt=584/char idx=178 wdt=333/char idx=179 wdt=333/char idx=180 wdt=333/char idx=181 wdt=556/char idx=182 wdt=537/char idx=183 wdt=278/char idx=184 wdt=333/char idx=185 wdt=333/char idx=186 wdt=365/char idx=187 wdt=556/char idx=188 wdt=834/char idx=189 wdt=834/char idx=190 wdt=834/char idx=191 wdt=611/char idx=192 wdt=667/char idx=193 wdt=667/char idx=194 wdt=667/char idx=195 wdt=667/char idx=196 wdt=667/char idx=197 wdt=667/char idx=198 wdt=1000/char idx=199 wdt=722/char idx=200 wdt=667/char idx=201 wdt=667/char idx=202 wdt=667/char idx=203 wdt=667/char idx=204 wdt=278/char idx=205 wdt=278/char idx=206 wdt=278/char idx=207 wdt=278/char idx=208 wdt=722/char idx=209 wdt=722/char idx=210 wdt=778/char idx=211 wdt=778/char idx=212 wdt=778/char idx=213 wdt=778/char idx=214 wdt=778/char idx=215 wdt=584/char idx=216 wdt=778/char idx=217 wdt=722/char idx=218 wdt=722/char idx=219 wdt=722/char idx=220 wdt=722/char idx=221 wdt=667/char idx=222 wdt=667/char idx=223 wdt=611/char idx=224 wdt=556/char idx=225 wdt=556/char idx=226