This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Declaring entities in different files
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Declaring entities in different files
- From: Horacio MG <homega at ciberia dot es>
- Date: Thu, 20 Jul 2000 20:02:57 +0200
- References: <20000720143123.A2294@ciberia.es>
- Reply-to: hacho at crosswinds dot net
I found this which may not bi the way I devised it, but might help my
purposes:
<!ENTITY % man.ent SYSTEM "man.ent">
%man.ent;
El jue, 20 de jul de 2000, a las 02:31:23 +0200, Horacio MG dijo:
> I've been bumping my head against the book and the keyboard searching
> for a suitable way to do the following:
>
>
> ---------- book.sgml ----------
>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
> <!ENTITY chap.1 system "chap1/chap.1.sgml">
> <!ENTITY chap.2 system "chap2/chap.2.sgml">
> <!ENTITY chap.3 system "chap3/chap.3.sgml">
>
> <book id="manual" lang="es">
> <bookinfo>
> ...
> <abstract>...</abstract>
> </bookinfo>
>
> &chap.1;
> &chap.2;
> &chap.3;
>
> </book>
> ---------- book.sgml ----------
>
>
> ---------- chap.1.sgml ----------
>
> <chapter id="uno" lang="es">
>
> <title>...</title>
> <abstract>...</abstract>
>
> </chapter>
> ---------- chap.1.sgml ----------
>
> It is in these chap.x.sgml files that I want to declare other files
> (reference pages), but as these "second level" files don't admit a
> doctype declaration, how could I include the entities?
>
> Now, the point of this is to have entities for "third level" files
> declared in various "second level" files (chap.x.sgml) in an orderly
> manner, and not just one big "first level" file (book.sgml).
>
> This tree has some other problems, but I'll leave them for later.
>
>
> Thank you,
>
> --
> Horacio Anno MMDCCLIII A.U.C.
> hacho@crosswinds.net Valencia - ESPAŅA
> --------------------------------------------------------------------
> Key fingerprint = F4EE AE5E 2F01 0DB3 62F2 A9F4 AD31 7093 4233 7AE6
>
>
---fin de respuesta a <20000720143123.A2294@ciberia.es>---
--
Horacio Anno MMDCCLIII A.U.C.
hacho@crosswinds.net Valencia - ESPAŅA
--------------------------------------------------------------------
Key fingerprint = F4EE AE5E 2F01 0DB3 62F2 A9F4 AD31 7093 4233 7AE6