JEuclid and FOP

2010-10-31 Thread SriKrishnan
Hi all,

 

Can anybody provide me a step-by-step installation procedure document of
Jeuclid plugin in FOP? As I am new to FOP and java, I don't know how to
solve this problem.

 

Because I have downloaded and copied the following files:

 

jeuclid-core-3.1.9.jar

jeuclid-fop-3.1.9.jar

 

in my C:\fop-0.95\examples\mathml\lib  folder (as per mentioned int the
readme.txt file residing inside that folder)

 

also as per the below instruction in the readme.fop file which available
inside the jeuclid-3.1.9-distribution.zip,

 

 ---

  JEuclid FOP plug-in

  ---



Installation

 

* Pre-requesites

 

  The JEuclid FOP plug-in is tightly integrated with FOP development, it
will

  therefore only work with specific versions of FOP. For this version you
need:

  

  * FOP 0.95beta or 0.95

 

* Actual installation

 

  Copy the these files into your fop's lib/ directory

 

  * jeuclid-core-x.x.x.jar 

  

  * jeuclid-fop-x.x.x.jar

  

  []

 

  If you have downloaded the full JEuclid distribution, these files can be
found in the 

  repo/ sub-directory.

 

That's it! Enjoy MathML support in FOP.

 

I have copied the two files inside the following folder C:\fop-0.95\lib

 

Eventhough I encountered the same error as follows:

 

C:\fop-0.95\examples\mathml\docsfop mathml.fo mathml.pdf

Oct 31, 2010 2:07:07 PM org.apache.fop.fo.ElementMappingRegistry findFOMaker

WARNING: Unknown formatting object http://www.w3.org/1998/Math/MathML^math
http://www.w3.org/1998/Math/MathML%5emath 

 

Can anybody help me to fix this issue?

 

FYI:

 

MY OS: Windows xp professional

My FOP Version: 0.95

 

Thanks,

Srikrishnan



RE: How to load tiff images successfully in PDF

2010-10-31 Thread SriKrishnan
Hi,

 

Thanks for your support.

 

When I convert my fo using fop, the following warnings only appears:

 

Oct 31, 2010 12:35:11 PM org.apache.fop.fonts.FontInfo notifyFontReplacement

WARNING: Font 'Symbol,normal,700' not found. Substituting with
'Symbol,normal,400'.

Oct 31, 2010 12:35:11 PM org.apache.fop.hyphenation.Hyphenator
getHyphenationTree

SEVERE: Couldn't find hyphenation pattern en

Oct 31, 2010 12:35:11 PM
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
updateData2

WARNING: Line 1 of a paragraph overflows the available area by 38160mpt.
(fo:block, location: 1845/59)

 

But the pdf size seems that it loads all tif images into it

 

My gif loaded pdf size is 18,741KB

My tif loaded pdf size is 22,242 KB

 

FYI: I have converted the same tif files as gif files, those gif works
correctly with my fop

 

Thanks,

Srikrishnan

 

  _  

From: SriKrishnan [mailto:srikrish...@techset.co.uk] 
Sent: Saturday, October 30, 2010 10:54 AM
To: 'fop-users@xmlgraphics.apache.org'
Subject: RE: How to load tiff images successfully in PDF

 

Hi,

 

Sorry I forgot to mention one more thing:

 

My tiff images are not corrupted those are embedded correctly in the pdf
when I use them through InDesign or Quark or LaTeX

 

Thanks,

Srikrishnan 

 

  _  

From: SriKrishnan [mailto:srikrish...@techset.co.uk] 
Sent: Saturday, October 30, 2010 10:24 AM
To: 'fop-users@xmlgraphics.apache.org'
Subject: RE: How to load tiff images successfully in PDF
Importance: High

 

Hi,

 

May be it is a stupid question for you.

 

As I said clearly in my mail, I am new to FOP. I don't found any proper user
friendly Documentation for FOP. So I am in a confusion whether I missed
something or anything not supported by FOP. If you people like experts in
all these things need any further details if you ask me, certainly it is my
duty to furnish those details. 

 

My system and software details:

 

OS: Windows XP professional

FOP: version 0.95

Saxon: version 8

 

I have tried to open the pdf in two version of Acrobat

 

In version 9, it popup the error message as mentioned in my earlier mail
(with empty space for the image places).

In version 6, it popup the error message as Colour space (with empty space
for the image places)

In GSVIEW, without showing any error message it opens the pdf  (with empty
space for the image places)

 

If you are not interested to answer such a stupid questions, don't reply.
Such kind of replies will discourage new users

 

Regards,

Srikrishnan

 

 

 

  _  

From: SriKrishnan [mailto:srikrish...@techset.co.uk] 
Sent: Friday, October 29, 2010 3:02 PM
To: 'fop-users@xmlgraphics.apache.org'
Subject: How to load tiff images successfully in PDF

 

Hi all,

 

I am new to fop. I have successfully converted fo to pdf when gif images are
loaded in the file. When came to tif images, pdf creates successfully, but
when I scroll to the image page in Adobe Acrobat, the following error
message popup:

 

An error exists on this page. Acrobat may not display the page correctly.
Please contact the person who created the PDF document to correct the
problem

 

My fo coding is as follows:

 

fo:external-graphic src=url(file:/c:/sample/lhp01301.tif) width=auto
height=auto content-width=auto content-height=auto/

 

But in the same above coding when I use gif image it works correctly. Any
help would be very much useful.

 

Thanks in Advance,

Srikrishnan