Re: error when trying to print double-sided

2003-05-07 Thread Robert P. J. Day
On Wed, 7 May 2003, J.Pietschmann wrote:

> Robert P. J. Day wrote:
> > assuming you're referring to the docbook XSL stylesheets, i'm running
> > red hat 9 which appears to have the latest stylesheet release: 1.60.1.
> > at least, that's the latest release at sourceforge, unless you're 
> > referring to a CVS snapshot or something.
> > 
> > can you clarify this?
> 
> The style sheet declares an invalid page master named 'blank'. Find it
> and delete the region-name for the body region. That's all. Several
> people wrote they had fixed style sheet, apparently they fixd it by
> themself.

ok, just to clarify since i'm still new at this, i dug into the
stylesheet directory, found pagesetup.xsl and, near the top, 
found


  blank-body


are you saying to remove this entire conditional?  i'm not using
fop extensions at the moment, so in my case, obviously that attribute
is being set.

rday


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



a few FOP questions and curiosities

2003-05-07 Thread Robert P. J. Day

  i didn't see these addressed while skimming the FAQ, so my apologies
if answers are buried in there somewhere.

1) to my simple docbook document, i added a subsection to an existing
   section (abbreviations for brevity):

 Section name
  Subsection name<-- just added
  
 

   in fact, literally, the sections have no content, i'm just throwing
   in empty sections to flesh out the skeleton of the document.

   the instant i added that subsection, i got

  [ERROR] file:/home/rpjday/ert/courses/gen/gen.fo:9:201 Flow
'xsl-region-body' does not map to the region-body
 in page-master 'blank'
make: *** [gen.pdf] Error 2

   certainly, that subsection is valid docbook.  is this another
   known bug?

2) my TOC does not list page numbers for the chapters themselves,
   only for their sections.  whenever i view the PDF file with "xpdf",
   every time i view the TOC page, i get a slew of

   Error: Bad annotation description

   apparently, one per chapter entry with a missing page number.
   suggestions?


rday


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



Re: error when trying to print double-sided

2003-05-07 Thread J.Pietschmann
Robert P. J. Day wrote:
assuming you're referring to the docbook XSL stylesheets, i'm running
red hat 9 which appears to have the latest stylesheet release: 1.60.1.
at least, that's the latest release at sourceforge, unless you're 
referring to a CVS snapshot or something.

can you clarify this?
The style sheet declares an invalid page master named 'blank'. Find it
and delete the region-name for the body region. That's all. Several
people wrote they had fixed style sheet, apparently they fixd it by
themself.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: error when trying to print double-sided

2003-05-07 Thread Robert P. J. Day
On Wed, 7 May 2003, J.Pietschmann wrote:

> Robert P. J. Day wrote:
> >   with a simple docbook file, and the CVS maintenance branch of FOP,
> > i got the following error after simply adding a param for double-sided
> > output to my stylesheet:
> > 
> > [ERROR] file:/home/rpjday/ert/courses/gen/gen.fo:2:28132 Flow 
> > 'xsl-region-body' does not map to the region-body in page-master 'blank'
> 
> That's a known problem with a certain style sheet release, try
> upgrading.

assuming you're referring to the docbook XSL stylesheets, i'm running
red hat 9 which appears to have the latest stylesheet release: 1.60.1.
at least, that's the latest release at sourceforge, unless you're 
referring to a CVS snapshot or something.

can you clarify this?

rday


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



Re: error when trying to print double-sided

2003-05-07 Thread J.Pietschmann
Robert P. J. Day wrote:
  with a simple docbook file, and the CVS maintenance branch of FOP,
i got the following error after simply adding a param for double-sided
output to my stylesheet:
[ERROR] file:/home/rpjday/ert/courses/gen/gen.fo:2:28132 Flow 
'xsl-region-body' does not map to the region-body in page-master 'blank'
That's a known problem with a certain style sheet release, try
upgrading.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Orderedlists nesting variablelists

2003-05-07 Thread Togan Muftuoglu
* Victor Mote; <[EMAIL PROTECTED]> on 07 May, 2003 wrote:
I'm sorry -- I don't even undestand the question. I thought there was a
problem with the list numbering, which doesn't seem to have anything to do
with the above response. Please reformulate the question.
The question is as follows. I have a document as follows 




 Sample Nested Ordered List
 This sample ordered list renders properly with Renderx XEP, nut not
   with FOP
 
   Nested Orderedlist
   
 


  First Term
  
This is the first para of first
term which is the first list item of the ordered list
  

 
   
   
 


  Second Term
  
this is the par of second 
term
  

 
   
 
 This is a normal paragraph and now the following list will continue
   from the numbereing where it was left
 
   Second nested orderedlist
   

 

  Third term
  
This is the para of third
term which is a continuation of the previous 
orderedlist
  

 
   
   
 

  this is an itemized list 


  another para of itemized list

 
   
 

The ending PDF when I use XEP is correct meaning
1. First Term bla ba
2. Second Term bla bla
However the PDF created via FOP 0.20.5rc3 (CVS build of yesterday) is as
follows
1.
  First Term bla bla
2.
  Second Term bla bla

So there is something wrong with how FOP understands the nested lists
compared to XEP . Hope this time the communication is established :-)
  


