Merge branch 'cde-fixups-1' of ssh://git.code.sf.net/p/cdesktopenv/code into cde...
[oweals/cde.git] / cde / programs / dtdocbook / doc2sdl / catalog.sh
1 #!/bin/ksh
2 # $XConsortium: catalog.sh /main/3 1996/06/19 17:12:50 drk $
3
4 # This file may be "sourced" into your current shell (i.e., invoked
5 # as ". env.sh") or executed in its own shell (i.e., invoked
6 # as "env.sh".  It's purpose is to set up symbolic links from munged
7 # PUBLIC identifiers in the SGML declaration to the actual files on
8 # the system.  PUBLIC identifiers get munged by replacing spaces with
9 # underscores and slashes with percent signs.
10
11 # If all the things you need are based on a common path with entities
12 # in a directory named "Entities" and the DocBook SGML declaration
13 # and document type definition in a directory named SgmlStuff, simply
14 # setting PATH_TOP to that path will make the necessary
15 # customization.  Otherwise, the path to each directory will have
16 # to be edited individually.
17
18 PATH_TOP=/projects/help/sgml/OSF/tpt/DtDocBook
19
20 # the DocBook DTD
21 ln -s ${PATH_TOP}/SgmlStuff/docbook.2.2.1.dtd \
22     -%%HaL_and_O\'Reilly%%DTD_DocBook%%EN
23
24 # ISO Numeric and Special Graphic entities
25 ln -s ${PATH_TOP}/Entities/iso-num.gml        \
26     ISO_8879-1986%%ENTITIES_Numeric_and_Special_Graphic%%EN
27
28 # ISO Publishing entities
29 ln -s ${PATH_TOP}/Entities/iso-pub.gml        \
30     ISO_8879-1986%%ENTITIES_Publishing%%EN
31
32 # ISO Diacritical Mark entities
33 ln -s ${PATH_TOP}/Entities/iso-dia.gml        \
34     ISO_8879-1986%%ENTITIES_Diacritical_Marks%%EN
35
36 # ISO General Technical entities
37 ln -s ${PATH_TOP}/Entities/iso-tech.gml       \
38     ISO_8879-1986%%ENTITIES_General_Technical%%EN
39
40 # ISO Latin 1 entities
41 ln -s ${PATH_TOP}/Entities/iso-lat1.gml       \
42     ISO_8879-1986%%ENTITIES_Added_Latin_1%%EN
43
44 # ISO Latin 2 entities
45 ln -s ${PATH_TOP}/Entities/iso-lat2.gml       \
46     ISO_8879-1986%%ENTITIES_Added_Latin_2%%EN
47
48 # ISO Greek 3 entities
49 ln -s ${PATH_TOP}/Entities/iso-grk3.gml       \
50     ISO_8879-1986%%ENTITIES_Greek_Symbols%%EN
51
52 # ISO Box and Line entities
53 ln -s ${PATH_TOP}/Entities/iso-box.gml        \
54     ISO_8879-1986%%ENTITIES_Box_and_Line_Drawing%%EN