Dirk Bromberg | 1 Apr 2006 09:21
Picon

Re: creating SVG from MathML

J.Pietschmann wrote:
> cknell <at> onebox.com wrote:
>> Since MathML is XML and SVG is XML, the natural way to convert one to
>> another, as I see it, is with with XSLT.
>
> Well, converting the structure of a mathematical expression, which
> is what MathML represents, into a 2D image involves some tricky
> computations. I'd expect an XSLT program for this task to be rather
> messy. JEuclid is a better choice.
Yes, that's the reason i was searching for some already existing... :-)

Dirk

>
> J.Pietschmann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe <at> xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help <at> xmlgraphics.apache.org
>
Robert Leif | 1 Apr 2006 17:37

RE: creating SVG from MathML

The rendering of MathML should have been based on SVG. W3C seems to have a
hard time coordinating its standards development.
Bob Leif

-----Original Message-----
From: Dirk Bromberg [mailto:dirk <at> familie-bromberg.de] 
Sent: Friday, March 31, 2006 11:21 PM
To: fop-users <at> xmlgraphics.apache.org
Subject: Re: creating SVG from MathML

J.Pietschmann wrote:
> cknell <at> onebox.com wrote:
>> Since MathML is XML and SVG is XML, the natural way to convert one to
>> another, as I see it, is with with XSLT.
>
> Well, converting the structure of a mathematical expression, which
> is what MathML represents, into a 2D image involves some tricky
> computations. I'd expect an XSLT program for this task to be rather
> messy. JEuclid is a better choice.
Yes, that's the reason i was searching for some already existing... :-)

Dirk

>
> J.Pietschmann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe <at> xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help <at> xmlgraphics.apache.org
>
(Continue reading)

Chris Bowditch | 3 Apr 2006 10:46
Picon
Favicon

Re: Page footnote prints on

Noll, Jeffrey T HS wrote:

> Sorry, my bad in what is actually happening.
> 
> The problem is occuring when the table that makes up the body + the footer
> is larger than body size. Rather an a new page with just footnote it seems
> to just ignore the footnote all together. Any ideas?
>  
> At least I think this is what is happening.

You don't say which FOP version you are using.

Chris
Steinar Bang | 3 Apr 2006 21:29
Picon
Picon
Favicon

Allow commenting in Adobe reader

Platform: Ubuntu 5.10, FOP 0.91beta, Adobe reader 7.0

I'm using xsltproc and FOP to create PDF from DocBook XML.

I would like the PDF to be commentable in Adobe reader, ie. allow
Adobe reader users to add highlights and notes to the PDF document.

Is there any way to do this with FOP?  Some hidden option or setting I
could use?

Using FOP out of the box the comment tools don't seem to be available,
at least...?

Thanx!

- Steinar
Jeremias Maerki | 4 Apr 2006 08:56
Picon
Gravatar

Re: Allow commenting in Adobe reader

As far as I know Acrobat Reader does not allow highlighting and adding
notes. You need at least Acrobat Standard for that:
http://www.adobe.com/products/acrobat/matrix.html

By default, FOP does not prohibit annotation for the PDF it creates.
Only if you encrypt the PDF and set the right switches will this
functionality be disabled.

On 03.04.2006 21:29:16 Steinar Bang wrote:
> Platform: Ubuntu 5.10, FOP 0.91beta, Adobe reader 7.0
> 
> I'm using xsltproc and FOP to create PDF from DocBook XML.
> 
> I would like the PDF to be commentable in Adobe reader, ie. allow
> Adobe reader users to add highlights and notes to the PDF document.
> 
> Is there any way to do this with FOP?  Some hidden option or setting I
> could use?
> 
> Using FOP out of the box the comment tools don't seem to be available,
> at least...?
> 
> Thanx!

Jeremias Maerki
Jeremias Maerki | 4 Apr 2006 09:07
Picon
Gravatar

Re: Underlining using FOP

(Answering to fop-users <at> xmlgraphics.apache.org which is the right place
to send questions like this to. Please continue this thread there)

I've tried to reproduce this in FOP 0.20.5 and 0.91beta (you didn't tell
us the version you use), but I don't see the effect you describe in
either version. Are you using a non-standard font? Are there any
inherited properties set on parent elements which are propagated into
this fo:block? It would be good if you could provide a short FO-File
(not a stylesheet) that shows the problem, maybe accompanied with a
screen shot and the note which viewer you use to display the PDF. If you
print the PDF do you get gaps, too?

