Re: [docbook-apps] extra page between cover and chapter with docbook

2004-06-04 Thread Jason Novotny
   Ok, it should be  for both, duh! ;-) However, I have 
used just the following section for my title.xml (and then create the 
xsl which is imported):


   
 
 
   
   

but I still see the second page which has a horizontal line at the top 
and the copyright info-- how can I just get rid of this second page as 
well? Do I need to override  somehow 
to not be used? Is this the second page that gets printed?

   Thanks, Jason
Jason Novotny wrote:
Hi Bob,
   I'm using the following two lines which should be ok, no?



   Thanks, Jason
Bob Stayton wrote:
Hi,
Are you importing or including the docbook.xsl stylesheet in your
customization layer?  It must be imported.  The difference permits the
mechanism of import precedence to allow your new template with that 
name to
override the existing one.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
- Original Message - From: "Jason Novotny" <[EMAIL PROTECTED]>
To: "Bob Stayton" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; 
Sent: Thursday, June 03, 2004 3:02 AM
Subject: Re: [docbook-apps] extra page between cover and chapter with
docbook
 

Hi Bob,
   Thanks-- that worked just fine to get rid of the balnk page.
However, I still see the title and copyright on separate pages when I
want them both on the same cover page. I've been browsing your great
document and I confess it seems a little daunting. I've tried the
  
following:
 

Copying docbook-xsl-1.65.1/fo/titlepage.templates.xml  to my
  
titlepage.xml
 

running xslt as suggested to create my xsl:
xsltproc -output titlepage.xsl 
docbook-xsl-1.65.1/template/titlepage.xsl
titlepage.xml

and then including it in my customization file:

Now I get:
[xslt] : Fatal Error! java.lang.RuntimeException: ElemTemplateElement
error: Found more than one template named: book.titlepage.separator
Cause: java.lang.RuntimeException: ElemTemplateElement error: Found 
more
than one template named: book.titlepage.separator

   Thanks, Jason
Bob Stayton wrote:
  

There is a workaround for this FOP problem in this message:
http://lists.oasis-open.org/archives/docbook/200210/msg00122.html
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
- Original Message - From: "Jason Novotny" 
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; 
Sent: Thursday, June 03, 2004 1:27 AM
Subject: [docbook-apps] extra page between cover and chapter with 
docbook




Hi and sorry for posting a question that is likely asked numerous 
times
but i couldn't find it on the FAQ. I'm using the docbook 
stylesheets and
after using FOP to render the fop I see my title on one page, the
copyright info on the very top of the second page and the third 
page is
blank. Any idea what I can do to just render the title and 
copyright on
the same page and have the TOC start on page? This is my docbook 
below:


My Guide

  
2003, 2004
My Project
  


..

  Thanks very much, Jason
To unsubscribe from this list, send a post to
  
[EMAIL PROTECTED], or visit
http://www.oasis-open.org/mlmanage/.


  



  

 


-
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: [docbook-apps] extra page between cover and chapter with docbook

2004-06-04 Thread Jason Novotny
Hi Bob,
   I'm using the following two lines which should be ok, no?



   Thanks, Jason
Bob Stayton wrote:
Hi,
Are you importing or including the docbook.xsl stylesheet in your
customization layer?  It must be imported.  The difference permits the
mechanism of import precedence to allow your new template with that name to
override the existing one.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
- Original Message - 
From: "Jason Novotny" <[EMAIL PROTECTED]>
To: "Bob Stayton" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; 
Sent: Thursday, June 03, 2004 3:02 AM
Subject: Re: [docbook-apps] extra page between cover and chapter with
docbook

 

Hi Bob,
   Thanks-- that worked just fine to get rid of the balnk page.
However, I still see the title and copyright on separate pages when I
want them both on the same cover page. I've been browsing your great
document and I confess it seems a little daunting. I've tried the
   

following:
 

Copying docbook-xsl-1.65.1/fo/titlepage.templates.xml  to my
   

titlepage.xml
 

running xslt as suggested to create my xsl:
xsltproc -output titlepage.xsl docbook-xsl-1.65.1/template/titlepage.xsl
titlepage.xml
and then including it in my customization file:

Now I get:
[xslt] : Fatal Error! java.lang.RuntimeException: ElemTemplateElement
error: Found more than one template named: book.titlepage.separator
Cause: java.lang.RuntimeException: ElemTemplateElement error: Found more
than one template named: book.titlepage.separator
   Thanks, Jason
