You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Stephan Wiesner <st...@stephan-wiesner.de> on 2003/01/10 15:04:50 UTC
FOP 25RC: Double Sided Layout
Hi list, when will the final version 25 be released and will it have
better support for double sided layout?
I am working with DocBook and double sided layout does work, but only if
I don't use extensions, to create a PDF with bookmarks.
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP logger plea for help :-)
Posted by Jeremias Maerki <de...@greenmail.ch>.
On 10.01.2003 19:45:28 Clay Leeds wrote:
> I'd be interested in helping where I could, but I'd have to get the
> go-ahead from my employer. If you could give me an idea of areas where I
> might be able to help, I might be able to present it to my employer. As for
> my talents, I'm more of a web developer than a programmer, so Java is
> pretty much out. However, I could certainly create/test files, do testing,
> improve documentation formatting, proofing, etc. Having been a teacher in a
> former life, I could also help with tutorials! :-)
That would be great! We can use all the help we can get. Even answering questions
on fop-user is a big help for us because we can concentrate more on code.
The problem we're facing as volunteers is the fact that after you're
done with the mailing list you've already used up most of your free time
and then there's not much time left to actually get something done.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP logger plea for help :-)
Posted by Jeremias Maerki <de...@greenmail.ch>.
Yes, the redesign is open to the public. This is OpenSource after all.
:-) Everyone is invited to participate. The mailing list is fop-dev (FOP
Developer Mailing List). See here:
http://xml.apache.org/fop/resources.html
The features you describe are planned to be supported, since we're
aiming for the complete set of features defined by the basic conformance
level for XSL:FO in FOP 1.0.
On 10.01.2003 19:40:05 Steve Homer wrote:
> Quick question regarding the redesign, is this happening in public (ie
> on a mailing list somewhere?) and will the redesign support features
> such as wrapping text round images / floating regions (which I was told
> is not currently supported.)
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP logger plea for help :-)
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Clay Leeds wrote:
> If you could give me an idea of areas where I
> might be able to help, I might be able to present it to my employer. As
> for my talents, I'm more of a web developer than a programmer, so Java
> is pretty much out.
There is more than enough to do for everyone: improving examples, the
documentation, provide illustrations, qualified first-level help on the
user list, run checkstyle and squish style errors and run regression
tests.
A tutorial would be great, both for XSLFO in general and runnning and
configuring FOP in particular.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP logger plea for help :-)
Posted by Clay Leeds <cl...@medata.com>.
Jeremias,
At 10:34 AM 1/10/2003, you wrote:
>On 10.01.2003 19:11:02 Clay Leeds wrote:
> > FWIW, I've tried 0.20.5rc and have found the output almost identical with
> > the current version. One exception is that it seems to run about 30%-40%
> > faster now (!):
>
>*GRIN* Thanks especially to Henrik Olson for that one!
FWIW, I meant to indicate to all, that my 40% speed improvement claim was
anything but objective, and was based on a single test of a 4-page file
(although subsequent tests have continued to confirm this).
>By the way, we're always looking for helping hands! (That's our plea. :-)
>
>Jeremias Maerki
I'd be interested in helping where I could, but I'd have to get the
go-ahead from my employer. If you could give me an idea of areas where I
might be able to help, I might be able to present it to my employer. As for
my talents, I'm more of a web developer than a programmer, so Java is
pretty much out. However, I could certainly create/test files, do testing,
improve documentation formatting, proofing, etc. Having been a teacher in a
former life, I could also help with tutorials! :-)
- Clay Leeds
- Web Developer
- cleeds@medata.com
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: FOP logger plea for help :-)
Posted by Steve Homer <st...@ntlworld.com>.
Quick question regarding the redesign, is this happening in public (ie
on a mailing list somewhere?) and will the redesign support features
such as wrapping text round images / floating regions (which I was told
is not currently supported.)
Thanks,
Steve
-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 10 January 2003 18:35
To: fop-user@xml.apache.org
Subject: Re: FOP logger plea for help :-)
On 10.01.2003 19:11:02 Clay Leeds wrote:
> At 09:51 AM 1/10/2003, you wrote:
> >You're running FOP from the command line, so you won't have any
> >chance to influence the setting of the logger yourself. You can only
> >use the -d option to set the logger to DEBUG level. But what you see
> >here is probably a bug in 0.20.4. Have you tried 0.20.5rc already?
>
> Actually, I'm not currently having a problem. I copied cmd line output
> from
> my last successful run of FOP. That was merely one of the lines output
when
> I executed the -d option in the command line.
>
> So, are you saying that since I'm running from the command line, I
> can't
> set up the logger? Does the logger show anything different from what I
get
> with -d?
Yes, you can only tell the logger to output more (DEBUG level with -d,
INFO level without). All output is sent to standard out.
Setting a logger (when calling FOP from Java) would enable you to have a
much finer control over logging. You could have the logger send all
messages to a remote log service for example. But you need some Java
knowledge.
> FWIW, I've tried 0.20.5rc and have found the output almost identical
> with
> the current version. One exception is that it seems to run about
30%-40%
> faster now (!):
*GRIN* Thanks especially to Henrik Olson for that one!
<snip/>
> It's interesting to note that 0.20.5rc requires more "Initial" &
> "Current"
> heap size, but used less memory. It also appears to shave off 1260ms
(40%
> savings!). Keeping in mind that this is a Release Candidate and that
things
> could change (not to mention release date! :-), but this certainly
bodes
> well...
Not likely.
> Other than speed, I haven't noticed any changes since the previous
> version
> personally (what do you guys do with all of your time anyway? :-).
> Seriously, though, I've been using only JPG & GIF files, so I haven't
> needed the functionality of JAI & JIMI yet. I'm also looking forward
to
> ENCRYPTION options.
>
> BTW, I noticed this in the Release Notes:
>
> This is the last planed release in the 0.20.x series (aka maintenance
> branch).
>
> Does this mean the next version(s) will move to 0.30.x?
No. Next version will most probably be a FOP 1.0DR (Developer's release,
alpha quality). We're currently redesigning FOP as you might have
noticed on the website. But it'll be some time (months) until then. By
the way, we're always looking for helping hands! (That's our plea. :-)
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP logger plea for help :-)
Posted by Jeremias Maerki <de...@greenmail.ch>.
On 10.01.2003 19:11:02 Clay Leeds wrote:
> At 09:51 AM 1/10/2003, you wrote:
> >You're running FOP from the command line, so you won't have any chance
> >to influence the setting of the logger yourself. You can only use the -d
> >option to set the logger to DEBUG level. But what you see here is
> >probably a bug in 0.20.4. Have you tried 0.20.5rc already?
>
> Actually, I'm not currently having a problem. I copied cmd line output from
> my last successful run of FOP. That was merely one of the lines output when
> I executed the -d option in the command line.
>
> So, are you saying that since I'm running from the command line, I can't
> set up the logger? Does the logger show anything different from what I get
> with -d?
Yes, you can only tell the logger to output more (DEBUG level with -d,
INFO level without). All output is sent to standard out.
Setting a logger (when calling FOP from Java) would enable you to have a
much finer control over logging. You could have the logger send all
messages to a remote log service for example. But you need some Java
knowledge.
> FWIW, I've tried 0.20.5rc and have found the output almost identical with
> the current version. One exception is that it seems to run about 30%-40%
> faster now (!):
*GRIN* Thanks especially to Henrik Olson for that one!
<snip/>
> It's interesting to note that 0.20.5rc requires more "Initial" & "Current"
> heap size, but used less memory. It also appears to shave off 1260ms (40%
> savings!). Keeping in mind that this is a Release Candidate and that things
> could change (not to mention release date! :-), but this certainly bodes
> well...
Not likely.
> Other than speed, I haven't noticed any changes since the previous version
> personally (what do you guys do with all of your time anyway? :-).
> Seriously, though, I've been using only JPG & GIF files, so I haven't
> needed the functionality of JAI & JIMI yet. I'm also looking forward to
> ENCRYPTION options.
>
> BTW, I noticed this in the Release Notes:
>
> This is the last planed release in the 0.20.x series (aka maintenance branch).
>
> Does this mean the next version(s) will move to 0.30.x?
No. Next version will most probably be a FOP 1.0DR (Developer's release,
alpha quality). We're currently redesigning FOP as you might have
noticed on the website. But it'll be some time (months) until then. By
the way, we're always looking for helping hands! (That's our plea. :-)
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP logger plea for help :-)
Posted by Clay Leeds <cl...@medata.com>.
Jeremias,
At 09:51 AM 1/10/2003, you wrote:
>You're running FOP from the command line, so you won't have any chance
>to influence the setting of the logger yourself. You can only use the -d
>option to set the logger to DEBUG level. But what you see here is
>probably a bug in 0.20.4. Have you tried 0.20.5rc already?
Actually, I'm not currently having a problem. I copied cmd line output from
my last successful run of FOP. That was merely one of the lines output when
I executed the -d option in the command line.
So, are you saying that since I'm running from the command line, I can't
set up the logger? Does the logger show anything different from what I get
with -d?
FWIW, I've tried 0.20.5rc and have found the output almost identical with
the current version. One exception is that it seems to run about 30%-40%
faster now (!):
** FOP-0.20.5rc **
[DEBUG] Initial heap size: 2678Kb
[DEBUG] Current heap size: 6424Kb
[DEBUG] Total memory used: 3745Kb
[DEBUG] Memory use is indicative; no GC was performed
[DEBUG] These figures should not be used comparatively
[DEBUG] Total time used: 7431ms
[DEBUG] Pages rendered: 4
[DEBUG] Avg render time: 1857ms/page
** FOP-0.20.4 **
[DEBUG] Initial heap size: 1909Kb
[DEBUG] Current heap size: 6033Kb
[DEBUG] Total memory used: 4124Kb
[DEBUG] Memory use is indicative; no GC was performed
[DEBUG] These figures should not be used comparatively
[DEBUG] Total time used: 12468ms
[DEBUG] Pages rendered: 4
[DEBUG] Avg render time: 3117ms/page
It's interesting to note that 0.20.5rc requires more "Initial" & "Current"
heap size, but used less memory. It also appears to shave off 1260ms (40%
savings!). Keeping in mind that this is a Release Candidate and that things
could change (not to mention release date! :-), but this certainly bodes
well...
Other than speed, I haven't noticed any changes since the previous version
personally (what do you guys do with all of your time anyway? :-).
Seriously, though, I've been using only JPG & GIF files, so I haven't
needed the functionality of JAI & JIMI yet. I'm also looking forward to
ENCRYPTION options.
BTW, I noticed this in the Release Notes:
This is the last planed release in the 0.20.x series (aka maintenance branch).
Does this mean the next version(s) will move to 0.30.x?
:-)
>On 10.01.2003 18:43:02 Clay Leeds wrote:
> > Howdy,
> >
> > This question isn't specifically aimed at Jeremias, although he made
> > reference to the logger, which prompted this question:
> >
> > Is there some sort of newbie tutorial where I could learn how to enable
> the
> > logger on Windows, RedHat Linux and/or AIX? I've spent many a moment
> trying
> > to figure out how to use the logger, but to no avail. I run Windows 2000
> > Pro, Linux RedHat & AIX (I'm just a user of the UNIX/Linux boxes, and not
> > administrator, but I can have admins install/configure stuff for me).
> >
> > I've seen logger net set errors every time I run FOP from the command line
> > in Windows:
> > [ERROR] FOP 0.20.4
> > [DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
> > [ERROR] Logger not set
> >
> > I think I could learn a lot about the FOP process if I could see a log.
>
>Jeremias Maerki
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
>For additional commands, e-mail: fop-user-help@xml.apache.org
- Clay Leeds
- Web Developer
- cleeds@medata.com
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP logger plea for help :-)
Posted by Jeremias Maerki <de...@greenmail.ch>.
You're running FOP from the command line, so you won't have any chance
to influence the setting of the logger yourself. You can only use the -d
option to set the logger to DEBUG level. But what you see here is
probably a bug in 0.20.4. Have you tried 0.20.5rc already?
On 10.01.2003 18:43:02 Clay Leeds wrote:
> Howdy,
>
> This question isn't specifically aimed at Jeremias, although he made
> reference to the logger, which prompted this question:
>
> Is there some sort of newbie tutorial where I could learn how to enable the
> logger on Windows, RedHat Linux and/or AIX? I've spent many a moment trying
> to figure out how to use the logger, but to no avail. I run Windows 2000
> Pro, Linux RedHat & AIX (I'm just a user of the UNIX/Linux boxes, and not
> administrator, but I can have admins install/configure stuff for me).
>
> I've seen logger net set errors every time I run FOP from the command line
> in Windows:
> [ERROR] FOP 0.20.4
> [DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
> [ERROR] Logger not set
>
> I think I could learn a lot about the FOP process if I could see a log.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout
Posted by Oleg Tkachenko <ol...@multiconn.com>.
Jeremias Maerki wrote:
> Right, but FOP shouldn't crash.
You rock ;)
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout
Posted by Jeremias Maerki <de...@greenmail.ch>.
Right, but FOP shouldn't crash.
I've changed the Label class, but not exactly like Stephan proposed. I
tried to avoid the creation of the StringBuffer entirely. The less
objects are created the better. I've looked at the code in the PDF
library and it looks like a null value should be handled gracefully. But
I haven't test it. Stephan, it would be cool if you could download FOP
from CVS an check if the problem disappears this way, too. Thanks a lot.
On 11.01.2003 19:47:47 Oleg Tkachenko wrote:
> Stephan Wiesner wrote:
>
> > java.lang.NullPointerException
> > at org.apache.fop.extensions.Label.toString(Label.java:44)
> > at
> > org.apache.fop.render.pdf.PDFRenderer.renderOutline(PDFRenderer.java:
> > 938)
>
> Looks like you have empty bookmark label. It's not supported. Place
> something there.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout
Posted by Oleg Tkachenko <ol...@multiconn.com>.
Stephan Wiesner wrote:
> java.lang.NullPointerException
> at org.apache.fop.extensions.Label.toString(Label.java:44)
> at
> org.apache.fop.render.pdf.PDFRenderer.renderOutline(PDFRenderer.java:
> 938)
Looks like you have empty bookmark label. It's not supported. Place
something there.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout (Solution)
Posted by Stephan Wiesner <st...@stephan-wiesner.de>.
Looking at the error message, I went through the source code and tracked
the error down.
The class org.apache.fop.Label has to be adapted:
private StringBuffer textBuffer = new StringBuffer();
instead of
private StringBuffer textBuffer;
The class does check for null, but only if a text is appended.
The transformations do work now.
Stephan
Stephan Wiesner wrote:
> Good morning Jeremias,
> one more thing, the transformation with bookmarks and double sided does
> work for some (small) documents, but not for one of my real documents
> (all with more than 50 pages). I have made a zip (1.3 MB) availabel with
> one such document:
> http://digipub.fhnon.de/~swiesner/dokbook.zip
>
>
> Here is the full error message:
>
> [INFO] [50 (blank)]
> [INFO] [51]
> [DEBUG] Last page-sequence produced 1 pages.
> [INFO] Parsing of document complete, stopping renderer
> [ERROR] null
> org.apache.fop.apps.FOPException
> at
> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:74
> )
> at org.apache.fop.apps.Fop.main(Fop.java:19)
>
> ---------
>
> java.lang.NullPointerException
> at org.apache.fop.extensions.Label.toString(Label.java:44)
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout
Posted by Stephan Wiesner <st...@stephan-wiesner.de>.
Good morning Jeremias,
one more thing, the transformation with bookmarks and double sided does
work for some (small) documents, but not for one of my real documents
(all with more than 50 pages). I have made a zip (1.3 MB) availabel with
one such document:
http://digipub.fhnon.de/~swiesner/dokbook.zip
Here is the full error message:
[INFO] [50 (blank)]
[INFO] [51]
[DEBUG] Last page-sequence produced 1 pages.
[INFO] Parsing of document complete, stopping renderer
[ERROR] null
org.apache.fop.apps.FOPException
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:74
)
at org.apache.fop.apps.Fop.main(Fop.java:19)
---------
java.lang.NullPointerException
at org.apache.fop.extensions.Label.toString(Label.java:44)
at
org.apache.fop.render.pdf.PDFRenderer.renderOutline(PDFRenderer.java:
938)
at
org.apache.fop.render.pdf.PDFRenderer.renderOutline(PDFRenderer.java:
950)
at
org.apache.fop.render.pdf.PDFRenderer.renderRootExtensions(PDFRendere
r.java:917)
at
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:1
71)
at
org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:1
52)
at
org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:200)
at
org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Sourc
e)
at
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Sourc
e)
at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown
Source)
at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(Unknown So
urce)
at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(Unkn
own Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.
dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.apache.fop.apps.Driver.render(Driver.java:457)
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69
)
at org.apache.fop.apps.Fop.main(Fop.java:19)
---------
java.lang.NullPointerException
at org.apache.fop.extensions.Label.toString(Label.java:44)
at
org.apache.fop.render.pdf.PDFRenderer.renderOutline(PDFRenderer.java:
938)
at
org.apache.fop.render.pdf.PDFRenderer.renderOutline(PDFRenderer.java:
950)
at
org.apache.fop.render.pdf.PDFRenderer.renderRootExtensions(PDFRendere
r.java:917)
at
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:1
71)
at
org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:1
52)
at
org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:200)
at
org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Sourc
e)
at
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Sourc
e)
at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown
Source)
at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(Unknown So
urce)
at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(Unkn
own Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.
dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.apache.fop.apps.Driver.render(Driver.java:457)
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69
)
at org.apache.fop.apps.Fop.main(Fop.java:19)
e-novative DocBook: DocBuch.pdf created
C:\diploma\dokumentation\dokbook>
Jeremias Maerki wrote:
> Ok, still too little information. Are you sure that FOP and not the XSLT
> processor shows the error message? Could you try to enable debugging? I
> don't know how FOP is called in your environment. For the FOP command
> line this is -d. When embedded the logger must be set to DEBUG level.
> Could you then post the full error message together with the stacktrace
> and maybe some XML/XSL files nicely zipped up?
>
> Maybe someone with DocBook experience could check if this problem can be
> reproduced?
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout
Posted by Stephan Wiesner <st...@stephan-wiesner.de>.
Togan Muftuoglu wrote:
>
> do you mean fop.extensions=1 if so you need to say also use.extensions=1
>
Yep, I did that. Sorry, I described that one wrong. Those two belong
together for me.
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout
Posted by Togan Muftuoglu <to...@users.sourceforge.net>.
* Jeremias Maerki; <de...@greenmail.ch> on 10 Jan, 2003 wrote:
>
>On 10.01.2003 18:25:54 Stephan Wiesner wrote:
>> I use DocBook XSL styles, latest version 1.58.1. The PDF generation with
>> the default style works. I set two parameters, one to turn on double
>> sided layout (this alone works) and the genaration of the boomarks
>> (displayed in the Acrobat Reader on the left). The second option
>> terminates the transformation with a 'null'.
do you mean fop.extensions=1 if so you need to say also use.extensions=1
>
>Ok, still too little information. Are you sure that FOP and not the XSLT
>processor shows the error message? Could you try to enable debugging? I
>don't know how FOP is called in your environment. For the FOP command
>line this is -d. When embedded the logger must be set to DEBUG level.
>Could you then post the full error message together with the stacktrace
>and maybe some XML/XSL files nicely zipped up?
>
>Maybe someone with DocBook experience could check if this problem can be
>reproduced?
No it works for me both using 0.20.4 and 0.20.5rc from the CVS
--
Togan Muftuoglu
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
FOP logger plea for help :-)
Posted by Clay Leeds <cl...@medata.com>.
Howdy,
This question isn't specifically aimed at Jeremias, although he made
reference to the logger, which prompted this question:
Is there some sort of newbie tutorial where I could learn how to enable the
logger on Windows, RedHat Linux and/or AIX? I've spent many a moment trying
to figure out how to use the logger, but to no avail. I run Windows 2000
Pro, Linux RedHat & AIX (I'm just a user of the UNIX/Linux boxes, and not
administrator, but I can have admins install/configure stuff for me).
I've seen logger net set errors every time I run FOP from the command line
in Windows:
[ERROR] FOP 0.20.4
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[ERROR] Logger not set
I think I could learn a lot about the FOP process if I could see a log.
Thanks!
Web Maestro Clay
At 09:35 AM 1/10/2003, Jeremias wrote:
>When embedded the logger must be set to DEBUG level.
>Could you then post the full error message together with the stacktrace
>and maybe some XML/XSL files nicely zipped up?
>
>Jeremias Maerki
- Clay Leeds
- Web Developer
- cleeds@medata.com
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout
Posted by Jeremias Maerki <de...@greenmail.ch>.
On 10.01.2003 18:25:54 Stephan Wiesner wrote:
> I use DocBook XSL styles, latest version 1.58.1. The PDF generation with
> the default style works. I set two parameters, one to turn on double
> sided layout (this alone works) and the genaration of the boomarks
> (displayed in the Acrobat Reader on the left). The second option
> terminates the transformation with a 'null'.
Ok, still too little information. Are you sure that FOP and not the XSLT
processor shows the error message? Could you try to enable debugging? I
don't know how FOP is called in your environment. For the FOP command
line this is -d. When embedded the logger must be set to DEBUG level.
Could you then post the full error message together with the stacktrace
and maybe some XML/XSL files nicely zipped up?
Maybe someone with DocBook experience could check if this problem can be
reproduced?
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout
Posted by Stephan Wiesner <st...@stephan-wiesner.de>.
Hi Jeremias,
Jeremias Maerki wrote:
> On 10.01.2003 15:04:50 Stephan Wiesner wrote:
>
> I'm not sure what your problem is. Could you describe it?
>
I use DocBook XSL styles, latest version 1.58.1. The PDF generation with
the default style works. I set two parameters, one to turn on double
sided layout (this alone works) and the genaration of the boomarks
(displayed in the Acrobat Reader on the left). The second option
terminates the transformation with a 'null'.
> Jeremias Maerki
>
> The only thing
> I can say is that if 0.20.5rc doesn't work for you, 0.20.5 will unlikely
> be any better in your case.
Thanks for this information.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP 25RC: Double Sided Layout
Posted by Jeremias Maerki <de...@greenmail.ch>.
On 10.01.2003 15:04:50 Stephan Wiesner wrote:
> Hi list, when will the final version 25 be released and will it have
> better support for double sided layout?
0.20.5 will probably be released next week.
> I am working with DocBook and double sided layout does work, but only if
> I don't use extensions, to create a PDF with bookmarks.
I'm not sure what your problem is. Could you describe it? The only thing
I can say is that if 0.20.5rc doesn't work for you, 0.20.5 will unlikely
be any better in your case.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org