2 StartCode: source @{_env DBKTCL_DIR}docbook.tcl
3 ^set TOSS_PATH "@{_env TPT_LIB}"
4 ^set LOCALE_STRING_DIR "@{_env LOCALE_DIR}"
5 ^set NO_UNIQUE_ID "@{_env _DTHELPTAG_NO_UNIQUE_ID}"
8 StartCode: CloseDocument
11 StartText: @{_followrel child PARTINTRO 5}
13 @{_followrel child TITLE 12}
15 @{_find top gi FOOTNOTE 3}
16 @{_find gi APPENDIX 8}
28 Relation: descendant PART
29 StartText: @{_followrel descendant PART 1010}
33 StartCode: UserError "A @{_gi} was found but it contains no PART" yes
37 ######################################################################
39 ######################################################################
41 Relation: parent DOCINFO
42 StartCode: StartNewVirpage TITLE SDL-RESERVED-TITLE
44 EndCode: CloseTitle TITLE
47 Relation: parent DOCINFO
48 StartCode: StartParagraph @{ID ""} "P" ""
51 Relation: parent TABLE
59 Relation: parent REFSYNOPSISDIV
60 StartCode: StartManPageDivisionTitle @{ID ""}
61 EndCode: EndManPageDivisionTitle
64 Relation: parent REFSECT1
65 StartCode: StartManPageDivisionTitle @{ID ""}
66 EndCode: EndManPageDivisionTitle
69 Relation: parent REFSECT2
70 StartCode: StartManPageDivisionTitle @{ID ""}
71 EndCode: EndManPageDivisionTitle
74 Relation: parent REFSECT3
75 StartCode: StartManPageDivisionTitle @{ID ""}
76 EndCode: EndManPageDivisionTitle
83 Relation: parent CAUTION
87 Relation: parent WARNING
95 Relation: parent IMPORTANT
96 StartCode: Title @{ID ""} ADMONITION
97 EndCode: CloseTitle ADMONITION
101 StartCode: Title @{ID ""} @{_parent}
102 EndCode: CloseTitle @{_parent}
107 # titleabbrev should end up as the ABBREV= attribute of <HEAD>
109 ######################################################################
111 ######################################################################
113 GI: SECT1 SECT2 SECT3 SECT4 SECT5
114 StartCode: StartGlossedTopic @{_gi} @{ID ""} @{_nchild GLOSSARY}
115 EndCode: EndGlossedTopic @{_nchild GLOSSARY}
122 StartCode: StartAppendix @{_gi} @{ID ""} @{ROLE ""}
125 Relation: parent DOCINFO
126 StartCode: StartNewLevel0Virpage @{_gi} @{ID ""}
127 EndCode: SortAndEmitGlossary NoPopForm
130 Relation: parent PART
131 Relation: sibling- GLOSSARY
132 StartCode: StartNewVirpage @{_gi} @{ID ""}
133 EndCode: SortAndEmitGlossary NoPopForm
136 Relation: parent PART
137 Relation: child TITLE
138 StartCode: StartNewVirpageWithID @{_gi} @{ID ""} SDL-RESERVED-@{_gi} 1
139 EndCode: SortAndEmitGlossary NoPopForm
142 Relation: parent PART
143 StartCode: StartNewVirpageWithID @{_gi} @{ID ""} SDL-RESERVED-@{_gi} 0
144 EndCode: SortAndEmitGlossary NoPopForm
147 StartCode: PushForm "" SUBGLOSSARY @{ID ""}
148 EndCode: SortAndEmitGlossary PopForm
154 StartCode: StartNewVirpage @{_gi} @{ID ""}
156 # if we're inside a Reference, the Refentry's are nested 1 level deeper
158 StartCode: incr virpageLevels(REFENTRY)
159 ^StartNewVirpage @{_gi} @{ID ""}
160 EndCode: incr virpageLevels(REFENTRY) -1
163 Relation: child TITLE
164 StartCode: StartNewVirpage PARTINTRO @{ID ""}
167 StartCode: StartNewVirpage PARTINTRO @{ID ""}
168 ^SynthesizeHomeTopicTitle
171 StartCode: PushForm "" "HIGHLIGHTS" @{ID ""}
174 ######################################################################
175 # METAINFO (from Part->DocInfo)
176 ######################################################################
177 GI: ABSTRACT AUTHORGROUP REVHISTORY LEGALNOTICE
178 Relation: parent DOCINFO
179 Relation: child TITLE
180 StartCode: StartNewVirpageWithID @{_gi} @{ID ""} SDL-RESERVED-@{_gi} 1
182 GI: ABSTRACT AUTHORGROUP REVHISTORY LEGALNOTICE
183 Relation: parent DOCINFO
184 StartCode: StartNewVirpageWithID @{_gi} @{ID ""} SDL-RESERVED-@{_gi} 0
186 GI: AUTHOR EDITOR COLLAB OTHERCREDIT
187 Relation: parent AUTHORGROUP
188 StartCode: PushForm "" @{_gi} @{ID ""}
192 Relation: parent AUTHORGROUP
193 StartCode: StartParagraph @{ID ""} CORPAUTHOR LINED
195 GI: AUTHOR EDITOR CORPAUTHOR
197 GI: HONORIFIC FIRSTNAME SURNAME LINEAGE OTHERNAME CONTRIB
198 Context: ((AUTHOR)|(EDITOR)|(OTHERCREDIT)) AUTHORGROUP
199 StartCode: StartParagraphMaybe @{ID ""} @{_parent} LINED
202 Context: ((AUTHOR)|(EDITOR)|(COLLAB)|(OTHERCREDIT)) AUTHORGROUP
203 StartCode: StartParagraph @{ID ""} AFFILIATION LINED
204 EndCode: EndParagraph
209 Context: ((AUTHOR)|(EDITOR)|(OTHERCREDIT)) AUTHORGROUP
210 StartCode: PushForm "" AUTHORBLURB @{ID ""}
214 Context: ((AUTHOR)|(EDITOR)|(OTHERCREDIT))
218 StartCode: PushForm "" AUTHORBLURB @{ID ""}
222 Context: REVHISTORY DOCINFO
223 StartCode: StartParagraph @{ID ""} REVISION LINED
224 EndCode: EndParagraph
226 GI: HONORIFIC FIRSTNAME SURNAME OTHERNAME
227 GI: JOBTITLE ORGDIV COLLABNAME
228 GI: ADDRESS CITY COUNTRY EMAIL FAX
229 GI: LINEAGE CONTRIB CORPAUTHOR
230 GI: REVHISTORY REVISION
231 GI: REVNUMBER DATE AUTHORINITIALS REVREMARK
232 StartCode: Anchor @{ID ""}
234 ######################################################################
236 ######################################################################
237 GI: LINK ULINK SUPERSCRIPT SUBSCRIPT
238 Relation: ancestor SUPERSCRIPT
240 "Cannot put a @{_gi} anywhere within a SUPERSCRIPT" yes
243 Relation: ancestor SUPERSCRIPT
245 "Cannot put an OLINK anywhere within a SUPERSCRIPT" yes
247 GI: LINK ULINK SUPERSCRIPT SUBSCRIPT
248 Relation: ancestor SUBSCRIPT
250 "Cannot put a @{_gi} anywhere within a SUBSCRIPT" yes
253 Relation: ancestor SUBSCRIPT
255 "Cannot put an OLINK anywhere within a SUBSCRIPT" yes
257 GI: SUPERSCRIPT SUBSCRIPT
258 StartCode: StartSPhrase @{ID ""} @{_gi}
261 ######################################################################
263 ######################################################################
265 Relation: parent REFENTRY
266 # ignore these for now - probably emit them out of flow somewhere
270 Relation: parent REFNAMEDIV
271 # ignore these for now - probably emit them out of flow somewhere
275 Relation: isfirstcon PARA
276 Relation: hasonlycon INLINEGRAPHIC
277 StartCode: DeferLink @{ID ""} @{LINKEND} @{TYPE ""}
280 StartCode: StartLink @{ID ""} @{LINKEND} @{TYPE ""}
284 Relation: isfirstcon PARA
285 Relation: hasonlycon INLINEGRAPHIC
286 StartCode: DeferOLink @{ID ""} "@{LOCALINFO}" @{TYPE ""}
289 StartCode: StartOLink @{ID ""} "@{LOCALINFO}" @{TYPE ""}
293 Relation: isfirstcon PARA
294 Relation: hasonlycon INLINEGRAPHIC
295 StartCode: DeferULink @{ID ""}
298 StartCode: StartParagraphMaybe @{ID ""} "P" ""
301 Relation: parent TITLE
302 StartCode: Anchor @{ID}
305 StartCode: AnchorInP @{ID}
307 ######################################################################
309 ######################################################################
311 Relation: parent FORMALPARA
314 Relation: descendant GLOSSLIST
318 Relation: descendant ITEMIZEDLIST
322 Relation: descendant ORDEREDLIST
326 Relation: descendant SEGMENTEDLIST
330 Relation: descendant SIMPLELIST
334 Relation: descendant VARIABLELIST
335 StartCode: StartCompoundParagraph @{ID ""} "P" ""
339 GI: PARA FORMALPARA SIMPARA
340 StartCode: StartParagraph @{ID ""} "P" ""
341 EndCode: EndParagraph
343 ######################################################################
345 ######################################################################
347 StartCode: PushForm "" ABSTRACT @{ID ""}
350 ######################################################################
352 ######################################################################
354 StartCode: ItemizedList @{ID ""} {@{MARK PLAIN}}
355 @{ROLE LOOSE} @{_parent}
356 EndCode: EndList @{_parent}
359 StartCode: OrderedList @{ID ""} @{NUMERATION ""} @{INHERITNUM}
360 @{CONTINUATION} @{ROLE LOOSE} @{_parent}
361 EndCode: EndList @{_parent}
364 StartCode: VariableList @{ID ""} @{ROLE LOOSE} @{_parent}
365 EndCode: EndList @{_parent}
368 StartCode: VarListEntry @{ID ""}
371 StartCode: StartTerm @{ID ""}
372 EndCode: EndParagraph
375 StartCode: ListItem @{ID ""} {@{OVERRIDE NO}}
379 Relation: child SEGTITLE
380 StartCode: SegmentedList @{ID ""} @{ROLE LOOSE} @{_parent}
381 EndCode: EndList @{_parent}
384 StartCode: UserWarning "No SegTitle provided for a SegmentedList" yes
388 StartCode: StartSegTitle @{ID ""}
392 StartCode: StartSegListItem @{ID ""}
396 StartCode: StartSeg @{ID ""} 1
400 StartCode: StartSeg @{ID ""} 0
404 StartCode: StartSimpleList @{ID ""} @{TYPE} @{ROLE LOOSE} @{_parent}
405 EndCode: EndSimpleList @{COLUMNS 1} @{TYPE} @{_parent}
409 StartCode: StartMember @{ID ""} @{_pattr TYPE}
410 EndCode: EndMember @{_pattr TYPE} ""
414 StartCode: StartMember @{ID ""} @{_pattr TYPE}
415 EndCode: EndMember @{_pattr TYPE} " and "
418 StartCode: StartMember @{ID ""} @{_pattr TYPE}
419 EndCode: EndMember @{_pattr TYPE} ", "
421 ######################################################################
423 ######################################################################
424 GI: NOTE CAUTION WARNING TIP IMPORTANT
425 StartCode: StartAdmonition @{ID ""} @{_gi} @{_nchild TITLE}
428 ######################################################################
430 ######################################################################
431 # ignore INDEXTERMs with SPANEND= set for the time being
432 # (there is no content and I'm not sure it makes sense on-line)
436 # ignore SEE for the time being
440 # ignore SEEALSO for the time being
441 # (where should it go, index or current page?)
446 StartCode: StartIndexTerm @{ID ""}
447 EndCode: EndIndexTerm
450 StartCode: StartPrimaryIndexEntry @{ID ""} {@{_cdata}}
451 EndCode: EndPrimaryIndexEntry
454 StartCode: StartSecondaryIndexEntry @{ID ""} {@{_cdata}}
455 EndCode: EndSecondaryIndexEntry
458 StartCode: StartTertiaryIndexEntry @{ID ""} {@{_cdata}}
459 EndCode: EndTertiaryIndexEntry
461 ######################################################################
463 ######################################################################
465 Relation: parent GLOSSENTRY
466 StartCode: StartAGlossedTerm
467 EndCode: EndATermInAGlossary @{ID ""}
470 Relation: parent GLOSSTERM
473 StartCode: StartAGlossedTerm
474 EndCode: EndAGlossedTerm @{ID ""} "@{ROLE}"
477 StartCode: StartGlossEntry @{ID ""} [expr "@{_nchild ACRONYM} +
480 EndCode: EndGlossEntry "@{SORTAS}"
483 Relation: parent GLOSSENTRY
484 EndCode: EndAcronymInAGlossary @{ID ""}
487 Relation: parent GLOSSENTRY
488 EndCode: EndAbbrevInAGlossary @{ID ""}
491 AttValue: OTHERTERM .
492 StartCode: StartGlossSee @{ID ""} @{OTHERTERM ""}
493 ^set glossType GlossSee
494 ^@{_followlink OTHERTERM 1007}
496 EndCode: EndGlossSeeOrSeeAlso @{OTHERTERM ""}
499 StartCode: StartGlossSee @{ID ""} @{OTHERTERM ""}
500 EndCode: EndGlossSeeOrSeeAlso @{OTHERTERM ""}
502 # we always get here via the SpecID
504 StartCode: CheckOtherTerm @{ID} @{_gi} @{_parent}
508 StartCode: StartGlossDef @{ID ""}
512 AttValue: OTHERTERM .
513 StartCode: StartGlossSeeAlso @{ID ""} @{OTHERTERM ""}
514 ^set glossType GlossSeeAlso
515 ^@{_followlink OTHERTERM 1007}
517 EndCode: EndGlossSeeOrSeeAlso @{OTHERTERM ""}
520 StartCode: StartGlossSeeAlso @{ID ""} @{OTHERTERM ""}
521 EndCode: EndGlossSeeOrSeeAlso @{OTHERTERM ""}
523 GI: GLOSSLIST GLOSSDIV
524 StartCode: PushForm "" @{_gi} @{ID ""}
525 EndCode: SortAndEmitGlossary PopForm
527 ######################################################################
528 # LITERALS AND SCREENS
529 ######################################################################
530 GI: LITERALLAYOUT PROGRAMLISTING SCREEN SCREENSHOT
531 Relation: parent PARA
532 StartCode: PushForm "" "INSIDE-PARA" ""
533 ^StartParagraph @{ID ""} @{_gi} LITERAL
534 EndCode: ContinueParagraph
536 GI: LITERALLAYOUT PROGRAMLISTING SCREEN
537 StartCode: StartParagraph @{ID ""} @{_gi} LITERAL
538 EndCode: EndParagraph
541 StartCode: PushForm "" SCREENSHOT @{ID ""}
545 StartCode: StartParagraph @{ID ""} SCREENINFO ""
546 EndCode: EndParagraph
548 ######################################################################
550 ######################################################################
551 GI: BIBLIODIV BIBLIOENTRY
552 StartCode: PushForm "" @{_gi} @{ID ""}
556 StartCode: StartParagraph @{ID ""} "P" ""
557 EndCode: EndParagraph
559 GI: ARTHEADER BOOKBLIBLIO SERIESINFO
562 ######################################################################
564 ######################################################################
566 StartCode: PushForm "" @{_gi} @{ID ""}
570 Relation: parent REFSYNOPSISDIV
571 StartCode: StartSynopsis @{ID ""} @{LINESPECIFIC ""}
572 EndCode: EndSynopses @{_parent}
575 StartCode: StartCmdSynopsis @{ID ""}
576 EndCode: EndSynopses @{_parent}
579 StartCode: StartFuncSynopsis @{ID ""}
580 EndCode: EndSynopses @{_parent}
582 GI: INFORMALEQUATION INFORMALEXAMPLE
584 Relation: parent PARA
585 StartCode: PushForm "" "INSIDE-PARA" ""
586 ^StartParagraph @{ID ""} @{_gi} ""
587 EndCode: ContinueParagraph
589 GI: INFORMALEQUATION INFORMALEXAMPLE
590 StartCode: StartParagraph @{ID ""} @{_gi} ""
591 EndCode: EndParagraph
594 StartCode: PushForm "" "" ""
598 StartCode: PushForm "" @{_gi} @{ID ""}
602 Relation: parent PARA
603 StartCode: PushForm "" "INSIDE-PARA" ""
604 ^StartParagraph @{ID ""} @{_gi} LITERAL
605 EndCode: ContinueParagraph
608 StartCode: StartParagraph @{ID ""} @{_gi} LITERAL
609 EndCode: EndParagraph
613 StartText: <LINK RID="@{LINKEND}">@{_followlink ENDTERM 8001}</LINK>
616 StartText: <LINK RID="@{LINKEND}">@{_followlink LINKEND 1}</LINK>
619 StartCode: FootnoteRef @{LINKEND ""}
621 # FOOTNOTE elements were already processed in CHAPTER
626 StartCode: StartFigure @{ID ""} @{ROLE ""}
630 Relation: parent PARA
631 AttValue: ENTITYREF .
632 StartCode: PushForm "" "INSIDE-PARA" ""
633 ^Graphic @{ID ""} "@{_filename}" "@{FILEREF}" @{_gi}
634 EndCode: ContinueParagraph
638 Relation: parent PARA
639 StartCode: PushForm "" "INSIDE-PARA" ""
640 ^Graphic @{ID ""} "" "@{FILEREF}" @{_gi}
641 EndCode: ContinueParagraph
645 Relation: parent INLINEEQUATION
646 AttValue: ENTITYREF .
647 StartCode: Graphic @{ID ""} "@{_filename}" "@{FILEREF}" INLINEGRAPHIC
651 Relation: parent INLINEEQUATION
652 StartCode: Graphic @{ID ""} "" "@{FILEREF}" INLINEGRAPHIC
656 AttValue: ENTITYREF .
657 StartCode: Graphic @{ID ""} "@{_filename}" "@{FILEREF}" @{_gi}
658 EndCode: EndParagraph
662 StartCode: Graphic @{ID ""} "" "@{FILEREF}" @{_gi}
663 EndCode: EndParagraph
667 Relation: isfirstcon PARA
668 AttValue: ENTITYREF .
669 StartCode: InFlowGraphic @{ID ""} "@{_filename}" "@{FILEREF}"
670 PARA @{REMAP ""} @{ROLE ""}
674 Relation: isfirstcon LINK
675 AttValue: ENTITYREF .
676 StartCode: InFlowGraphic @{ID ""} "@{_filename}" "@{FILEREF}"
677 LINK @{REMAP ""} @{ROLE ""}
681 Relation: isfirstcon OLINK
682 AttValue: ENTITYREF .
683 StartCode: InFlowGraphic @{ID ""} "@{_filename}" "@{FILEREF}"
684 OLINK @{REMAP ""} @{ROLE ""}
688 Relation: isfirstcon ULINK
689 AttValue: ENTITYREF .
690 StartCode: InFlowGraphic @{ID ""} "@{_filename}" "@{FILEREF}"
691 ULINK @{REMAP ""} @{ROLE ""}
695 AttValue: ENTITYREF .
696 StartCode: Graphic @{ID ""} "@{_filename}" @{FILEREF ""} @{_gi}
700 Relation: isfirstcon PARA
701 StartCode: InFlowGraphic @{ID ""} "" "@{FILEREF}"
702 PARA @{REMAP ""} @{ROLE ""}
706 Relation: isfirstcon LINK
707 StartCode: InFlowGraphic @{ID ""} "" "@{FILEREF}"
708 LINK @{REMAP ""} @{ROLE ""}
712 Relation: isfirstcon OLINK
713 StartCode: InFlowGraphic @{ID ""} "" "@{FILEREF}"
714 OLINK @{REMAP ""} @{ROLE ""}
718 Relation: isfirstcon ULINK
719 StartCode: InFlowGraphic @{ID ""} "" "@{FILEREF}"
720 ULINK @{REMAP ""} @{ROLE ""}
724 StartCode: Graphic @{ID ""} "" @{FILEREF ""} @{_gi}
729 GI: EXAMPLE INFORMALEXAMPLE
730 StartCode: Example @{ID ""}
731 EndCode: CloseExample
734 StartCode: StartKey @{ID ""} PUB-LIT CITETITLE-@{PUBWORK PART}
738 StartCode: StartKey @{ID ""} PUB-LIT CITATION
742 Relation: parent CMDSYNOPSIS
744 StartCode: StartCommand @{ID ""} ""
748 Relation: parent CMDSYNOPSIS
749 StartCode: StartKey @{ID ""} NAME "COMMAND"
752 GI: COMMAND FIRSTTERM
753 StartCode: StartKey @{ID ""} NAME @{_gi}
756 GI: ACTION FILENAME FUNCTION HARDWARE KEYCAP
757 GI: INTERFACEDEFINITION PROPERTY
758 StartCode: StartKey @{ID ""} NAME @{_gi}
762 StartCode: StartKey @{ID ""} NAME @{_gi}-@{CLASS BUTTON}
766 Relation: parent GROUP
771 Relation: parent GROUP
772 StartText: |@{_action 1004}
775 StartCode: StartKey @{ID ""} MACH-IN @{_gi}-@{CLASS PARAMETER}
780 StartCode: StartQuote @{ID ""}
784 StartCode: StartKey @{ID ""} QUOTE @{_gi}
789 StartCode: StartHeading @{ID ""} @{ROLE}
793 StartCode: StartKey @{ID ""} EMPH @{_gi}
803 StartText: \s@{_action 1005}
806 StartCode: StartKey @{ID ""} MACH-IN @{_gi}
810 GI: USERINPUT OPTIONAL
811 StartCode: StartKey @{ID ""} MACH-IN @{_gi}
815 StartCode: StartKey @{ID ""} MACH-OUT @{CLASS SYSTEMNAME}
819 StartCode: StartKey @{ID ""} MACH-OUT @{_gi}
822 GI: PARAMETER RETURNVALUE
823 StartCode: StartKey @{ID ""} NAME @{_gi}
826 GI: ERRORNAME ERRORTYPE APPLICATION FOREIGNPHRASE MARKUP
828 StartCode: StartKey @{ID ""} EMPH @{_gi}
831 GI: STRUCTNAME STRUCTFIELD TYPE TOKEN
832 StartCode: StartKey @{ID ""} NAME @{_gi}
836 # should this be done as a <HEAD> of the object containing it?
837 # that would be impossible, the component containing a <SideBar>
838 # will have to be emitted as a two column <FORM> with the sidebar
839 # put in the second column.
842 GI: KEYCODE KEYSYM MEDIALABEL
844 StartCode: Anchor @{ID ""}
846 ######################################################################
848 ######################################################################
850 StartCode: StartSgmlTag @{ID ""} @{CLASS ELEMENT}
851 EndCode: EndSgmlTag @{CLASS ELEMENT}
853 ######################################################################
855 ######################################################################
856 GI: MSGTEXT MSGSET MSGENTRY MSG MSGMAIN MSGSUB
858 StartCode: PushForm "" @{_gi} @{ID ""}
862 StartCode: StartParagraph @{ID ""} MSG LITERAL
864 GI: MSGORIG MSGAUD MSGLEVEL
866 ######################################################################
868 ######################################################################
870 StartText: @{_action 6}@{_followrel child TITLE 1002}
871 StartCode: StartTable @{ID ""} @{COLSEP 1} @{FRAME ALL}
872 @{LABEL ""} @{ROWSEP 1}
873 EndCode: PopForm; PopForm
876 Relation: parent PARA
877 StartCode: PushForm "" "INSIDE-PARA" ""
878 ^StartTable @{ID ""} @{COLSEP 1} @{FRAME ALL}
879 @{LABEL ""} @{ROWSEP 1}
880 EndCode: PopForm; ContinueParagraph
883 StartCode: StartTable @{ID ""} @{COLSEP 1} @{FRAME ALL}
884 @{LABEL ""} @{ROWSEP 1}
888 StartCode: StartTGroup @{ID ""} @{ALIGN} {@{CHAR}}
889 @{COLS} @{COLSEP ""} @{ROWSEP ""}
891 EndText: @{_followrel child TFOOT 1003}@{_action 7}
894 Relation: parent THEAD
898 Relation: parent TFOOT
902 StartCode: ColSpec @{_parent 2} @{_parent}
903 @{ALIGN LEFT} {@{CHAR}}
904 @{COLNAME ""} @{COLNUM ""}
905 @{COLSEP ""} @{COLWIDTH ""}
910 StartCode: SpanSpec @{_parent} @{ALIGN} {@{CHAR}} @{COLSEP ""}
911 @{NAMEEND} @{NAMEST} @{ROWSEP ""} @{SPANNAME}
914 StartCode: PrepForTFoot @{_nchild COLSPEC}
917 GI: THEAD TFOOT TBODY
918 Relation: sibling- THEAD
919 StartText: @{_action 10}@{_followrel child COLSPEC 1009}
920 StartCode: StartTHeadTFootTBody @{_parent} @{_gi} 1
924 EndCode: EndTHeadTFootTBody @{_parent} @{_gi}
926 GI: THEAD TFOOT TBODY
927 StartText: @{_action 10}@{_followrel child COLSPEC 1009}
928 StartCode: StartTHeadTFootTBody @{_parent} @{_gi} 0
932 EndCode: EndTHeadTFootTBody @{_parent} @{_gi}
936 StartCode: StartRow @{_parent 2} @{_parent} @{ID ""}
937 @{ROWSEP ""} @{VALIGN NONE}
938 EndCode: EndRow @{_parent 2} @{_parent}
941 StartCode: StartCell @{_parent 3} @{_parent 2} @{_gi}
942 @{ID ""} @{ALIGN ""} {@{CHAR}}
943 @{COLNAME ""} "" @{COLSEP ""}
944 @{MOREROWS} @{NAMEEND ""} @{NAMEST ""}
945 @{ROWSEP ""} @{SPANNAME ""} @{VALIGN ""}
950 StartCode: StartCell @{_parent 3} @{_parent 2} @{_gi}
951 @{ID ""} @{ALIGN ""} {@{CHAR}}
952 @{COLNAME ""} @{COLS} @{COLSEP ""}
953 0 @{NAMEEND ""} @{NAMEST ""}
954 @{ROWSEP ""} @{SPANNAME ""} {}
959 ######################################################################
961 ######################################################################
963 StartCode: StartProcedure @{ID ""}
967 StartCode: StartStep @{ID ""}
971 StartCode: StartSubStep @{ID ""}
974 ######################################################################
976 ######################################################################
988 Relation: parent CITEREFENTRY
991 StartCode: DivertOutputToManTitle
992 EndCode: RestoreOutputStreamFromManTitle
995 Relation: parent CITEREFENTRY
1000 StartCode: DivertOutputToManVolNum
1001 EndCode: RestoreOutputStreamFromManVolNum
1004 StartCode: StartRefNameDiv @{_nchild REFNAME}
1005 EndCode: EndRefNameDiv @{ID ""}
1008 StartCode: DivertOutputToManDescriptor
1009 EndCode: RestoreOutputStreamFromManDescriptor
1012 StartCode: StartAManName
1013 EndCode: EndAManName
1016 StartCode: DivertOutputToManPurpose
1017 EndCode: RestoreOutputStreamFromManPurpose
1023 StartCode: StartRefSynopsisDiv @{ID ""} @{_nchild TITLE}
1024 [expr "@{_nchild SYNOPSIS} +
1025 @{_nchild CMDSYNOPSIS} +
1026 @{_nchild FUNCSYNOPSIS}"]
1029 GI: SYNOPFRAGMENTREF
1030 StartText: @{_id @{LINKEND} 11}
1031 StartCode: StartLink @{ID ""} @{LINKEND} ""
1035 StartCode: Anchor @{ID ""}
1039 StartCode: StartArg @{ID ""} @{CHOICE} ""
1040 EndCode: EndArg @{CHOICE} @{REP}
1043 Relation: parent GROUP
1044 StartCode: StartArg @{ID ""} @{CHOICE} "|"
1045 EndCode: EndArg @{CHOICE} @{REP}
1048 StartCode: StartArg @{ID ""} @{CHOICE} " "
1049 EndCode: EndArg @{CHOICE} @{REP}
1053 StartCode: StartGroup @{ID ""} @{CHOICE} ""
1054 EndCode: EndGroup @{CHOICE} @{REP}
1057 Relation: parent GROUP
1058 StartCode: StartGroup @{ID ""} @{CHOICE} "|"
1059 EndCode: EndGroup @{CHOICE} @{REP}
1062 StartCode: StartGroup @{ID ""} @{CHOICE} " "
1063 EndCode: EndGroup @{CHOICE} @{REP}
1065 GI: FUNCSYNOPSISINFO
1066 StartCode: StartFuncSynopsisInfo @{ID ""} @{LINESPECIFIC ""}
1069 StartCode: StartFuncDef @{ID ""}
1072 StartCode: DoVoidOrVarargs @{_gi} @{ID ""}
1076 StartCode: StartParamDef @{ID ""}
1077 EndCode: EndParamDef ")"
1080 StartCode: StartParamDef @{ID ""}
1081 EndCode: EndParamDef ", "
1085 StartCode: StartFuncParams @{ID ""}
1086 EndCode: EndFuncParams ")"
1089 StartCode: StartFuncParams @{ID ""}
1090 EndCode: EndFuncParams ", "
1092 GI: REFSECT1 REFSECT2 REFSECT3
1093 StartCode: PushForm "" "" @{ID ""}
1094 EndCode: PopForm; PopForm
1096 ######################################################################
1098 ######################################################################
1100 StartCode: StartBridgeHead @{ID ""} @{RENDERAS OTHER}
1101 EndCode: EndBridgeHead
1103 ######################################################################
1105 ######################################################################
1107 StartCode: StartKey @{ID ""} PRODUCT TRADEMARK
1108 EndCode: EndTradeMark @{CLASS TRADE}
1110 ######################################################################
1112 ######################################################################
1113 GI: AUTHORGROUP EDITION SUBTITLE BOOKBIBLIO
1114 GI: RELEASEINFO PUBSNUMBER INVPARTNUMBER ISSN OTHERADDR
1115 GI: CONFGROUP CONFTITLE PUBLISHERNAME PUBLISHER PUBDATE
1116 GI: CONTRACTNUM PRINTHISTORY
1117 GI: INDEXDIV INDEXENTRY PRIMARYIE SEEIE SECONDARYIE
1118 GI: SEEALSOIE TERTIARYIE INDEXDIV INDEXENTRY PRIMARYIE
1119 GI: SEEIE SECONDARYIE SEEALSOIE TERTIARYIE
1123 ######################################################################
1125 ######################################################################
1126 GI: POSTCODE BEGINPAGE CLASSNAME DATABASE
1127 GI: PRODUCTNUMBER PRODUCTNAME
1128 GI: ORGNAME STREET POB STATE PHONE
1130 StartCode: Anchor @{ID ""}
1132 ######################################################################
1133 # END OF SUPPORTED GI'S
1134 ######################################################################
1135 # done with all accepted GIs
1136 StartCode: UserError "Unrecognized tag \"@{_gi}\"" yes
1138 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
1139 # The following specifications are only reached via the SpecID ::
1140 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
1142 StartText: @{_set xrefdone no}
1143 @{_attval XREFLABEL 2}
1144 @{_break xrefdone yes}
1145 @{_followrel descendant TITLE 8001}
1151 StartText: @{XREFLABEL}
1155 # used in PART to find FOOTNOTE elements and pre-number them
1157 StartCode: GatherFootnote @{ID ""}
1160 StartCode: OpenDocument @{host} @{basename} "@{date}"
1163 # used in PART to find the PARTINTRO element (if any) and save
1164 # its ID for use as the FIRST-PAGE attribute of SDLDOC
1166 StartCode: set partIntroId @{ID ""}
1169 # used in TABLE to emit a blank FORM so we have a place to hang
1172 StartCode: PushForm "" "" ""
1175 # used in TGROUP, we want to handle TFOOT out of order so we need an
1176 # action that will let us embed tcl-code in a text field (because the
1177 # text fields are processed before and after the code fields
1182 # used in DOCINFO, we first catch all the appendices and emit the
1183 # level 0 ones so the go out before the level 1 hometopic
1185 StartText: @{_attval ROLE notoc 9}
1189 StartCode: StartAppendix @{_gi} @{ID ""} @{ROLE ""}
1192 StartCode: set numberOfColSpecs @{_nchild COLSPEC}
1196 StartCode: CheckSynopFragmentRef @{_gi} @{ID ""}
1200 StartCode: Title @{ID ""} PART
1201 EndCode: CloseTitle @{_parent}
1204 StartCode: StartPart @{ID ""}