Bob Stayton wrote:
   

There is a workaround for this FOP problem in this message:
http://lists.oasis-open.org/archives/docbook/200210/msg00122.html
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
- Original Message - 
From: "Jason Novotny" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; 
Sent: Thursday, June 03, 2004 1:27 AM
Subject: [docbook-apps] extra page between cover and chapter with docbook


 

Hi and sorry for posting a question that is likely asked numerous times
but i couldn't find it on the FAQ. I'm using the docbook stylesheets and
after using FOP to render the fop I see my title on one page, the
copyright info on the very top of the second page and the third page is
blank. Any idea what I can do to just render the title and copyright on
the same page and have the TOC start on page? This is my docbook below:

My Guide

  
2003, 2004
My Project
  


..

  Thanks very much, Jason
To unsubscribe from this list, send a post to
   

[EMAIL PROTECTED], or visit
http://www.oasis-open.org/mlmanage/.
 

   


 

   


 


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


Re: [docbook-apps] extra page between cover and chapter with docbook

2004-06-03 Thread Jason Novotny
Hi Bob,
   Thanks-- that worked just fine to get rid of the balnk page. 
However, I still see the title and copyright on separate pages when I 
want them both on the same cover page. I've been browsing your great 
document and I confess it seems a little daunting. I've tried the following:

Copying docbook-xsl-1.65.1/fo/titlepage.templates.xml  to my  titlepage.xml
running xslt as suggested to create my xsl:
xsltproc -output titlepage.xsl docbook-xsl-1.65.1/template/titlepage.xsl 
titlepage.xml

and then including it in my customization file:

Now I get:
[xslt] : Fatal Error! java.lang.RuntimeException: ElemTemplateElement 
error: Found more than one template named: book.titlepage.separator 
Cause: java.lang.RuntimeException: ElemTemplateElement error: Found more 
than one template named: book.titlepage.separator

   Thanks, Jason
Bob Stayton wrote:
There is a workaround for this FOP problem in this message:
http://lists.oasis-open.org/archives/docbook/200210/msg00122.html
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
- Original Message - 
From: "Jason Novotny" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; 
Sent: Thursday, June 03, 2004 1:27 AM
Subject: [docbook-apps] extra page between cover and chapter with docbook

 

Hi and sorry for posting a question that is likely asked numerous times
but i couldn't find it on the FAQ. I'm using the docbook stylesheets and
after using FOP to render the fop I see my title on one page, the
copyright info on the very top of the second page and the third page is
blank. Any idea what I can do to just render the title and copyright on
the same page and have the TOC start on page? This is my docbook below:

 My Guide
 
   
 2003, 2004
 My Project
   
 

..

   Thanks very much, Jason
To unsubscribe from this list, send a post to
   

[EMAIL PROTECTED], or visit
http://www.oasis-open.org/mlmanage/.
 

   


 


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


extra page between cover and chapter with docbook

2004-06-03 Thread Jason Novotny
Hi and sorry for posting a question that is likely asked numerous times 
but i couldn't find it on the FAQ. I'm using the docbook stylesheets and 
after using FOP to render the fop I see my title on one page, the 
copyright info on the very top of the second page and the third page is 
blank. Any idea what I can do to just render the title and copyright on 
the same page and have the TOC start on page? This is my docbook below:


 My Guide
 
   
 2003, 2004
 My Project
   
 

..

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


Re: trying to convert docbook to pdf

2004-06-02 Thread Jason Novotny
   On a further note, I was succesful using XEP from www.renderx.com to 
convert my fop into pdf (it also validated my fop document), so it would 
seem the problem is not with the stylesheets or my produced fop file, 
but the FOP tool seems to bug out for some reason I added -debug and 
I get this:

.fop:2:-1 Flow 'xsl-region-body' does not map to the region-body in 
page-master 'blank'
org.apache.fop.apps.FOPException: 
file:/Users/novotny/gridsphere/docs/docbook/UsersGuide/html/UsersGuide.fop:2:-1 
Flow 'xsl-region-body' does not map to the region-body in page-master 
'blank'
   at 
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:380)
   at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:276)
   at 
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
   at 
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
   at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1675)
   at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
   at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
   at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634)
   at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
   at 
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
   at org.apache.fop.apps.Driver.render(Driver.java:498)
   at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
   at org.apache.fop.apps.Fop.main(Fop.java:62)

   Jason