PS. Could you trim your line length to something like 72  as in current
settings it is screen wide Thanks
Well, it is set at 76, but my email client doesn't seem to know what to with
your Unicode data. I have converted the encoding to ASCII, so hopefully it
will wrap correctly on this one.
This one is correct thanks 

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


error when trying to print double-sided

2003-05-07 Thread Robert P. J. Day

  with a simple docbook file, and the CVS maintenance branch of FOP,
i got the following error after simply adding a param for double-sided
output to my stylesheet:

[ERROR] file:/home/rpjday/ert/courses/gen/gen.fo:2:28132 Flow 
'xsl-region-body' does not map to the region-body in page-master 'blank'


  sorry, i'm still working my way thru the FO documentation so i have
no idea what this means.

rday


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



Re: fop processing

2003-05-07 Thread J.Pietschmann
Jason Novotny wrote:
[java] [ERROR] Unknown enumerated value for property 'relative-align': 
baseline
This seems to come from the style sheet. Complain to Norm (if you get
the courage).
I'd very appreciate if you'd stop sending large files to the list
unless asked.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: 1 - break-before; 2 - retrieve-marker

2003-05-07 Thread J.Pietschmann
John Marshall wrote:
(1) If the title is the first block in my  then  leaves my first page blank.
This is a know defect, the code checking for the page break
condition is broken. No workaround.
> (2) Having found a title I then insert its value in an 
> element. Here is the snippet that sets this as my page header:
>retrieve-class-name="sect-head"
>   retrieve-position="last-ending-within-page"
>   retrieve-boundary="document"/>
Retrieve-boundary="document" has problems in 0.20.5rc, you'll need
a more recent release (but beware 0.20.5rc2 because of bug #17472).
> The Courtyard, Denmark Street, Wokingham, Berkshire, RG40 2AZ, UK.
[snip]
Sig/disclaimers seems to get more and more out of hand these times...
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Orderedlists nesting variablelists

2003-05-07 Thread Victor Mote
Togan Muftuoglu wrote:

> On the other hand I have raised the same question on the docbook-apps
> mailing list and here is the answer I have received from Bob Stayton
>
> 
>
> FOP uses the space-before attributes
> in all cases, even when they are within a list-item-body.
> I'm not sure that actually violates the XSL spec,
> since spaces are considered discardable only at
> the top of a reference area, and a list-item-body is
> not a reference area.
>
> 

I'm sorry -- I don't even undestand the question. I thought there was a
problem with the list numbering, which doesn't seem to have anything to do
with the above response. Please reformulate the question.

> PS. Could you trim your line length to something like 72  as in current
> settings it is screen wide Thanks

Well, it is set at 76, but my email client doesn't seem to know what to with
your Unicode data. I have converted the encoding to ASCII, so hopefully it
will wrap correctly on this one.

Victor Mote


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



Re: Title and text on separate pages (DocBook or FOP problem?)

2003-05-07 Thread J.Pietschmann
Niklas Koponen wrote:
For some reason I cannot get section titles and the following paragraph
on the same page. The problem occurs only when the title fits to the
bottom of the page and the paragraph goes to the next page.
See
 http://xml.apache.org/fop/faq.html#keep-with
You can try to hack the DocBook style sheets but I don't think
you'll make it, the solution has other drawbacks anyway.
Read: you are basically out of luck. Resort to manual labor and
add explicit page breaks before the affected title after the
document is finished.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Orderedlists nesting variablelists

2003-05-07 Thread Togan Muftuoglu
* Victor Mote; <[EMAIL PROTECTED]> on 07 May, 2003 wrote:
Togan Muftuoglu wrote:
Attached are sample document and the stylesheet ideas are welcomed
The document you included is a stylesheet, and doesn't provide enough information to help us figure out what the problem is. Please resubmit the question with the smallest possible XSL-FO code that demonstrates the problem. Here is some doc to help with that task:
Sorry looks like I have ommited the XML part of it anyway attached ypu
will find the "fo" file so you can play with it.
On the other hand I have raised the same question on the docbook-apps
mailing list and here is the answer I have received from Bob Stayton

FOP uses the space-before attributes 
in all cases, even when they are within a list-item-body.
I'm not sure that actually violates the XSL spec,
since spaces are considered discardable only at
the top of a reference area, and a list-item-body is
not a reference area.



PS. Could you trim your line length to something like 72  as in current
settings it is screen wide Thanks 
--

Togan Muftuoglu

http://www.w3.org/1999/XSL/Format"; line-height="normal" 
text-align="justify" font-size="10pt" font-family="serif" language="en">
































































































































































































































































































http://xml.apache.org/fop/extensions"; 
internal-destination="N10001">
Sample Nested Ordered List













































Sample Nested Ordered List



























Sample Nested Ordered List

















































































































Sample Nested Ordered List




This sample ordered list renders properly with 
Renderx XEP, nut not
with FOP
Nested 
Orderedlist



1.




First Term


This is the first para of first
term which is the first list item of the ordered list







2.




Second Term


this is the par of second 
term






This is a normal paragraph and now the following 
list will continue
from the numbereing where it was left
Second nested 
orderedlist



3.




Third term


This is the para of third
term which is a continuation of the previous 
orderedlist






4.





â


this is an itemized list 




â


another para of itemized list










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

RE: Orderedlists nesting variablelists

2003-05-07 Thread Victor Mote
Togan Muftuoglu wrote:

> I hope I have found a correct subject describing what I am trying 
> to achieve.
> When I have an orderedlist which includes variablelists then with FOP
> 0.20.5rc3 (built from CVS) the outcome is

...

> So the question is what can it be done to fix the FOP output in the
> aspect of customizing the stylesheet as I do not see this as a bug for
> the stylesheet and yet a missing (unimplemented ) feature in FOyet a
> missing (unimplemented ) feature in FOP
> 
> Attached are sample document and the stylesheet ideas are welcomed

The document you included is a stylesheet, and doesn't provide enough 
information to help us figure out what the problem is. Please resubmit the 
question with the smallest possible XSL-FO code that demonstrates the problem. 
Here is some doc to help with that task:

http://xml.apache.org/fop/running.html#check-input

Victor Mote


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



RE: embedded SVG in XML not showing up

2003-05-07 Thread Victor Mote
Louis Masters wrote:

> I am running into an issue displaying SVG graphics.  If I directly embed
> svg code in ml XSL, the graphic displays fine.  When I have SVG
> code in the
> XML file that I want transformed, it does not show up on the PDF.  For
> example, my XML looks like this:

If I understand you, this is probably a problem with your transformation.
See:
http://xml.apache.org/fop/running.html#check-input
for instructions about how to use xalan to check the actual XSL-FO file. If
the SVG does NOT show up there correctly, then you need to go back to your
stylesheet & find out why not. Here are some resources that might help:
mailing list
http://xml.apache.org/fop/resources.html#mailing-lists-xslt-mulberry
spec http://xml.apache.org/fop/resources.html#specs-xslt
documents http://xml.apache.org/fop/resources.html#documents-xslt

If, on the other hand, the SVG is in the XFL-FO correctly, then post an
appropriate snippet of that document.

Victor Mote


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



RE: fop processing

2003-05-07 Thread Victor Mote
Jason Novotny wrote:

> Thanks Michael-- I think I fixed that and now I see the same problem
> so I have to check other files-- is there some kind of "foplint" program
> that can help me track these issues down? What do you use?

If you have a validating editor (like XMLSpy and others), or parser (I think
Xalan has a validation mode), the following might help:
http://xml.apache.org/fop/fo.html#fo-validate
The schema on that page has an option to be FOP-specific.

The two major issues are 1) getting correct XSL-FO code, and 2) using the
subset of XSL-FO that FOP currently supports. WRT the latter, see this also:
http://xml.apache.org/fop/compliance.html
There are some differences between the schema and the document listed above,
but no one has so far taken the time to find out which is right, so these
are not perfect solutions. That said, they are both useful, and, if you find
problems with either, you can perform a great service to yourself and the
FOP community by helping us get them corrected.

