AW: page-position=last - bug?

2003-04-09 Thread Müller, Markus
That's not a bug, it's an inimplemented feature.
FOP only supports page-positions first and rest, but not last, AFAIK.
Have a look in the mail-list archive, this topic was discussed a few times.

Markus

$ -Ursprüngliche Nachricht-
$ Von: Al-Dhahir, Haitham [mailto:[EMAIL PROTECTED] 
$ Gesendet: Mittwoch, 9. April 2003 16:54
$ An: '[EMAIL PROTECTED]'
$ Betreff: page-position=last - bug?
$ 
$ 
$ Hi,
$ 
$ Does FOP have a bug which prevents it from correctly processing
$ conditional-page-master-references with the condition 
$ page-position=last?
$ I have two conditional page masters defined as follows:
$ 
$ fo:page-sequence-master master-name=document-master
$  fo:repeatable-page-master-alternatives
$  fo:conditional-page-master-reference 
$ page-position=last
$ master-reference=lastpage/
$  fo:conditional-page-master-reference 
$ page-position=any
$ master-reference=otherpages/
$  /fo:repeatable-page-master-alternatives
$ /fo:page-sequence-master
$ 
$ So what I am expecting to happen is the the last page will follow the
$ simple-page-master lastpage and the other pages (first and 
$ rest) will
$ follow otherpages. What is actually happening is that all pages are
$ following lastpage, i.e. every page is assumed to be the last page.
$ Therefore the simple-page-master otherpages is totally ignored.
$ 
$ Can anyone explain why this is happening?
$ 
$ Thanks,
$ 
$ Haitham.
$ 
$ -
$ To unsubscribe, e-mail: [EMAIL PROTECTED]
$ For additional commands, email: [EMAIL PROTECTED]
$ 

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



AW: Embedding fonts!

2003-03-17 Thread Müller, Markus
Hi,

How did you create the font metrics files? Did you use the option -enc
ansi ?

Markus

$ -Ursprüngliche Nachricht-
$ Von: Uwe Klosa [mailto:[EMAIL PROTECTED] 
$ Gesendet: Montag, 17. März 2003 11:33
$ An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
$ Betreff: Embedding fonts!
$ 
$ 
$ Hi,
$ 
$ I'm using embedded fonts in fop. That is working fine. But 
$ if I want to edit
$ the resulting pdf files with Acrobat, the font names aren't 
$ correct in the
$ file. I'm getting 1Eec24TimesNewRoman or 2Ef1d7TimesNewRoman 
$ where it should
$ be TimesNewRoman. Why creates fop theses font names? Has 
$ anyone tried do
$ edit the resulting pdf files?
$ 
$ Regards Uwe
$ 
$ 
$ -
$ To unsubscribe, e-mail: [EMAIL PROTECTED]
$ For additional commands, email: [EMAIL PROTECTED]
$ 

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



AW: Novice: Seeking to control PDF properties using xsl:FO

2002-11-18 Thread Müller, Markus
If you want to use PDF-specific extensions, try with renderX - it supports
some special features like bookmarking, etc.
 
Markus

-Ursprüngliche Nachricht-
Von: Mike Connor [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 18. November 2002 20:01
An: [EMAIL PROTECTED]
Betreff: Novice: Seeking to control PDF properties using xsl:FO


Hey there,

 

I'm new to a lot of this stuff but gotta catch up quick if I would like to
continue eating, having a roof over my head etc :-).

 

I need to investigate what PDF properties can be controlled through FO
(Example:  Locking during saves, what can be config'd/edited, can I add
custom toolbars to PDF from FO?)  and I barely know where to start.  

Is it possible to have a PDF in a Web page and have a link for say printing
that would initiate a PDF print rather than a browser printer.

 

Any leads/pointers would be greatly appreciated.

 

Mike 

 

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




Problem reading userconfig.xml on UNIX

2002-11-11 Thread Müller, Markus
Hi there,

I have trouble using the userconfig.xml on UNIX. FOP generates these
messages:
-- some lines omitted --
[DEBUG] OPTIONS
[DEBUG] user configuration file: /u/BSK27/fop0.20.4/conf/userconfig.xml
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[DEBUG] reading user configuration file
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[ERROR] Could not load user configuration file
/u/BSK27/fop0.20.4/conf/userconfig.xml - error: Content is not allowed in
prolog.
[ERROR] using default values
-- snip --

Who has problems with my config file? SAX2? FOP? What's wrong? The
userconfig.xml looks like this (and works fine on Windows):

-- begin --
!--!DOCTYPE configuration SYSTEM config.dtd--
!-- 
 this file contains templates which allow an user easy 
 configuration of Fop. Actually normally you don't need this
configuration 
 file, but if you need to change configuration, you should
 always use this file and *not* config.xml. 
 Usage: java org.apache.fop.apps.Fop -c userconfig.xml -fo fo-file -pdf
pdf-file
--
-- ... --

Suggestions welcome...

Markus

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