summaryrefslogtreecommitdiffstats
path: root/system/mathML2dtd/doinst.sh
blob: b72330b82ca3b38a459010ad53dda448e45d2721 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
catalog_filepath=etc/xml/catalog

if [ ! -e etc/xml ]; then
    mkdir -p etc/xml
    xmlcatalog --noout --create $catalog_filepath
fi

# DocBook V4.x Entries
xmlcatalog --noout --add 'delegatePublic' \
  "-//OASIS//ENTITIES DocBook XML" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegatePublic' \
  "-//OASIS//DTD DocBook XML" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateSystem' \
  "http://www.oasis-open.org/docbook/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateURI' \
  "http://www.oasis-open.org/docbook/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateSystem' \
  "http://www.oasis-open.org/docbook/xml/4.1.2/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateURI' \
  "http://www.oasis-open.org/docbook/xml/4.1.2/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateSystem' \
  "http://www.oasis-open.org/docbook/xml/4.2/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateURI' \
  "http://www.oasis-open.org/docbook/xml/4.2/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateSystem' \
  "http://www.oasis-open.org/docbook/xml/4.3/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateURI' \
  "http://www.oasis-open.org/docbook/xml/4.3/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateSystem' \
  "http://www.oasis-open.org/docbook/xml/4.4/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'delegateURI' \
  "http://www.oasis-open.org/docbook/xml/4.4/" \
  "file:///etc/xml/docbook" \
  $catalog_filepath
xmlcatalog --noout --add 'rewriteSystem' \
  "http://cdn.docbook.org/release/xsl-nons/1.79.2" \
  "file://usr/share/xml/docbook/xsl-stylesheets-1.79.2" \
  $catalog_filepath
xmlcatalog --noout --add 'rewriteURI' \
  "http://cdn.docbook.org/release/xsl-nons/1.79.2" \
  "file://usr/share/xml/docbook/xsl-stylesheets-1.79.2" \
  $catalog_filepath
xmlcatalog --noout --add 'rewriteSystem' \
  "http://cdn.docbook.org/release/xsl-nons/current" \
  "file://usr/share/xml/docbook/xsl-stylesheets-1.79.2" \
  $catalog_filepath
xmlcatalog --noout --add 'rewriteURI' \
  "http://cdn.docbook.org/release/xsl-nons/current/" \
  "file://usr/share/xml/docbook/xsl-stylesheets-1.79.2" \
  $catalog_filepath
xmlcatalog --noout --add 'rewriteSystem' \
  "http://docbook.sourceforge.net/release/xsl/current" \
  "/usr/share/xml/docbook/xsl-stylesheets-1.79.2" \
  $catalog_filepath
xmlcatalog --noout --add 'rewriteURI' \
  "http://docbook.sourceforge.net/release/xsl/current" \
  "/usr/share/xml/docbook/xsl-stylesheets-1.79.2" \
  $catalog_filepath

# 'mathML2dtd' catalog Entry
xmlcatalog --noout --add 'nextCatalog' \
  '' \
  "file:///usr/share/xml/schema/w3c/mathml2/catalog_mathML2.xml" \
  $catalog_filepath