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]
Other format: [Raw text]

Re: The best way to 'include' parts of a DocBook


On Tue, Sep 10, 2002 at 11:28:22AM -0400, Ljósálfr wrote:
> I want to create blocks of text, for example, <glossentery/>s and 
> 'include' them in my text at different places.  One strategy I have 
> come up with is to create a separate file for each entry and then add an 
> <!ENTITY term SYSTEM "term.xml"> for each term.  This starts to get 
> rather ugly if I put them all in the '['...']' of the DocType specifier.
> 
> First of all, does anybody understand what I'm attempting? If so, is 
> there a more elegant way of achieving this?

This is usually done by putting all your entity defns and references
in a single file (say "entities.ent"), and just referencing this one
from your master doc.

-- 
Yann Dirson <Yann.Dirson@fr.alcove.com>                 http://www.alcove.com/
Technical support manager                Responsable de l'assistance technique
Senior Free-Software Consultant          Consultant senior en Logiciels Libres
Debian developer (dirson@debian.org)                        Développeur Debian


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