Jason Novotny wrote:
Hi,
   I have a docbook document that I'm having trouble converting to 
PDF. First I use the xslt ant task with my docbook file and  the 
Norman Walsh stylesheets from the latest docbook-xsl release:

[echo]
[echo]
[echo] Generating Flow Objects from UsersGuide.xml ...
[xslt] Processing 
/Users/novotny/gridsphere/docs/docbook/UsersGuide/UsersGuide.xml to 
/Users/novotny/gridsphere/docs/docbook/UsersGuide/html/UsersGuide.fop
[xslt] Loading stylesheet 
/Users/novotny/gridsphere/docs/docbook/common/docbook-xsl-1.64.0/fo/docbook.xsl 

[xslt] 
Users/novotny/gridsphere/docs/docbook/common/docbook-xsl-1.64.0/fo/docbook.xsl:197:16: 
Warning! Making portrait pages on USletter paper (8.5inx11in)

   This seems to work and I have a large UsersGuide.fop document, so 
far so good.

Now, I use another ant call which invokes fop (0.20.5) to create a pdf 
from the docbook:


   
   
   
   
   
   
   
   
   
   

However, this produces:
[echo]
[echo]
[echo] Converting Flow Objects to PDF ...
[java] [DEBUG] Input mode:
[java] [DEBUG] FO
[java] [DEBUG] fo input file: UsersGuide.fop
[java] [DEBUG] Output mode:
[java] [DEBUG] pdf
[java] [DEBUG] output file: UsersGuide.pdf
[java] [DEBUG] OPTIONS
[java] [DEBUG] no user configuration file is used [default]
[java] [DEBUG] debug mode on
[java] [DEBUG] dump configuration
[java] [DEBUG] quiet mode on
[java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 
Parser
[java] [INFO] base directory: 
file:/Users/novotny/gridsphere/docs/docbook/UsersGuide/html/
[java] [INFO] FOP 0.20.5
[java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 
Parser
[java] [INFO] building formatting object tree
[java] [INFO] setting up fonts
[java] [ERROR] property - "background-position-horizontal" is not 
implemented yet.
[java] [ERROR] property - "background-position-vertical" is not 
implemented yet.
[java] [INFO] JAI support was not installed (read: not present at 
build time). Trying to use Jimi instead
[java] [ERROR] property - "background-position-horizontal" is not 
implemented yet.
   
[java] [ERROR] 
file:/Users/novotny/gridsphere/docs/docbook/UsersGuide/html/UsersGuide.fop:2:54401 
Flow 'xsl-region-body' does not map to the region-body in page-master 
'blank'

[java] Java Result: 2
and it seems no PDF file is created. Is this a problem with my fop, or 
the docbook stylesheets? Any ideas on how to debug this is greatly 
appreciated.

   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]


trying to convert docbook to pdf

2004-06-02 Thread Jason Novotny
Hi,
   I have a docbook document that I'm having trouble converting to PDF. 
First I use the xslt ant task with my docbook file and  the Norman Walsh 
stylesheets from the latest docbook-xsl release:

[echo]
[echo]
[echo] Generating Flow Objects from UsersGuide.xml ...
[xslt] Processing 
/Users/novotny/gridsphere/docs/docbook/UsersGuide/UsersGuide.xml to 
/Users/novotny/gridsphere/docs/docbook/UsersGuide/html/UsersGuide.fop
[xslt] Loading stylesheet 
/Users/novotny/gridsphere/docs/docbook/common/docbook-xsl-1.64.0/fo/docbook.xsl
[xslt] 
Users/novotny/gridsphere/docs/docbook/common/docbook-xsl-1.64.0/fo/docbook.xsl:197:16: 
Warning! Making portrait pages on USletter paper (8.5inx11in)

   This seems to work and I have a large UsersGuide.fop document, so 
far so good.

Now, I use another ant call which invokes fop (0.20.5) to create a pdf 
from the docbook:


   
   
   
   
   
   
   
   
   
   

However, this produces:
[echo]
[echo]
[echo] Converting Flow Objects to PDF ...
[java] [DEBUG] Input mode:
[java] [DEBUG] FO
[java] [DEBUG] fo input file: UsersGuide.fop
[java] [DEBUG] Output mode:
[java] [DEBUG] pdf
[java] [DEBUG] output file: UsersGuide.pdf
[java] [DEBUG] OPTIONS
[java] [DEBUG] no user configuration file is used [default]
[java] [DEBUG] debug mode on
[java] [DEBUG] dump configuration
[java] [DEBUG] quiet mode on
[java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[java] [INFO] base directory: 
file:/Users/novotny/gridsphere/docs/docbook/UsersGuide/html/
[java] [INFO] FOP 0.20.5
[java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[java] [INFO] building formatting object tree
[java] [INFO] setting up fonts
[java] [ERROR] property - "background-position-horizontal" is not 
implemented yet.
[java] [ERROR] property - "background-position-vertical" is not 
implemented yet.
[java] [INFO] JAI support was not installed (read: not present at 
build time). Trying to use Jimi instead
[java] [ERROR] property - "background-position-horizontal" is not 
implemented yet.
   
[java] [ERROR] 
file:/Users/novotny/gridsphere/docs/docbook/UsersGuide/html/UsersGuide.fop:2:54401 
Flow 'xsl-region-body' does not map to the region-body in page-master 
'blank'

[java] Java Result: 2
and it seems no PDF file is created. Is this a problem with my fop, or 
the docbook stylesheets? Any ideas on how to debug this is greatly 
appreciated.

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


Re: AW: AW: including images

2003-05-08 Thread Jason Novotny
Hi Anton,
Thanks for your FOP output-- I've compared it with mine and it looks fine:

Figure¬ 1.1.¬ Portlet Web 
Applications and the Portlet Lifecycle





But I'm still getting:
[java] [ERROR] Flow 'xsl-region-body' does not map to the region-body in 
page-master 'blank'
[java] at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown 
Source)
[java] at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown 
Source)
[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

and it doesn't render. I'm using docbook 1.60.1 stylesheets-- did you 
have to make any edits to it?

Thanks, Jason
anton wrote:
Hi!
 

   How do I do this exactly-- it looks like FOP tags are not only more
confusing than docbook tags but certainly a lot more plentiful! For
instance for my 5 docbook lines it turns it into 100 lines of fop that
doesn't look like it was intended to be human editable...
 

OK, i used now this -Tag and there are no warnings or errors
following XML-Code:

 Test
 

and here the fo Part:


Abbildung 2.1. Test





There are no tags, which would be able to cause errros.
keep-with-next.within-column="always" is ignored.
=> There is no need to customize this template. Check your fo-output for
differences with my.

CU
Anton
 



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


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]

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]


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

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]


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

