mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
03a2986c05
Update to libqalculate-4.0.0.
410 lines
16 KiB
XML
410 lines
16 KiB
XML
<?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 docbook5-download-http "https://docbook.org/xml/5.0/docbook-5.0.zip">
|
|
<!ENTITY docbook5-download-ftp " ">
|
|
<!ENTITY docbook5-md5sum "2411c19ed4fb141f3fa3d389fae40736">
|
|
<!ENTITY docbook5-size "820 KB">
|
|
<!ENTITY docbook5-buildsize "6.2 MB">
|
|
<!ENTITY docbook5-time "0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="docbook5" xreflabel="docbook-xml-5.0">
|
|
<?dbhtml filename="docbook5.html"?>
|
|
|
|
<sect1info>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>docbook-xml-5.0</title>
|
|
|
|
<indexterm zone="docbook5">
|
|
<primary sortas="a-DocBook5-XML-DTD">DocBook XML DTD and Schemas 5.0</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to DocBook XML DTD and Schemas 5.0</title>
|
|
|
|
<para>
|
|
The <application>DocBook XML DTD and Schemas</application>-5.0 package
|
|
contains document type definitions and schemas for verification of XML
|
|
data files against the DocBook rule set. These are useful for structuring
|
|
books and software documentation to a standard allowing you to utilize
|
|
transformations already written for that standard. In addition to
|
|
providing a DTD, version 5 introduced the RelaxNG schema and Schematron
|
|
rules, and is incompatible with previous versions of DocBook XML.
|
|
</para>
|
|
|
|
&lfs111_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&docbook5-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&docbook5-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &docbook5-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &docbook5-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &docbook5-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &docbook5-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">DocBook XML DTD and Schemas 5.0 Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="libxml2"/>,
|
|
<xref linkend="sgml-common"/>, and
|
|
<xref linkend="unzip"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/docbook5-xml"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of DocBook XML DTD and Schemas 5.0</title>
|
|
|
|
<para>
|
|
Install <application>DocBook XML DTD and Schemas</application>
|
|
by running the following commands as the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>install -vdm755 /usr/share/xml/docbook/schema/{dtd,rng,sch,xsd}/5.0 &&
|
|
install -vm644 dtd/* /usr/share/xml/docbook/schema/dtd/5.0 &&
|
|
install -vm644 rng/* /usr/share/xml/docbook/schema/rng/5.0 &&
|
|
install -vm644 sch/* /usr/share/xml/docbook/schema/sch/5.0 &&
|
|
install -vm644 xsd/* /usr/share/xml/docbook/schema/xsd/5.0</userinput></screen>
|
|
|
|
<para>
|
|
Create (or update) and populate the
|
|
<filename>/etc/xml/docbook-5.0</filename> catalog file by running the
|
|
following commands as the <systemitem class="username">root</systemitem>
|
|
user:
|
|
</para>
|
|
|
|
<screen role="root"><?dbfo keep-together="auto"?><userinput>if [ ! -e /etc/xml/docbook-5.0 ]; then
|
|
xmlcatalog --noout --create /etc/xml/docbook-5.0
|
|
fi &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//DTD DocBook XML 5.0//EN" \
|
|
"file:///usr/share/xml/docbook/schema/dtd/5.0/docbook.dtd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "system" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/dtd/docbook.dtd" \
|
|
"file:///usr/share/xml/docbook/schema/dtd/5.0/docbook.dtd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "system" \
|
|
"http://docbook.org/xml/5.0/dtd/docbook.dtd" \
|
|
"file:///usr/share/xml/docbook/schema/dtd/5.0/docbook.dtd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" \
|
|
"file:///usr/share/xml/docbook/schema/rng/5.0/docbook.rng" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/rng/docbook.rng" \
|
|
"file:///usr/share/xml/docbook/schema/rng/5.0/docbook.rng" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" \
|
|
"file:///usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/rng/docbookxi.rng" \
|
|
"file:///usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/rnc/docbook.rnc" \
|
|
"file:///usr/share/xml/docbook/schema/rng/5.0/docbook.rnc" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/rng/docbook.rnc" \
|
|
"file:///usr/share/xml/docbook/schema/rng/5.0/docbook.rnc" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/rnc/docbookxi.rnc" \
|
|
"file:///usr/share/xml/docbook/schema/rng/5.0/docbookxi.rnc" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/rng/docbookxi.rnc" \
|
|
"file:///usr/share/xml/docbook/schema/rng/5.0/docbookxi.rnc" \
|
|
/etc/xml/docbook-5.0 &&
|
|
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/docbook.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/xsd/docbook.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/docbook.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/xsd/docbookxi.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/docbookxi.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/xsd/docbookxi.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/docbookxi.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xi.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/xi.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/xsd/xi.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/xi.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/xlink.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/xsd/xlink.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/xlink.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xml.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/xml.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/xsd/xml.xsd" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/xml.xsd" \
|
|
/etc/xml/docbook-5.0 &&
|
|
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/sch/docbook.sch" \
|
|
"file:///usr/share/xml/docbook/schema/sch/5.0/docbook.sch" \
|
|
/etc/xml/docbook-5.0 &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/sch/docbook.sch" \
|
|
"file:///usr/share/xml/docbook/schema/sch/5.0/docbook.sch" \
|
|
/etc/xml/docbook-5.0</userinput></screen>
|
|
|
|
|
|
<para>
|
|
While again as the <systemitem class="username">root</systemitem> user,
|
|
create the individual catalogs:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>xmlcatalog --noout --create /usr/share/xml/docbook/schema/dtd/5.0/catalog.xml &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//DTD DocBook XML 5.0//EN" \
|
|
"docbook.dtd" /usr/share/xml/docbook/schema/dtd/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "system" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/dtd/docbook.dtd" \
|
|
"docbook.dtd" /usr/share/xml/docbook/schema/dtd/5.0/catalog.xml &&
|
|
|
|
xmlcatalog --noout --create /usr/share/xml/docbook/schema/rng/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/rng/docbook.rng" \
|
|
"docbook.rng" /usr/share/xml/docbook/schema/rng/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" \
|
|
"docbook.rng" /usr/share/xml/docbook/schema/rng/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/rng/docbookxi.rng" \
|
|
"docbookxi.rng" /usr/share/xml/docbook/schema/rng/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" \
|
|
"docbookxi.rng" /usr/share/xml/docbook/schema/rng/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/rng/docbook.rnc" \
|
|
"docbook.rnc" /usr/share/xml/docbook/schema/rng/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rnc" \
|
|
"docbook.rnc" /usr/share/xml/docbook/schema/rng/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/rng/docbookxi.rnc" \
|
|
"docbookxi.rnc" /usr/share/xml/docbook/schema/rng/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rnc" \
|
|
"docbookxi.rnc" /usr/share/xml/docbook/schema/rng/5.0/catalog.xml &&
|
|
|
|
xmlcatalog --noout --create /usr/share/xml/docbook/schema/sch/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/sch/docbook.sch" \
|
|
"docbook.sch" /usr/share/xml/docbook/schema/sch/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/sch/docbook.sch" \
|
|
"docbook.sch" /usr/share/xml/docbook/schema/sch/5.0/catalog.xml &&
|
|
|
|
xmlcatalog --noout --create /usr/share/xml/docbook/schema/xsd/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/xsd/docbook.xsd" \
|
|
"docbook.xsd" /usr/share/xml/docbook/schema/xsd/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd" \
|
|
"docbook.xsd" /usr/share/xml/docbook/schema/xsd/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/xsd/docbookxi.xsd" \
|
|
"docbookxi.xsd" /usr/share/xml/docbook/schema/xsd/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/xsd/docbookxi.xsd" \
|
|
"docbookxi.xsd" /usr/share/xml/docbook/schema/xsd/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/xsd/xlink.xsd" \
|
|
"xlink.xsd" /usr/share/xml/docbook/schema/xsd/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd" \
|
|
"xlink.xsd" /usr/share/xml/docbook/schema/xsd/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://docbook.org/xml/5.0/xsd/xml.xsd" \
|
|
"xml.xsd" /usr/share/xml/docbook/schema/xsd/5.0/catalog.xml &&
|
|
xmlcatalog --noout --add "uri" \
|
|
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xml.xsd" \
|
|
"xml.xsd" /usr/share/xml/docbook/schema/xsd/5.0/catalog.xml</userinput></screen>
|
|
|
|
<para>
|
|
Create (or update) and populate the system XML catalog
|
|
(<filename>/etc/xml/catalog</filename>) by running the
|
|
following commands as the <systemitem class="username">root</systemitem>
|
|
user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>if [ ! -e /etc/xml/catalog ]; then
|
|
xmlcatalog --noout --create /etc/xml/catalog
|
|
fi &&
|
|
xmlcatalog --noout --add "delegatePublic" \
|
|
"-//OASIS//DTD DocBook XML 5.0//EN" \
|
|
"file:///usr/share/xml/docbook/schema/dtd/5.0/catalog.xml" \
|
|
/etc/xml/catalog &&
|
|
xmlcatalog --noout --add "delegateSystem" \
|
|
"http://docbook.org/xml/5.0/dtd/" \
|
|
"file:///usr/share/xml/docbook/schema/dtd/5.0/catalog.xml" \
|
|
/etc/xml/catalog &&
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
"http://docbook.org/xml/5.0/dtd/" \
|
|
"file:///usr/share/xml/docbook/schema/dtd/5.0/catalog.xml" \
|
|
/etc/xml/catalog &&
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
"http://docbook.org/xml/5.0/rng/" \
|
|
"file:///usr/share/xml/docbook/schema/rng/5.0/catalog.xml" \
|
|
/etc/xml/catalog &&
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
"http://docbook.org/xml/5.0/sch/" \
|
|
"file:///usr/share/xml/docbook/schema/sch/5.0/catalog.xml" \
|
|
/etc/xml/catalog &&
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
"http://docbook.org/xml/5.0/xsd/" \
|
|
"file:///usr/share/xml/docbook/schema/xsd/5.0/catalog.xml" \
|
|
/etc/xml/catalog</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="configuration">
|
|
<title>Configuring DocBook XML DTD and Schemas 5.0</title>
|
|
|
|
<sect3 id="docbook5-config">
|
|
<title>Config Files</title>
|
|
|
|
<para>
|
|
<filename>/etc/xml/catalog</filename> and
|
|
<filename>/etc/xml/docbook-5.0</filename>
|
|
</para>
|
|
|
|
<indexterm zone="docbook5 docbook-config">
|
|
<primary sortas="e-etc-xml-docbook5">/etc/xml/docbook-5.0</primary>
|
|
</indexterm>
|
|
|
|
<indexterm zone="docbook5 docbook-config">
|
|
<primary sortas="e-etc-xml-catalog5">/etc/xml/catalog</primary>
|
|
</indexterm>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Files</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>DTD, RNC, RNG, SCH and XSD files</seg>
|
|
<seg>/etc/xml and /usr/share/xml/docbook/schema/{dtd,rng,sch,xsd}/5.0</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="DTD5-files">
|
|
<term><filename>DTD files</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contain the DocBook 5.0 document type definitions which define the
|
|
element types and the attribute lists that can be used in the
|
|
corresponding <filename>XML</filename> files
|
|
</para>
|
|
<indexterm zone="docbook5 DTD5-files">
|
|
<primary sortas="g-XML-DTD-files">XML DTD Files</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="Schema5-files">
|
|
<term><filename>RNC, RNG, and SCH files</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contain the Docbook 5.0 RelaxNG, RelaxNG Compact, and Schematron
|
|
schema definitions
|
|
</para>
|
|
<indexterm zone="docbook5 Schema5-files">
|
|
<primary sortas="g-XML-Schema-files">XML Schema files</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="XSD5-files">
|
|
<term><filename>XSD files</filename></term>
|
|
<listitem>
|
|
<para>
|
|
files contain DocBook-5.0 Schematron rules
|
|
</para>
|
|
<indexterm zone="docbook5 XSD5-files">
|
|
<primary sortas="g-XML-XSD5-files">XML Schematron rules</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|