Beyond Linux From Scratch: Version 1.0 | ||
---|---|---|
Prev | Chapter 48. Standard Generalized Markup Language (SGML) | Next |
Download location (HTTP): Download location (FTP): ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-0.6.3.tgz Version used: 0.6.3 Package size: 75 KB Estimated Disk space required: 648 KB Estimated build time: 0.01 SBU |
The sgml-common package contains install-catalog. This is useful for creating and maintaining centralized sgml catalogs.
Install sgml-common by running the following commands:
ln -s /usr/share/automake-1.6 /usr/share/automake && ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man && make && make install && install-catalog --add /etc/sgml/sgml-ent.cat \ /usr/share/sgml/sgml-iso-entities-8879.1986/catalog && install-catalog --add /etc/sgml/sgml-docbook.cat \ /etc/sgml/sgml-ent.cat && rm /usr/share/automake |
Update hint: Remove the above catalog items prior to upgrading with:
install-catalog --remove /etc/sgml/sgml-ent.cat \ /usr/share/sgml/sgml-iso-entities-8879.1986/catalog && install-catalog --remove /etc/sgml/sgml-docbook.cat \ /etc/sgml/sgml-ent.cat
ln -s /usr/share/automake-1.6 /usr/share/automake : This command sets up a symlink for the configure file to find the automake tools it needs.
rm /usr/share/automake : This command removes the above symlink.
/etc/sgml/sgml.conf
No change in this file is necessary.
The sgml-common package contains install-catalog, sgmlwhich, sgml entities files and xml entities files.
install-catalog creates a centralized catalog that maintains references to catalogs scattered throughout the /usr/share/sgml directory tree.
sgmlwhich will print to standard output the name of the main configuration file.
sgml entities files contain the basic character entities defined with SDATA entries.
xml entities files contain the basic character entities defined by a hexadecimal representation of the Unicode character number.