On 04.04.2006 01:30:51 Leung, Koby wrote:
> Hey folks,
> 
> 	Hopefully I've the correct list. I'm attempting to use FOP to
> generate a PDF with some underlined text, and was having some trouble.
> Here's the snippet of code I'm using:
> 
> <fo:block text-align="center" text-decoration="underline"
> font-weight="bold" space-before='24pt' font-size="14pt">
>   Here is my text, plus I've got some <xsl:value-of select="mySelect">
> blocks too.
> </fo:block>
> 
> The problem is, the underlines are coming through, but are showing
> little gaps between each word and each space.
> 
> So I get __ ___ like underlining, where I'd like a solid line.
> 
(Continue reading)

Darko Gulija | 4 Apr 2006 09:14
Picon

Using Central European characters

We need to include CE characters in PDF output generated by FOP, but are faced 
with the problem that:
- when using Base-14 fonts, Acrobat Reader does not display CE characters (we 
tried to put them using utf-8, windows-1250 and iso-8859-2 encoding, none of 
them worked)
- when embedding the font in the FOP, characters are displayed correctly, but 
copy/paste from the PDF does not work (at all).

As a news agency, we have strong need that generated PDF is both displayed 
correctly and that users are able to copy the content to another application.

Does the current state of FOP allows that (either 0.20 or 0.91) ?

I know that it is still an open issue in general, but is there some 
workarround ?

Thanks, 
Darko.Gulija <at> hina.hr
IT Manager / Voditelj informatike
tel:  +385 1 48 08 800
fax:  +385 1 48 08 820
Croatian News Agency (HINA)    
http://www.hina.hr
jelka.kosir | 4 Apr 2006 09:38
Picon

Re: Using Central European characters


Darko

As far as I know even latest development code (trunk) does not display fonts correctly if you try to support iso-8859-2 encoding.

You can read about this here:
http://xmlgraphics.apache.org/fop/trunk/fonts.html#truetype-metrics

CID-keyed: Character Display: Correct, but copy/paste won't work in Acrobat Reader. (FOP currently doesn't emit the /ToUnicode table which is necessary for copy/paste to work.)

Jelka



Darko Gulija <Darko.Gulija <at> hina.hr>
Sent by: news <news <at> sea.gmane.org>

04.04.2006 09:14

Please respond to
fop-users <at> xmlgraphics.apache.org

To
fop-users <at> xmlgraphics.apache.org
cc
Subject
Using Central European characters





We need to include CE characters in PDF output generated by FOP, but are faced
with the problem that:
- when using Base-14 fonts, Acrobat Reader does not display CE characters (we
tried to put them using utf-8, windows-1250 and iso-8859-2 encoding, none of
them worked)
- when embedding the font in the FOP, characters are displayed correctly, but
copy/paste from the PDF does not work (at all).

As a news agency, we have strong need that generated PDF is both displayed
correctly and that users are able to copy the content to another application.

Does the current state of FOP allows that (either 0.20 or 0.91) ?

I know that it is still an open issue in general, but is there some
workarround ?

Thanks,
Darko.Gulija <at> hina.hr
IT Manager / Voditelj informatike
tel:  +385 1 48 08 800
fax:  +385 1 48 08 820
Croatian News Agency (HINA)    
http://www.hina.hr



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe <at> xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help <at> xmlgraphics.apache.org


news | 4 Apr 2006 10:00
Picon

text-align within fo:inlne

Hello List,
 
is it possible to align text with in a "fo:inline"?
Example:
<fo:block text-align="left">
  <fo:block>line1</fo:block>
  <fo:block>line3</fo:block>
  <fo:inline text-align="right">line3</fo:inline>
  <fo:inline text-align="right">line4</fo:inline>
</fo:block text-align="left">
 
In this example I want to have line 1& line 2 left aligned in different rows . But Line 3 & Line 4 right aligned together in one row.
How is this possible - if it is?
 
best regards & thanks!
 
 
 
Chris Bowditch | 4 Apr 2006 10:23
Picon
Favicon

Re: text-align within fo:inlne

news <at> swisslab.de wrote:

> Hello List,
>  
> is it possible to align text with in a "fo:inline"?

No.

> Example:
> <fo:block text-align="left">
>   <fo:block>line1</fo:block>
>   <fo:block>line3</fo:block>
>   <fo:inline text-align="right">line3</fo:inline>
>   <fo:inline text-align="right">line4</fo:inline>
> </fo:block text-align="left">
>  
> In this example I want to have line 1& line 2 left aligned in different 
> rows . But Line 3 & Line 4 right aligned together in one row.

If the text in the inline is meant to represent a line then you should 
use a block as a container for the text.

> How is this possible - if it is?

If you use fo:block instead of fo:inline then you can align each block 
differently.

Chris

Gmane