1 # ##########################################################################
5 # Actions and DataTypes for authoring Help information.
7 # (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
8 # (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
9 # (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
10 # (c) Copyright 1993, 1994, 1995 Novell, Inc.
12 # $TOG: dthelptag.dt.src /main/6 1998/07/29 17:08:50 mgreess $
14 # ##########################################################################
18 # ##########################################################################
20 # WARNING: This file may be overwritten in subsequent installations of
21 # the Common Desktop Environment (CDE). Consequently, any system wide
22 # changes should be made to an equivalent database file in
23 # /etc/dt/types and not in this file.
25 # ##########################################################################
27 # The Help executables are shipped in ../dt/bin, which may not be
28 # part of all the users' paths. Therefore the following string is
29 # defined to add this to the path before invoking the client.
31 set HELPTAG_PATH=\$PATH:/usr/dt/bin
33 # ##################################################################
37 # ##################################################################
38 DATA_ATTRIBUTES DTHELP_HTG
40 ACTIONS Open,Compile,CleanUp
44 DESCRIPTION This is a master HelpTag source file for the \
45 desktop Help System. Information in this file is \
46 formatted using the HelpTag markup language, and \
47 must be compiled with the HelpTag software \
48 ('dthelptag') before viewing. The data type name \
49 is DTHELP_HTG. DTHELP_HTG files have names ending \
54 DATA_CRITERIA DTHELP_HTG1
56 DATA_ATTRIBUTES_NAME DTHELP_HTG
61 # ##################################################################
63 DATA_ATTRIBUTES DTHELP_CTG
65 ACTIONS Open,CompileCanon,CleanUp
69 DESCRIPTION This is a canonical SGML master HelpTag source \
70 file for the desktop Help System. Information in \
71 this file is formatted using the canonical HelpTag \
72 markup language, and must be compiled with the \
73 HelpTag software ('dthelptag') using the '-canon' \
74 option before viewing. The data type name is \
75 DTHELP_CTG. DTHELP_CTG files have names ending \
80 DATA_CRITERIA DTHELP_CTG1
82 DATA_ATTRIBUTES_NAME DTHELP_CTG
87 # ##################################################################
89 DATA_ATTRIBUTES DTHELP_ERR
95 DESCRIPTION This file contains parser errors associated \
96 with a compiled Help volume. This file is \
97 generated by the dthelptag parser only when \
98 parser errors are detected while compiling the \
99 help volume. Its data type name is DTHELP_ERR. \
100 DTHELP_ERR files have names ending with '.err'.
101 TYPE_LABEL DTHELP_ERR
104 DATA_CRITERIA DTHELP_ERR1
106 DATA_ATTRIBUTES_NAME DTHELP_ERR
111 # ##################################################################
112 # ##################################################################
116 # ##################################################################
120 ARG_TYPE DTHELP_HTG,DTHELP_CTG
122 MAP_ACTION OpenHelpTag
142 MAP_ACTION HelpTagCanon
150 ARG_TYPE DTHELP_HTG,DTHELP_CTG
152 MAP_ACTION CleanHelpTag
162 EXEC_STRING /usr/dt/bin/dtpad "%(File)Arg_1%"
163 DESCRIPTION The OpenHelpTag action opens a master HelpTag \
164 file (a '.sdl' or '.hv' file) in a text editor.
174 EXEC_STRING sh -c 'PATH=$HELPTAG_PATH dthelptag -clean `basename "%(File)Arg_1"HelpTag File:"%"`; PATH=$HELPTAG_PATH dthelptag `basename "%(File)Arg_1%"`'
178 DESCRIPTION The HelpTag action compiles a master HelpTag \
179 file to create run-time help files. The run-time \
180 files can be displayed by an application using the \
181 Help system, or by using the 'dthelpview' program.
191 EXEC_STRING sh -c 'PATH=$HELPTAG_PATH dthelptag -clean `basename "%(File)Arg_1"HelpTag File:"%"`; PATH=$HELPTAG_PATH dthelptag -formal `basename "%(File)Arg_1%"`'
195 DESCRIPTION The HelpTagCanon action compiles a canonical SGML \
196 master HelpTag file to create run-time help files. \
197 The run-time files can be displayed by an \
198 application using the Help system, or using the \
199 'dthelpview' program.
209 EXEC_STRING sh -c 'PATH=$HELPTAG_PATH dthelptag -clean `basename "%(File)Arg_1"HelpTag File:"%"`'
211 DESCRIPTION The CleanHelpTag action removes all run-time help \
212 files created by the HelpTag action.
214 # ######################## EOF ############################################