Re: problems with

2003-03-19 Thread Jason Novotny
Jason Novotny wrote:
Here's my fop output--
Thanks, Jason
Oleg Tkachenko wrote:
Jason Novotny wrote:
I'm trying to use docbook and fop together and I have the following 
which renders in HTML fine:





However when I fop this, I get:
[java] -
[java] org.xml.sax.SAXParseException: name expected (found "=")

Hmm, really strange. Can you post relevant fragment of the generated 
xsl-fo?




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" bac

how to specify XML parser used by fop

2003-03-19 Thread Jason Novotny
  I guess it uses Aelfred by default which I'm having problems with-- 
how I can I tell fop to use crimson or whatever else?

  Thanks, Jason

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


problems with

2003-03-19 Thread Jason Novotny
Hi,
   I'm trying to use docbook and fop together and I have the following 
which renders in HTML fine:


   

   
However when I fop this, I get:
[java] -
[java] org.xml.sax.SAXParseException: name expected (found "=")
[java] at com.icl.saxon.aelfred.SAXDriver.error(SAXDriver.java:857)
[java] at com.icl.saxon.aelfred.XmlParser.error(XmlParser.java:463)
[java] [DEBUG] Pages rendered: 4
[java] [DEBUG] Avg render time: 3839ms/page
[java] [ERROR] name expected (found "=")
[java] at com.icl.saxon.aelfred.XmlParser.error(XmlParser.java:478)
[java] at 
com.icl.saxon.aelfred.XmlParser.readNmtoken(XmlParser.java:2171)
[java] at 
com.icl.saxon.aelfred.XmlParser.parseAttribute(XmlParser.java:1069)
[java] at 
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1005)
[java] at 
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)

   Any ideas what I should do?
   Thanks, Jason
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]