Victor Mote


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



Re: xslt docbook stylesheets

2003-05-07 Thread Stefan Seefeld
Jason Novotny wrote:
   I've been using the standard Norman Walsh docbook fop stylesheets 
with mixed success. I'm wondering if anyone has any crafted, improved or 
more robust stylesheets they would be willing to share with me-- since
what exactly isn't working the way you would expect ?

ultimately it's an XSL stylesheet that controls the usefulness of 
docbook I'm suprised there aren't "commercial" stylesheets out there-- 
or maybe there are...
I can't see why anything 'commercial' would necessarily be better.
Regards,
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: including images

2003-05-07 Thread anton
Hi!

>>>
 

Portlet Web Applications and the Portlet Lifecycle


 

If I leave it out it all works. Then if I put it in I get
>>>

You can override the template match figure and replace the standard output
with fo tags which don't cause problems.

Many errors of FOP can be ignored if the output file seems to be OK.


CU
Anton


smime.p7s
Description: S/MIME cryptographic signature


re: including images

2003-05-07 Thread Jason Novotny
   I've created the shortest docbook example to include an image:

   Portlet Concepts
   
   
   Portlet Web Applications and the Portlet Lifecycle
   
   
   

   Attached is my fop output. During rendering I get this:
 [java] [ERROR] Flow 'xsl-region-body' does not map to the region-body 
in page-master 'blank'
[java] Java Result: 2

   Any insight is greatly appreciated. Thanks, Jason

http://www.w3.org/1999/XSL/Format"; line-height="normal" 
text-align="justify" font-size="10pt" font-family="serif" 
language="en">http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>GridSphere Portlet Reference 
GuideGridSphere Portlet Reference 
GuideCopyright © 2003 GridLab 
ProjectGridSphere Portlet Reference 
GuideGridSphere Portlet Reference 
GuideTable of 
Contents1. Portlet 
Concepts  GridSphere Portlet Reference 
GuideGridSphere Portlet Reference 
GuideList of 
Figures1.1. Portlet Web Applications and the Portlet 
Lifecycle  Portlet 
ConceptsPortlet 
ConceptsChapter 1. Portlet 
Concepts
Figure 1.1. Portlet Web Applications 
and the Portlet Lifecycle

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

AW: xslt docbook stylesheets

2003-05-07 Thread anton
Hi!

>>>
I've been using the standard Norman Walsh docbook fop stylesheets
with mixed success. I'm wondering if anyone has any crafted, improved or
more robust stylesheets they would be willing to share with me-- since
ultimately it's an XSL stylesheet that controls the usefulness of
docbook I'm suprised there aren't "commercial" stylesheets out there--
or maybe there are...
>>>

