OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC