On 09/04/2018 12:49 PM, Ken Moffat via blfs-dev wrote:
On Tue, Sep 04, 2018 at 11:24:37AM -0500, DJ Lucas via blfs-dev wrote:
On September 4, 2018 7:22:02 AM CDT, Ken Moffat via blfs-dev
<[email protected]> wrote:
Take a look here: https://tdg.docbook.org/tdg/5.0/ch02.html
That's for 5.0, but section 1.3 applies equally to Docbook 4.5.
Thanks, so the 'local' definitions are an internal subset, and
override the (main) external subset.
The start of a page is like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY openssh-download-http
"http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&openssh-version;.tar.gz">
<!ENTITY openssh-download-ftp
" "> <!-- at the moment, unable to connect via ftp: ken
"ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&openssh-version;.tar.gz">
-->
<!ENTITY openssh-md5sum "ce1d090fa6239fd38eb989d5e983b074">
<!ENTITY openssh-size "1.5 MB">
<!ENTITY openssh-buildsize "44 MB (add 7 MB for tests)">
<!ENTITY openssh-time "0.4 SBU (running the tests takes 18+
minutes,
irrespective of processor speed)">
]>
The %general-entities; reads in the entities in general.ent which, in
turn, reads in packages.ent. Note that the local entities (download,
md5sum, etc) are after the general entities.
I do not know if specifying an entity name twice produces an error or
warning or just silently overrides the previous definition.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page