public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* The DocBook XML dtd, XML:FO and .pdf's
  2000-12-27  6:36 The DocBook XML dtd, XML:FO and .pdf's Bill Brooks
@ 2000-10-09 12:52 ` Bill Brooks
  2000-12-27  6:36 ` Norman Walsh
  1 sibling, 0 replies; 4+ messages in thread
From: Bill Brooks @ 2000-10-09 12:52 UTC (permalink / raw)
  To: docbook-tools-discuss

Has anyone had any luck inserting .pdf's into a docbook document using
the XML version of the DocBook DTD as one can with the SGML version?

I'm using Norm's DocBook XML DTD version 3.1.7, fop 0.14.0 with the most
recent versions of Xalan. Here's what I get when I attempt to do that:

java -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser
org.apache.fop.apps.CommandLine reqs-fop.fo reqs-fop.pdf
FOP-0_14_0
using SAX parser org.apache.xerces.parsers.SAXParser
using renderer org.apache.fop.render.pdf.PDFRenderer
using element mapping org.apache.fop.fo.StandardElementMapping
using element mapping org.apache.fop.svg.SVGElementMapping
using property list mapping org.apache.fop.fo.StandardPropertyListMapping
using property list mapping org.apache.fop.svg.SVGPropertyListMapping
building formatting object tree
WARNING: Unknown formatting object
http://www.w3.org/1999/XSL/Format^inline
setting up fonts
formatting FOs into areas
 [1] [2] [3] [4] [5] [6] [7Error while creating area : Error while loading
image
 file:uc1.pdf : class java.lang.ClassCastException -
java.io.BufferedInputStream


Anyone get this to work? Any workarounds for inserting figures into
documents? Thanks in advance. 

Bill

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: The DocBook XML dtd, XML:FO and .pdf's
  2000-12-27  6:36 ` Norman Walsh
@ 2000-10-10  7:02   ` Norman Walsh
  0 siblings, 0 replies; 4+ messages in thread
From: Norman Walsh @ 2000-10-10  7:02 UTC (permalink / raw)
  To: Bill Brooks; +Cc: docbook-tools-discuss

/ Bill Brooks <wbrooks@lug.ee.calpoly.edu> was heard to say:
| Has anyone had any luck inserting .pdf's into a docbook document using
| the XML version of the DocBook DTD as one can with the SGML version?

Note that you can use the DSSSL stylesheets with XML, you don't have
to use XSL. (I mention this only because XSL processors aren't all
that robust yet, not because I don't wholeheartedly endorse XSL.)

| I'm using Norm's DocBook XML DTD version 3.1.7, fop 0.14.0 with the most
| recent versions of Xalan. Here's what I get when I attempt to do that:

You should switch to OASIS DocBook XML V4.1.2 when you have a chance.
(There shouldn't be any gotcha's, but that's now the official version.)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | A man may by custom fortify himself
http://nwalsh.com/            | against pain, shame, and suchlike
                              | accidents; but as to death, we can
                              | experience it but once, and are all
                              | apprentices when we come to
                              | it.--Montaigne

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: The DocBook XML dtd, XML:FO and .pdf's
  2000-12-27  6:36 The DocBook XML dtd, XML:FO and .pdf's Bill Brooks
  2000-10-09 12:52 ` Bill Brooks
@ 2000-12-27  6:36 ` Norman Walsh
  2000-10-10  7:02   ` Norman Walsh
  1 sibling, 1 reply; 4+ messages in thread
From: Norman Walsh @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Bill Brooks; +Cc: docbook-tools-discuss

/ Bill Brooks <wbrooks@lug.ee.calpoly.edu> was heard to say:
| Has anyone had any luck inserting .pdf's into a docbook document using
| the XML version of the DocBook DTD as one can with the SGML version?

Note that you can use the DSSSL stylesheets with XML, you don't have
to use XSL. (I mention this only because XSL processors aren't all
that robust yet, not because I don't wholeheartedly endorse XSL.)

| I'm using Norm's DocBook XML DTD version 3.1.7, fop 0.14.0 with the most
| recent versions of Xalan. Here's what I get when I attempt to do that:

You should switch to OASIS DocBook XML V4.1.2 when you have a chance.
(There shouldn't be any gotcha's, but that's now the official version.)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | A man may by custom fortify himself
http://nwalsh.com/            | against pain, shame, and suchlike
                              | accidents; but as to death, we can
                              | experience it but once, and are all
                              | apprentices when we come to
                              | it.--Montaigne

^ permalink raw reply	[flat|nested] 4+ messages in thread

* The DocBook XML dtd, XML:FO and .pdf's
@ 2000-12-27  6:36 Bill Brooks
  2000-10-09 12:52 ` Bill Brooks
  2000-12-27  6:36 ` Norman Walsh
  0 siblings, 2 replies; 4+ messages in thread
From: Bill Brooks @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools-discuss

Has anyone had any luck inserting .pdf's into a docbook document using
the XML version of the DocBook DTD as one can with the SGML version?

I'm using Norm's DocBook XML DTD version 3.1.7, fop 0.14.0 with the most
recent versions of Xalan. Here's what I get when I attempt to do that:

java -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser
org.apache.fop.apps.CommandLine reqs-fop.fo reqs-fop.pdf
FOP-0_14_0
using SAX parser org.apache.xerces.parsers.SAXParser
using renderer org.apache.fop.render.pdf.PDFRenderer
using element mapping org.apache.fop.fo.StandardElementMapping
using element mapping org.apache.fop.svg.SVGElementMapping
using property list mapping org.apache.fop.fo.StandardPropertyListMapping
using property list mapping org.apache.fop.svg.SVGPropertyListMapping
building formatting object tree
WARNING: Unknown formatting object
http://www.w3.org/1999/XSL/Format^inline
setting up fonts
formatting FOs into areas
 [1] [2] [3] [4] [5] [6] [7Error while creating area : Error while loading
image
 file:uc1.pdf : class java.lang.ClassCastException -
java.io.BufferedInputStream


Anyone get this to work? Any workarounds for inserting figures into
documents? Thanks in advance. 

Bill

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-12-27  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-27  6:36 The DocBook XML dtd, XML:FO and .pdf's Bill Brooks
2000-10-09 12:52 ` Bill Brooks
2000-12-27  6:36 ` Norman Walsh
2000-10-10  7:02   ` Norman Walsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).