This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: making a book of articles with Fop


On Thu, Jul 19, 2001 at 05:03:03PM -0500, Jamie Smedsmo wrote:
> I am trying to make a book that consists of a bunch of articles.  I
> want to use apache's Fop to make a pdf file.  I can't find any examples
> and mine doesn't work.  Any suggestions?

Yes. Do NOT create them as separate <article> documents.  When you
are breaking out your chapters like this into separate files, each
file should have valid DocBook code, but NOT an overall element like
<article>.  (and no DOCTYPE headers and such).  So they should be:

  <chapter>
  ....
  </chapter>

or <sect1> or <section> or whatever.

Think of what you are doing as an "include" where you are just sucking
in the code into a single main file.  Visualize the single file and
think of how it should be constructed... then put those chunks into
your separate files. 

Dan

-- 
Dan York, Director of Training        dyork@e-smith.com
Ph: +1-613-751-4401  Mobile: +1-613-263-4312 Fax: +1-613-564-7739 
e-smith, inc. 150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/            open source, open mind

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]