I use DocBook4.2 / Norm's Stylesheets 1.60.1 and FOP 0.20.5rc3

And i was able to get most of things to work in the way as i wish (command
line on Linux and Windows). If something don't work, you can override and
customize the template. OK, sometimes it is not easy to find the right
template, but finally it works. And the most of Problems, which i had to
fix were on FOP-behavior, cause of incomplete implementation.

If you not very similar with xsl (like me) perhaps can this Windows
"environment" help you to do the first steps:

http://www.e-novative.de/downloads/


CU
Anton


smime.p7s
Description: S/MIME cryptographic signature


embedded SVG in XML not showing up

2003-05-07 Thread Louis . Masters
I am running into an issue displaying SVG graphics.  If I directly embed
svg code in ml XSL, the graphic displays fine.  When I have SVG code in the
XML file that I want transformed, it does not show up on the PDF.  For
example, my XML looks like this:



http://www.w3.org/2000/svg";>








If this is more of an XPath/Xalan issue, just say so and I will send it to
their newsgroup.  I just wanted to see if this is an issue with PDFs or
something special I have to do to get this to render.

-Lou


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



including images

2003-05-07 Thread Jason Novotny
It seems the reason my docbook XML didn't render to PDF is the following 
lines in my docbook:


   
   Portlet Web Applications and the Portlet Lifecycle
   
   

If I leave it out it all works. Then if I put it in I get
[java] [ERROR] Error in relative-align property value 'baseline': 
org.apache.fop.fo.expr.PropertyException: No conversion defined
[java] [ERROR] Flow 'xsl-region-body' does not map to the 
region-body in page-master 'blank'

   Can someone explain what I need to do?
   Thanks alot, Jason
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: what does " inline formatting objects cannot be directly under flow" mean?

2003-05-07 Thread Mark Baier
Hi Jason,

under flow you can only place block elements like block, table and so on.
An inline formatting object like inline must be placed beyond a block or 
something like that.

greets,
mark

