This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: The best way to 'include' parts of a DocBook
- From: Yann Dirson <ydirson at fr dot alcove dot com>
- To: Ljósálfr <fjolsvit at netscape dot net>
- Cc: docbook at lists dot oasis-open dot org
- Date: Tue, 10 Sep 2002 17:53:35 +0200
- Subject: Re: DOCBOOK: The best way to 'include' parts of a DocBook
- References: <3D7E0F96.1080005@netscape.net>
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