XML ISO8879 Entities

From CBLFS
Jump to: navigation, search

Contents

Introduction to XML ISO8879 Entities

XML Entity Declarations for Characters

Project Homepage: http://www.w3.org/2003/entities/

Dependencies

Required

Caution.png

Note

This package isn't distributed in an archive, we can download the files individually from w3 and save them if you wish:
mkdir iso8879.1986-entities
cd iso8879.1986-entities
wget -i- -Bhttp://www.w3.org/2003/entities/iso8879/ << EOS
isoamsa.ent
isoamsb.ent
isoamsc.ent
isoamsn.ent
isoamso.ent
isoamsr.ent
isobox.ent
isocyr1.ent
isocyr2.ent
isodia.ent
isogrk1.ent
isogrk2.ent
isogrk3.ent
isogrk4.ent
isolat1.ent
isolat2.ent
isonum.ent
isopub.ent
isotech.ent
EOS

Non-Multilib or Multilib

Package Installation

Install the Schema with the following commands:

install -dv -m755 /usr/share/xml/entities/iso-8879.1986/ent &&
install -v -m644 *.ent /usr/share/xml/entities/iso-8879.1986/ent

Local Catalog

Create a local catalog for this package:

xmlcatalog --noout --create /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" \
           "./ent/isodia.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" \
           "./ent/isonum.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Publishing//EN//XML" \
           "./ent/isopub.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES General Technical//EN//XML" \
           "./ent/isotech.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" \
           "./ent/isolat1.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" \
           "./ent/isolat2.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" \
           "./ent/isogrk1.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" \
           "./ent/isogrk2.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" \
           "./ent/isogrk3.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" \
           "./ent/isogrk4.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" \
           "./ent/isoamsa.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" \
           "./ent/isoamsb.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" \
           "./ent/isoamsc.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" \
           "./ent/isoamsn.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" \
           "./ent/isoamso.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" \
           "./ent/isoamsr.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" \
           "./ent/isobox.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" \
           "./ent/isocyr1.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml &&
xmlcatalog --noout --add "public" \
           "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" \
           "./ent/isocyr2.ent" \
           /usr/share/xml/entities/iso-8879.1986/catalog.xml

Global Catalog

Create the global catalog if it doesn't exist:

install -dv -m755 /etc/xml
[ ! -f /etc/xml/catalog ] &&
    xmlcatalog --noout --create /etc/xml/catalog

Add entries into the global catalog for this package:

xmlcatalog --noout --add "delegatePublic" \
           "ISO 8879:1986//ENTITIES" \
           "file:///usr/share/xml/entities/iso-8879.1986/catalog.xml" \
           /etc/xml/catalog
Personal tools