-Ursprüngliche Nachricht-
Von: Jason Novotny [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. Mai 2003 16:43
An: [EMAIL PROTECTED]
Betreff: what does " inline formatting objects cannot be directly under
flow" mean?



This is the output I'm getting and I'm trying to figure out how to 
debug my docbook--


[java] [ERROR] Error in relative-align property value 'baseline': 
org.apache.fop.fo.expr.PropertyException: No conversion defined
 [java] org.apache.fop.apps.FOPException: inline formatting objects 
cannot be directly under flow
 [java] at org.apache.fop.fo.flow.Inline.(Inline.java:34)
 [java] at 
org.apache.fop.fo.flow.BasicLink.(BasicLink.java:35)
 [java] [ERROR] inline formatting objects cannot be directly under flow
 [java] at 
org.apache.fop.fo.flow.BasicLink$Maker.make(BasicLink.java:25)

Thanks, Jason


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



xslt docbook stylesheets

2003-05-07 Thread Jason Novotny
   I've been using the standard Norman Walsh docbook fop stylesheets 
with mixed success. I'm wondering if anyone has any crafted, improved or 
more robust stylesheets they would be willing to share with me-- since 
ultimately it's an XSL stylesheet that controls the usefulness of 
docbook I'm suprised there aren't "commercial" stylesheets out there-- 
or maybe there are...

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


what does " inline formatting objects cannot be directly under flow" mean?

2003-05-07 Thread Jason Novotny
   This is the output I'm getting and I'm trying to figure out how to 
debug my docbook--

   [java] [ERROR] Error in relative-align property value 'baseline': 
org.apache.fop.fo.expr.PropertyException: No conversion defined
[java] org.apache.fop.apps.FOPException: inline formatting objects 
cannot be directly under flow
[java] at org.apache.fop.fo.flow.Inline.(Inline.java:34)
[java] at 
org.apache.fop.fo.flow.BasicLink.(BasicLink.java:35)
[java] [ERROR] inline formatting objects cannot be directly under flow
[java] at 
org.apache.fop.fo.flow.BasicLink$Maker.make(BasicLink.java:25)

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


RE: fop processing

2003-05-07 Thread John Marshall
Hi

Active State Komodo (www.activestate.com/Products/Komodo) does full syntax 
analysis on HTML and XSLT and tests other XML dialects for well-formedness. A 
personal or academic licence is inexpensive but a commercial licence would need 
justifying. It's worth looking at the evaluation download.

John Marshall
Accurate Software

The Courtyard, Denmark Street, Wokingham, Berkshire, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com 




-Original Message-
From: Partridge, Michael [mailto:[EMAIL PROTECTED]
Sent: 07 May 2003 14:10
To: [EMAIL PROTECTED]
Subject: RE: fop processing


I was bored, so I opened your .fo in XMLSpy, changed it to pretty-print
and searched for mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2003 8:05 AM
To: [EMAIL PROTECTED]
Subject: Re: fop processing



Hi,

Thanks Michael-- I think I fixed that and now I see the same problem

so I have to check other files-- is there some kind of "foplint" program

that can help me track these issues down? What do you use?

Thanks, Jason

Partridge, Michael wrote:

>Looks like you've got some content in a flow but outside of a block.
Right at the beginning of Chapter 6. Snippet:
>
>
>  
>
>  
>Chapter 6. Portlet Service
Framework
>  
>
>
>  
>
>Portlet services encapsulate business or logic operations that can be
re-used among portlets.
>The use of portlet services helps to minimize the amount of logic
placed in a portlet and present it as
>a reusable library to other portlets. In addition, portlet services
offer the following major advantages:
>
>
>Mike
>
>-Original Message-
>From: Jason Novotny [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, May 07, 2003 7:25 AM
>To: [EMAIL PROTECTED]
>Subject: fop processing
>
>
>
>Hi,
>
>I'm using NWalsh's stylesheets and docbook and FOP and during the
>rendering to pdf I get this error:
>
> [java] [ERROR] inline formatting objects cannot be directly under flow
> [java] at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
own
>Source)
> [java] at
>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> [java] at
>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
> [java] at
>org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> [java] at org.apache.fop.apps.Driver.render(Driver.java:457)
> [java] at
>org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
> [java] at org.apache.fop.apps.Fop.main(Fop.java:19)
> [java] Java Result: 2
>
>
>I've attached my FOP-- are there any easy ways to see where FOP has

>gone bad besides trying to cut and paste away at my docbook until the
>problem goes away? I've also used xmllint to make sure it has all
>references.
>
>Thanks, Jason
>
>
>-
>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]



The UK office of Accurate Software will be moving offices from May 19th to the 
following new location:
80 Peach Street, Wokingham, Berkshire, RG40 1XH.
The existing telephone and fax numbers will remain unchanged.

Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



Orderedlists nesting variablelists

2003-05-07 Thread Togan Muftuoglu
Hi,
I hope I have found a correct subject describing what I am trying to achieve.
When I have an orderedlist which includes variablelists then with FOP
0.20.5rc3 (built from CVS) the outcome is
1.
First Term
This is the first para of first term which is the first list item of the
ordered list
2.
Second Term
this is the par of second term
This is a normal paragraph and now the following list will continue from
the numbereing where it was left
Second nested orderedlist
Where as, if I use XEP the outcome is correct
1. First Term
This is the first para of first term which is the first list item of the
ordered list
2. Second Term
this is the par of second term
This is a normal paragraph and now the following list will continue from
the numbereing where it was left
Second nested orderedlist
So the question is what can it be done to fix the FOP output in the
aspect of customizing the stylesheet as I do not see this as a bug for
the stylesheet and yet a missing (unimplemented ) feature in FOyet a
missing (unimplemented ) feature in FOP
Attached are sample document and the stylesheet ideas are welcomed
--
Togan Muftuoglu

http://www.w3.org/1999/XSL/Transform";
   xmlns:fo="http://www.w3.org/1999/XSL/Format";
   version="1.0">
http://docbook.sourceforge.net/release/xsl/snapshot/fo/docbook.xsl"/>





 






true









	   

png






figure after
example before
equation after
table before
procedure before



 #E0E0E0

0

  


   black
  solid


   

appendix  nop
article   toc,title
book  toc,title,figure,table,example,equation
chapter   nop
part  nop
preface   nop
qandadiv  nop
qandaset  nop
reference toc,title
section   nop
set   toc





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


Re: fop processing

2003-05-07 Thread Jason Novotny
   Ok, this time I'm just trying to process my introduction and I think 
I'm getting the same error and maybe a new one:

[java] [ERROR] Unknown enumerated value for property 'relative-align': 
baseline
[java] at org.apache.fop.fo.flow.Inline.(Inline.java:34)
[java] at 
org.apache.fop.fo.flow.BasicLink.(BasicLink.java:35)
[java] [ERROR] Error in relative-align property value 'baseline': 
org.apache.fop.fo.expr.PropertyException: No conversion defined
[java] at 
org.apache.fop.fo.flow.BasicLink$Maker.make(BasicLink.java:25)
[java] at 
org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:255)
[java] [ERROR] Unknown enumerated value for property 
'relative-align': baseline
[java] at 
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
[java] at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)

My introductory docbook looks like this-- I can't see anything wrong:

   Portlet Concepts
   
   Portlets are defined as visual components that can be assimilated 
into portal web pages.


   Thanks, Jason
   Thanks, Jason
Jason Novotny wrote:
   Hi,
   Thanks Michael-- I think I fixed that and now I see the same 
problem so I have to check other files-- is there some kind of 
"foplint" program that can help me track these issues down? What do 
you use?

   Thanks, Jason
Partridge, Michael wrote:
Looks like you've got some content in a flow but outside of a block. 
Right at the beginning of Chapter 6. Snippet:

   
 
   
 
   Chapter 6. Portlet Service 
Framework
 
   
   
 

Portlet services encapsulate business or logic operations that can be 
re-used among portlets.
The use of portlet services helps to minimize the amount of logic 
placed in a portlet and present it as
a reusable library to other portlets. In addition, portlet services 
offer the following major advantages:
   

Mike
-Original Message-
From: Jason Novotny [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 
07, 2003 7:25 AM
To: [EMAIL PROTECTED]
Subject: fop processing


Hi,
   I'm using NWalsh's stylesheets and docbook and FOP and during the 
rendering to pdf I get this error:

[java] [ERROR] inline formatting objects cannot be directly under flow
[java] at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
[java] at 
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
[java] at 
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown 
Source)
[java] at 
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at org.apache.fop.apps.Driver.render(Driver.java:457)
[java] at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
[java] at org.apache.fop.apps.Fop.main(Fop.java:19)
[java] Java Result: 2

   I've attached my FOP-- are there any easy ways to see where FOP 
has gone bad besides trying to cut and paste away at my docbook until 
the problem goes away? I've also used xmllint to make sure it has all 
references.

   Thanks, Jason
-
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]


http://www.w3.org/1999/XSL/Format"; line-height="normal" 
text-align="justify" font-size="10pt" font-family="serif" 
language="en">http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repe

RE: fop processing

2003-05-07 Thread Partridge, Michael
I was bored, so I opened your .fo in XMLSpy, changed it to pretty-print
and searched for mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 07, 2003 8:05 AM
To: [EMAIL PROTECTED]
Subject: Re: fop processing



Hi,

Thanks Michael-- I think I fixed that and now I see the same problem

so I have to check other files-- is there some kind of "foplint" program

that can help me track these issues down? What do you use?

Thanks, Jason

Partridge, Michael wrote:

>Looks like you've got some content in a flow but outside of a block.
Right at the beginning of Chapter 6. Snippet:
>
>
>  
>
>  
>Chapter 6. Portlet Service
Framework
>  
>
>
>  
>
>Portlet services encapsulate business or logic operations that can be
re-used among portlets.
>The use of portlet services helps to minimize the amount of logic
placed in a portlet and present it as
>a reusable library to other portlets. In addition, portlet services
offer the following major advantages:
>
>
>Mike
>
>-Original Message-
>From: Jason Novotny [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, May 07, 2003 7:25 AM
>To: [EMAIL PROTECTED]
>Subject: fop processing
>
>
>
>Hi,
>
>I'm using NWalsh's stylesheets and docbook and FOP and during the 
>rendering to pdf I get this error:
>
> [java] [ERROR] inline formatting objects cannot be directly under flow
> [java] at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
own 
>Source)
> [java] at 
>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> [java] at 
>org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
> [java] at 
>org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> [java] at org.apache.fop.apps.Driver.render(Driver.java:457)
> [java] at 
>org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
> [java] at org.apache.fop.apps.Fop.main(Fop.java:19)
> [java] Java Result: 2
>
>
>I've attached my FOP-- are there any easy ways to see where FOP has

>gone bad besides trying to cut and paste away at my docbook until the 
>problem goes away? I've also used xmllint to make sure it has all 
>references.
>
>Thanks, Jason
>
>
>-
>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]



Re: fop processing

2003-05-07 Thread Jason Novotny
   Hi,
   Thanks Michael-- I think I fixed that and now I see the same problem 
so I have to check other files-- is there some kind of "foplint" program 
that can help me track these issues down? What do you use?

   Thanks, Jason
Partridge, Michael wrote:
Looks like you've got some content in a flow but outside of a block. Right at 
the beginning of Chapter 6. Snippet:
   
 
   
 
   Chapter 6. Portlet Service Framework
 
   
   
 
Portlet services encapsulate business or logic operations that can be re-used 
among portlets.
The use of portlet services helps to minimize the amount of logic placed in a 
portlet and present it as
a reusable library to other portlets. In addition, portlet services offer the 
following major advantages:
   
Mike
-Original Message-
From: Jason Novotny [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 07, 2003 7:25 AM
To: [EMAIL PROTECTED]
Subject: fop processing


Hi,
   I'm using NWalsh's stylesheets and docbook and FOP and during the 
rendering to pdf I get this error:

[java] [ERROR] inline formatting objects cannot be directly under flow
[java] at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
[java] at 
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
[java] at 
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at 
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at org.apache.fop.apps.Driver.render(Driver.java:457)
[java] at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
[java] at org.apache.fop.apps.Fop.main(Fop.java:19)
[java] Java Result: 2

   I've attached my FOP-- are there any easy ways to see where FOP has 
gone bad besides trying to cut and paste away at my docbook until the 
problem goes away? I've also used xmllint to make sure it has all 
references.

   Thanks, Jason
-
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: fop processing

2003-05-07 Thread Partridge, Michael
Looks like you've got some content in a flow but outside of a block. Right at 
the beginning of Chapter 6. Snippet:


  

  
Chapter 6. Portlet Service 
Framework
  


  

Portlet services encapsulate business or logic operations that can be re-used 
among portlets.
The use of portlet services helps to minimize the amount of logic placed in a 
portlet and present it as
a reusable library to other portlets. In addition, portlet services offer the 
following major advantages:


Mike

-Original Message-
From: Jason Novotny [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 07, 2003 7:25 AM
To: [EMAIL PROTECTED]
Subject: fop processing



Hi,

I'm using NWalsh's stylesheets and docbook and FOP and during the 
rendering to pdf I get this error:

 [java] [ERROR] inline formatting objects cannot be directly under flow
 [java] at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
 [java] at 
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 [java] at 
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 [java] at 
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 [java] at org.apache.fop.apps.Driver.render(Driver.java:457)
 [java] at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
 [java] at org.apache.fop.apps.Fop.main(Fop.java:19)
 [java] Java Result: 2


I've attached my FOP-- are there any easy ways to see where FOP has 
gone bad besides trying to cut and paste away at my docbook until the 
problem goes away? I've also used xmllint to make sure it has all 
references.

Thanks, Jason


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



fop processing

2003-05-07 Thread Jason Novotny
Hi,
   I'm using NWalsh's stylesheets and docbook and FOP and during the 
rendering to pdf I get this error:

[java] [ERROR] inline formatting objects cannot be directly under flow
[java] at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
[java] at 
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
[java] at 
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at 
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at org.apache.fop.apps.Driver.render(Driver.java:457)
[java] at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
[java] at org.apache.fop.apps.Fop.main(Fop.java:19)
[java] Java Result: 2

   I've attached my FOP-- are there any easy ways to see where FOP has 
gone bad besides trying to cut and paste away at my docbook until the 
problem goes away? I've also used xmllint to make sure it has all 
references.

   Thanks, Jason

http://www.w3.org/1999/XSL/Format"; line-height="normal" 
text-align="justify" font-size="10pt" font-family="serif" 
language="en">http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
background-position-vertical="center"/>http://docbook.sourceforge.net/release/images/draft.png)" 
background-attachment="fixed" background-repeat="no-repeat" 
background-position-horizontal="center" 
backgro

1 - break-before; 2 - retrieve-marker

2003-05-07 Thread John Marshall



I am using
FOP-0.20.5rc. I have two small but annoying problems and I would be grateful for
hints on where to look. I have read the FAQ and tried to search the
Recommendation, as well as Dave Pawson's book.
 
When I encounter a
title in my XML, I want to (1) begin a new page and to (2) use the title as the
page header.
 
(1) If the title
is the first block in my  then  leaves my first page blank. I can obviously calculate
the value of the break-before attribute, or inherit it, if I can find
out if my flow is empty. Is there any indicator that the flow has no content
yet?
 
(2) Having found a
title I then insert its value in an  element. Here is the
snippet that sets this as my page header:
 
   
 
   
 
retrieve-class-name="sect-head"
 
retrieve-position="last-ending-within-page" 
retrieve-boundary="document"/> 
   

I want that
content to appear on all pages until it is superseded, but it appears only on
the page where it is defined. I have used all available values of the
retrieve-position attribute with no pereceptible difference.
 
Thank you for your
consideration.
 
John
Marshall
Accurate
SoftwareThe Courtyard, Denmark
Street, Wokingham, Berkshire, RG40 2AZ, UK.Tel: +44 (0)118 977
3889Fax: +44 (0)118 977
1260http://www.accuratesoftware.com

 
 
The UK office of Accurate Software will be moving offices from May 19th to the following new location:
80 Peach Street, Wokingham, Berkshire, RG40 1XH.
The existing telephone and fax numbers will remain unchanged.

Accurate Software
 

 
[EMAIL PROTECTED] 
 
www.accuratesoftware.com
 

 
Europe . North America . Australasia . Africa
 

 
The information in this email is confidential and privileged and is intended only for the use of the individual or entity listed above.  If you are neither the intended individual, or entity listed above, nor the person responsible for the delivery of this email to the intended recipients, you are hereby notified that any unauthorised distribution, copying or use of this email is prohibited. If you have received this email in error, please notify the Accurate system manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in this communication may not necessarily be the views held by the Accurate Group.
 







Title and text on separate pages (DocBook or FOP problem?)

2003-05-07 Thread Niklas Koponen
Hi!

I'm using docbook and FOP to produce pdf documents.

For some reason I cannot get section titles and the following paragraph
on the same page. The problem occurs only when the title fits to the
bottom of the page and the paragraph goes to the next page.

I'm using Saxon for the stylesheet processing and I use
docbook-xsl-1.60.1. I am using a customization layer which defines the
properties. The layer is included as an attachment.

Is the problem with the FOP or with the docbook-xsl or my parameters?

Any help is appreciated.

-Niklas

-- 
Niklas Koponen   | Hietapellontie 3 B 7 | [EMAIL PROTECTED]
+358 40 757 1459 | 02400 KIRKKONUMMI| http://www.iki.fi/niklas.koponen


http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0">










left
always


left
always





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

AW: DTMException ?

2003-05-07 Thread Mirko Sertic
Thanks a lot.

I put the current xalan and xerces releases in my lib/endorsed dir and now
it works
very well.

good tip!

-Ursprungliche Nachricht-
Von: J.Pietschmann [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 6. Mai 2003 23:48
An: [EMAIL PROTECTED]
Betreff: Re: DTMException ?


Jeremias Maerki wrote:
> You've got to go to the Xalan guys with this. This has nothing to do
> with FOP.

It's a characteristic problem with the Xalan distributed with one of
the 1.4 JDKs.

J.Pietschmann


-
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 rendering SVG

2003-05-07 Thread Jeremias Maerki
Is that a headless server? In this case 
http://xml.apache.org/fop/faq.html#svg-headless
may help.

On 07.05.2003 08:45:32 Ozhan Hassan wrote:
> One more interesting point I should address. I have been running my
> application on a Solaris platform, where it has been crashing. However, I
> just tried running it on a Windows PC and it worked fine, didn't crash. I
> hope this is helpful to anyone who may know why this is.


Jeremias Maerki


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



Re: Problem rendering SVG

2003-05-07 Thread Jeremias Maerki
Ok, in this case take the examples/embedding/java/embedding/ExampleXML2PDF.java
and adjust it to your usecase. Check if it works with that. I've tested
it with your XSL snippet on my workstation and it worked.

On 07.05.2003 08:22:58 Ozhan Hassan wrote:
> Sorry, I forgot to mention that. I did try it with the log level set to
> LEVEL_DEBUG, but it made no difference. I didn't receive any additional
> output from using the standard LEVEL_INFO. I also have batik.jar in my
> classpath. Any other ideas?


Jeremias Maerki


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



Re: Problem rendering SVG

2003-05-07 Thread Ozhan Hassan
Hi,

One more interesting point I should address. I have been running my
application on a Solaris platform, where it has been crashing. However, I
just tried running it on a Windows PC and it worked fine, didn't crash. I
hope this is helpful to anyone who may know why this is.

Regards,
Ozhan


Ozhan Hassan
Multimedia Database Systems
RMIT University
Email: [EMAIL PROTECTED]
Phone: 9925 4118

On Wed, 7 May 2003, Ozhan Hassan wrote:

> On Wed, 7 May 2003, Jeremias Maerki wrote:
> 
> > You didn't say whether setting the log level to LEVEL_DEBUG helped or
> > not. Even if your XSLT is ok, my suggestions still apply. I've found
> > bugs that way before. So if it's really the SVG that's having a problem
> > check if Batik is in the classpath and if you're using the version
> > that's coming with your FOP version.
> 
> Hi,
> 
> Sorry, I forgot to mention that. I did try it with the log level set to
> LEVEL_DEBUG, but it made no difference. I didn't receive any additional
> output from using the standard LEVEL_INFO. I also have batik.jar in my
> classpath. Any other ideas?
> 
> Regards,
> Ozhan
> 
> > 
> > On 07.05.2003 02:29:54 Ozhan Hassan wrote:
> > > I know that there is nothing wrong with the XSLT, including the SVG
> > > because if I run fop from the command line, passing it an XML file and the
> > > XSLT, it works fine. It only hangs when I run it via my application. I am
> > > guessing that maybe my application isn't setting a property which is
> > > needed, or something like that. If I comment out the SVG, my application
> > > runs fine. Does anyone know why this is happening?
> > 
> > 
> > 
> > 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]
> 
> 


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



Re: Problem rendering SVG

2003-05-07 Thread Ozhan Hassan
On Wed, 7 May 2003, Jeremias Maerki wrote:

> You didn't say whether setting the log level to LEVEL_DEBUG helped or
> not. Even if your XSLT is ok, my suggestions still apply. I've found
> bugs that way before. So if it's really the SVG that's having a problem
> check if Batik is in the classpath and if you're using the version
> that's coming with your FOP version.

Hi,

Sorry, I forgot to mention that. I did try it with the log level set to
LEVEL_DEBUG, but it made no difference. I didn't receive any additional
output from using the standard LEVEL_INFO. I also have batik.jar in my
classpath. Any other ideas?

Regards,
Ozhan

> 
> On 07.05.2003 02:29:54 Ozhan Hassan wrote:
> > I know that there is nothing wrong with the XSLT, including the SVG
> > because if I run fop from the command line, passing it an XML file and the
> > XSLT, it works fine. It only hangs when I run it via my application. I am
> > guessing that maybe my application isn't setting a property which is
> > needed, or something like that. If I comment out the SVG, my application
> > runs fine. Does anyone know why this is happening?
> 
> 
> 
> 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 rendering SVG

2003-05-07 Thread Jeremias Maerki
You didn't say whether setting the log level to LEVEL_DEBUG helped or
not. Even if your XSLT is ok, my suggestions still apply. I've found
bugs that way before. So if it's really the SVG that's having a problem
check if Batik is in the classpath and if you're using the version
that's coming with your FOP version.

On 07.05.2003 02:29:54 Ozhan Hassan wrote:
> I know that there is nothing wrong with the XSLT, including the SVG
> because if I run fop from the command line, passing it an XML file and the
> XSLT, it works fine. It only hangs when I run it via my application. I am
> guessing that maybe my application isn't setting a property which is
> needed, or something like that. If I comment out the SVG, my application
> runs fine. Does anyone know why this is happening?



Jeremias Maerki


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



Re: Problem rendering SVG

2003-05-07 Thread Ozhan Hassan
On Mon, 5 May 2003, Jeremias Maerki wrote:

> Try setting the log level to LEVEL_DEBUG and watch the log. Maybe that
> helps finding out what's wrong. Without actually running your code, I'd
> say it should be ok.
> 
> What you can also try is to disable the stylesheet (by using the
> identity transformer and loading an XSL:FO file). This helps narrow down
> the possibilities for errors. Also temporarily comment out the SVG code
> in your stylesheet to see if it has something to do with that.

I know that there is nothing wrong with the XSLT, including the SVG
because if I run fop from the command line, passing it an XML file and the
XSLT, it works fine. It only hangs when I run it via my application. I am
guessing that maybe my application isn't setting a property which is
needed, or something like that. If I comment out the SVG, my application
runs fine. Does anyone know why this is happening?

Regards.
Ozhan

> 
> On 05.05.2003 09:23:50 Ozhan Hassan wrote:
> > I am experiencing some a weird problem while trying to render some SVG.
> > I have a simple java program which reads in an XML file and an XSLT
> > stylesheet (containing some SVG) and render it out to PDF. What happens is
> > my terminal just frezzes, and I can't kill the process or do anything
> > else. The process only hangs when I run my application, i.e. if I run fop
> > from the command line passing it the XSLT with the SVG, it works fine.
> 
> 
> 
> 
> 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]