Merge branch 'cde-fixups-1' of ssh://git.code.sf.net/p/cdesktopenv/code into cde...
[oweals/cde.git] / cde / programs / dtdocbook / doc2sdl / docbook.ts
1 GI:             _Start
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}"
6 -
7 GI:             _End
8 StartCode:      CloseDocument
9 -
10 GI:             PART
11 StartText:      @{_followrel child PARTINTRO 5}
12                 @{_action 4}
13                 @{_followrel child TITLE 12}
14                 @{_action 13}
15                 @{_find top gi FOOTNOTE 3}
16                 @{_find gi APPENDIX 8}
17 EndCode:        EndPart
18 SpecID: 1010
19 -
20 GI:             DOCINFO
21 Relation:       parent PART
22 -
23 GI:             DOCINFO ARTICLE
24 GI:             SETINDEX TOC LOT
25 Ignore:         all
26 -
27 GI:             SET BOOK
28 Relation:       descendant PART
29 StartText:      @{_followrel descendant PART 1010}
30 Ignore:         all
31 -
32 GI:             SET BOOK
33 StartCode:      UserError "A @{_gi} was found but it contains no PART" yes
34                 ^exit 1
35 Ignore:         all
36 -
37 ######################################################################
38 #                          TITLES
39 ######################################################################
40 GI:             TITLE
41 Relation:       parent DOCINFO
42 StartCode:      StartNewVirpage TITLE SDL-RESERVED-TITLE
43                 ^Title @{ID ""} TITLE
44 EndCode:        CloseTitle TITLE
45 -
46 GI:             SUBTITLE
47 Relation:       parent DOCINFO
48 StartCode:      StartParagraph @{ID ""} "P" ""
49 -
50 GI:             TITLE
51 Relation:       parent TABLE
52 Ignore:         all
53 -
54 GI:             TITLE
55 Relation:       parent PART
56 Ignore:         all
57 -
58 GI:             TITLE
59 Relation:       parent REFSYNOPSISDIV
60 StartCode:      StartManPageDivisionTitle @{ID ""}
61 EndCode:        EndManPageDivisionTitle
62 -
63 GI:             TITLE
64 Relation:       parent REFSECT1
65 StartCode:      StartManPageDivisionTitle @{ID ""}
66 EndCode:        EndManPageDivisionTitle
67 -
68 GI:             TITLE
69 Relation:       parent REFSECT2
70 StartCode:      StartManPageDivisionTitle @{ID ""}
71 EndCode:        EndManPageDivisionTitle
72 -
73 GI:             TITLE
74 Relation:       parent REFSECT3
75 StartCode:      StartManPageDivisionTitle @{ID ""}
76 EndCode:        EndManPageDivisionTitle
77 -
78 GI:             TITLE
79 Relation:       parent NOTE
80 Action:         1006
81 -
82 GI:             TITLE
83 Relation:       parent CAUTION
84 Action:         1006
85 -
86 GI:             TITLE
87 Relation:       parent WARNING
88 Action:         1006
89 -
90 GI:             TITLE
91 Relation:       parent TIP
92 Action:         1006
93 -
94 GI:             TITLE
95 Relation:       parent IMPORTANT
96 StartCode:      Title @{ID ""} ADMONITION
97 EndCode:        CloseTitle ADMONITION
98 SpecID: 1006
99 -
100 GI:             TITLE
101 StartCode:      Title @{ID ""} @{_parent}
102 EndCode:        CloseTitle @{_parent}
103 SpecID: 1002
104 -
105 GI:             TITLEABBREV
106 Ignore:         all
107 # titleabbrev should end up as the ABBREV= attribute of <HEAD>
108 -
109 ######################################################################
110 #                      TOP LEVEL STUFF
111 ######################################################################
112 GI:             CHAPTER
113 GI:             SECT1 SECT2 SECT3 SECT4 SECT5
114 StartCode:      StartGlossedTopic @{_gi} @{ID ""} @{_nchild GLOSSARY}
115 EndCode:        EndGlossedTopic @{_nchild GLOSSARY}
116 -
117 GI:             APPENDIX
118 AttValue:       ROLE notoc
119 Ignore:         all
120 -
121 GI:             APPENDIX
122 StartCode:      StartAppendix @{_gi} @{ID ""} @{ROLE ""}
123 -
124 GI:             GLOSSARY
125 Relation:       parent DOCINFO
126 StartCode:      StartNewLevel0Virpage @{_gi} @{ID ""}
127 EndCode:        SortAndEmitGlossary NoPopForm
128 -
129 GI:             GLOSSARY
130 Relation:       parent PART
131 Relation:       sibling- GLOSSARY
132 StartCode:      StartNewVirpage @{_gi} @{ID ""}
133 EndCode:        SortAndEmitGlossary NoPopForm
134 -
135 GI:             GLOSSARY
136 Relation:       parent PART
137 Relation:       child TITLE
138 StartCode:      StartNewVirpageWithID @{_gi} @{ID ""} SDL-RESERVED-@{_gi} 1
139 EndCode:        SortAndEmitGlossary NoPopForm
140 -
141 GI:             GLOSSARY
142 Relation:       parent PART
143 StartCode:      StartNewVirpageWithID @{_gi} @{ID ""} SDL-RESERVED-@{_gi} 0
144 EndCode:        SortAndEmitGlossary NoPopForm
145 -
146 GI:             GLOSSARY
147 StartCode:      PushForm "" SUBGLOSSARY @{ID ""}
148 EndCode:        SortAndEmitGlossary PopForm
149 -
150 GI:             PREFACE
151 GI:             BIBLIOGRAPHY
152 GI:             REFENTRY
153 GI:             INDEX
154 StartCode:      StartNewVirpage @{_gi} @{ID ""}
155 -
156 # if we're inside a Reference, the Refentry's are nested 1 level deeper
157 GI:             REFERENCE
158 StartCode:      incr virpageLevels(REFENTRY)
159                 ^StartNewVirpage @{_gi} @{ID ""}
160 EndCode:        incr virpageLevels(REFENTRY) -1
161 -
162 GI:             PARTINTRO
163 Relation:       child TITLE
164 StartCode:      StartNewVirpage PARTINTRO @{ID ""}
165 -
166 GI:             PARTINTRO
167 StartCode:      StartNewVirpage PARTINTRO @{ID ""}
168                 ^SynthesizeHomeTopicTitle
169 -
170 GI:             HIGHLIGHTS
171 StartCode:      PushForm "" "HIGHLIGHTS" @{ID ""}
172 EndCode:        PopForm
173 -
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
181 -
182 GI:             ABSTRACT AUTHORGROUP REVHISTORY LEGALNOTICE
183 Relation:       parent DOCINFO
184 StartCode:      StartNewVirpageWithID @{_gi} @{ID ""} SDL-RESERVED-@{_gi} 0
185 -
186 GI:             AUTHOR EDITOR COLLAB OTHERCREDIT
187 Relation:       parent AUTHORGROUP
188 StartCode:      PushForm "" @{_gi} @{ID ""}
189 EndCode:        PopForm
190 -
191 GI:             CORPAUTHOR
192 Relation:       parent AUTHORGROUP
193 StartCode:      StartParagraph @{ID ""} CORPAUTHOR LINED
194 -
195 GI:             AUTHOR EDITOR CORPAUTHOR
196 -
197 GI:             HONORIFIC FIRSTNAME SURNAME LINEAGE OTHERNAME CONTRIB
198 Context:        ((AUTHOR)|(EDITOR)|(OTHERCREDIT)) AUTHORGROUP
199 StartCode:      StartParagraphMaybe @{ID ""} @{_parent} LINED
200 -
201 GI:             AFFILIATION
202 Context:        ((AUTHOR)|(EDITOR)|(COLLAB)|(OTHERCREDIT)) AUTHORGROUP
203 StartCode:      StartParagraph @{ID ""} AFFILIATION LINED
204 EndCode:        EndParagraph
205 -
206 GI:             AFFILIATION
207 -
208 GI:             AUTHORBLURB
209 Context:        ((AUTHOR)|(EDITOR)|(OTHERCREDIT)) AUTHORGROUP
210 StartCode:      PushForm "" AUTHORBLURB @{ID ""}
211 EndCode:        PopForm
212 -
213 GI:             AUTHORBLURB
214 Context:        ((AUTHOR)|(EDITOR)|(OTHERCREDIT))
215 Ignore:         all
216 -
217 GI:             AUTHORBLURB
218 StartCode:      PushForm "" AUTHORBLURB @{ID ""}
219 EndCode:        PopForm
220 -
221 GI:             REVISION
222 Context:        REVHISTORY DOCINFO
223 StartCode:      StartParagraph @{ID ""} REVISION LINED
224 EndCode:        EndParagraph
225 -
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 ""}
233 -
234 ######################################################################
235 #                      SUPER/SUBSCRIPT
236 ######################################################################
237 GI:             LINK ULINK SUPERSCRIPT SUBSCRIPT
238 Relation:       ancestor SUPERSCRIPT
239 StartCode:      UserError 
240                    "Cannot put a @{_gi} anywhere within a SUPERSCRIPT" yes
241 -
242 GI:             OLINK
243 Relation:       ancestor SUPERSCRIPT
244 StartCode:      UserError 
245                    "Cannot put an OLINK anywhere within a SUPERSCRIPT" yes
246 -
247 GI:             LINK ULINK SUPERSCRIPT SUBSCRIPT
248 Relation:       ancestor SUBSCRIPT
249 StartCode:      UserError 
250                    "Cannot put a @{_gi} anywhere within a SUBSCRIPT" yes
251 -
252 GI:             OLINK
253 Relation:       ancestor SUBSCRIPT
254 StartCode:      UserError 
255                    "Cannot put an OLINK anywhere within a SUBSCRIPT" yes
256 -
257 GI:             SUPERSCRIPT SUBSCRIPT
258 StartCode:      StartSPhrase @{ID ""} @{_gi}
259 EndCode:        EndSPhrase
260 -
261 ######################################################################
262 #                          LINKS
263 ######################################################################
264 GI:             LINK OLINK ULINK
265 Relation:       parent REFENTRY
266 # ignore these for now - probably emit them out of flow somewhere
267 Ignore:         all
268 -
269 GI:             LINK OLINK ULINK
270 Relation:       parent REFNAMEDIV
271 # ignore these for now - probably emit them out of flow somewhere
272 Ignore:         all
273 -
274 GI:             LINK
275 Relation:       isfirstcon PARA
276 Relation:       hasonlycon INLINEGRAPHIC
277 StartCode:      DeferLink @{ID ""} @{LINKEND} @{TYPE ""}
278 -
279 GI:             LINK
280 StartCode:      StartLink @{ID ""} @{LINKEND} @{TYPE ""}
281 EndCode:        EndLink
282 -
283 GI:             OLINK
284 Relation:       isfirstcon PARA
285 Relation:       hasonlycon INLINEGRAPHIC
286 StartCode:      DeferOLink @{ID ""} "@{LOCALINFO}" @{TYPE ""}
287 -
288 GI:             OLINK
289 StartCode:      StartOLink @{ID ""} "@{LOCALINFO}" @{TYPE ""}
290 EndCode:        EndLink
291 -
292 GI:             ULINK
293 Relation:       isfirstcon PARA
294 Relation:       hasonlycon INLINEGRAPHIC
295 StartCode:      DeferULink @{ID ""}
296 -
297 GI:             ULINK
298 StartCode:      StartParagraphMaybe @{ID ""} "P" ""
299 -
300 GI:             ANCHOR
301 Relation:       parent TITLE
302 StartCode:      Anchor @{ID}
303 -
304 GI:             ANCHOR
305 StartCode:      AnchorInP @{ID}
306 -
307 ######################################################################
308 #                        PARAGRAPHS
309 ######################################################################
310 GI:             PARA
311 Relation:       parent FORMALPARA
312 -
313 GI:             PARA FORMALPARA
314 Relation:       descendant GLOSSLIST
315 Action: 1001
316 -
317 GI:             PARA FORMALPARA
318 Relation:       descendant ITEMIZEDLIST
319 Action: 1001
320 -
321 GI:             PARA FORMALPARA
322 Relation:       descendant ORDEREDLIST
323 Action: 1001
324 -
325 GI:             PARA FORMALPARA
326 Relation:       descendant SEGMENTEDLIST
327 Action: 1001
328 -
329 GI:             PARA FORMALPARA
330 Relation:       descendant SIMPLELIST
331 Action: 1001
332 -
333 GI:             PARA FORMALPARA
334 Relation:       descendant VARIABLELIST
335 StartCode:      StartCompoundParagraph @{ID ""} "P" ""
336 EndCode:        PopForm
337 SpecID: 1001
338 -
339 GI:             PARA FORMALPARA SIMPARA
340 StartCode:      StartParagraph @{ID ""} "P" ""
341 EndCode:        EndParagraph
342 -
343 ######################################################################
344 #                            ABSTRACT
345 ######################################################################
346 GI:             ABSTRACT
347 StartCode:      PushForm "" ABSTRACT @{ID ""}
348 EndCode:        PopForm
349 -
350 ######################################################################
351 #                             LISTS
352 ######################################################################
353 GI:             ITEMIZEDLIST
354 StartCode:      ItemizedList @{ID ""} {@{MARK PLAIN}} 
355                              @{ROLE LOOSE} @{_parent}
356 EndCode:        EndList @{_parent}
357 -
358 GI:             ORDEREDLIST
359 StartCode:      OrderedList @{ID ""} @{NUMERATION ""} @{INHERITNUM} 
360                         @{CONTINUATION} @{ROLE LOOSE} @{_parent}
361 EndCode:        EndList @{_parent}
362 -
363 GI:             VARIABLELIST
364 StartCode:      VariableList @{ID ""} @{ROLE LOOSE} @{_parent}
365 EndCode:        EndList @{_parent}
366 -
367 GI:             VARLISTENTRY
368 StartCode:      VarListEntry @{ID ""}
369 -
370 GI:             TERM
371 StartCode:      StartTerm @{ID ""}
372 EndCode:        EndParagraph
373 -
374 GI:             LISTITEM
375 StartCode:      ListItem @{ID ""} {@{OVERRIDE NO}}
376 EndCode:        PopForm
377 -
378 GI:             SEGMENTEDLIST
379 Relation:       child SEGTITLE
380 StartCode:      SegmentedList @{ID ""} @{ROLE LOOSE} @{_parent}
381 EndCode:        EndList @{_parent}
382 -
383 GI:             SEGMENTEDLIST
384 StartCode:      UserWarning "No SegTitle provided for a SegmentedList" yes
385 Ignore:         all
386 -
387 GI:             SEGTITLE
388 StartCode:      StartSegTitle @{ID ""}
389 EndCode:        CloseBlock
390 -
391 GI:             SEGLISTITEM
392 StartCode:      StartSegListItem @{ID ""}
393 -
394 GI:             SEG
395 NthChild:       -1
396 StartCode:      StartSeg @{ID ""} 1
397 EndCode:        CloseBlock
398 -
399 GI:             SEG
400 StartCode:      StartSeg @{ID ""} 0
401 EndCode:        CloseBlock
402 -
403 GI:             SIMPLELIST
404 StartCode:      StartSimpleList @{ID ""} @{TYPE} @{ROLE LOOSE} @{_parent}
405 EndCode:        EndSimpleList @{COLUMNS 1} @{TYPE} @{_parent}
406 -
407 GI:             MEMBER
408 NthChild:       -1
409 StartCode:      StartMember @{ID ""} @{_pattr TYPE}
410 EndCode:        EndMember @{_pattr TYPE} ""
411 -
412 GI:             MEMBER
413 NthChild:       -2
414 StartCode:      StartMember @{ID ""} @{_pattr TYPE}
415 EndCode:        EndMember @{_pattr TYPE} " and "
416 -
417 GI:             MEMBER
418 StartCode:      StartMember @{ID ""} @{_pattr TYPE}
419 EndCode:        EndMember @{_pattr TYPE} ", "
420 -
421 ######################################################################
422 #                          ADMONITIONS
423 ######################################################################
424 GI:             NOTE CAUTION WARNING TIP IMPORTANT
425 StartCode:      StartAdmonition @{ID ""} @{_gi} @{_nchild TITLE}
426 EndCode:        PopForm
427 -
428 ######################################################################
429 #                             INDEX
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)
433 GI:             INDEXTERM
434 AttValue:       SPANEND .
435 -
436 # ignore SEE for the time being
437 GI:             SEE
438 Ignore:         all
439 -
440 # ignore SEEALSO for the time being
441 # (where should it go, index or current page?)
442 GI:             SEEALSO
443 Ignore:         all
444 -
445 GI:             INDEXTERM
446 StartCode:      StartIndexTerm @{ID ""}
447 EndCode:        EndIndexTerm
448 -
449 GI:             PRIMARY
450 StartCode:      StartPrimaryIndexEntry @{ID ""} {@{_cdata}}
451 EndCode:        EndPrimaryIndexEntry
452 -
453 GI:             SECONDARY
454 StartCode:      StartSecondaryIndexEntry @{ID ""} {@{_cdata}}
455 EndCode:        EndSecondaryIndexEntry
456 -
457 GI:             TERTIARY
458 StartCode:      StartTertiaryIndexEntry @{ID ""} {@{_cdata}}
459 EndCode:        EndTertiaryIndexEntry
460 -
461 ######################################################################
462 #                             GLOSSARY
463 ######################################################################
464 GI:             GLOSSTERM
465 Relation:       parent GLOSSENTRY
466 StartCode:      StartAGlossedTerm
467 EndCode:        EndATermInAGlossary @{ID ""}
468 -
469 GI:             GLOSSTERM
470 Relation:       parent GLOSSTERM
471 -
472 GI:             GLOSSTERM
473 StartCode:      StartAGlossedTerm
474 EndCode:        EndAGlossedTerm @{ID ""} "@{ROLE}"
475 -
476 GI:             GLOSSENTRY
477 StartCode:      StartGlossEntry @{ID ""} [expr "@{_nchild ACRONYM} + 
478                                                 @{_nchild ABBREV}"] 
479                                          @{_nchild GLOSSDEF}
480 EndCode:        EndGlossEntry "@{SORTAS}"
481 -
482 GI:             ACRONYM
483 Relation:       parent GLOSSENTRY
484 EndCode:        EndAcronymInAGlossary @{ID ""}
485 -
486 GI:             ABBREV
487 Relation:       parent GLOSSENTRY
488 EndCode:        EndAbbrevInAGlossary @{ID ""}
489 -
490 GI:             GLOSSSEE
491 AttValue:       OTHERTERM .
492 StartCode:      StartGlossSee @{ID ""} @{OTHERTERM ""}
493                 ^set glossType GlossSee
494                 ^@{_followlink OTHERTERM 1007}
495                 ^unset glossType
496 EndCode:        EndGlossSeeOrSeeAlso @{OTHERTERM ""}
497 -
498 GI:             GLOSSSEE
499 StartCode:      StartGlossSee @{ID ""} @{OTHERTERM ""}
500 EndCode:        EndGlossSeeOrSeeAlso @{OTHERTERM ""}
501 -
502 # we always get here via the SpecID
503 GI:             GLOSSTERM
504 StartCode:      CheckOtherTerm @{ID} @{_gi} @{_parent}
505 SpecID:         1007
506 -
507 GI:             GLOSSDEF
508 StartCode:      StartGlossDef @{ID ""}
509 EndCode:        EndGlossDef
510 -
511 GI:             GLOSSSEEALSO
512 AttValue:       OTHERTERM .
513 StartCode:      StartGlossSeeAlso @{ID ""} @{OTHERTERM ""}
514                 ^set glossType GlossSeeAlso
515                 ^@{_followlink OTHERTERM 1007}
516                 ^unset glossType
517 EndCode:        EndGlossSeeOrSeeAlso @{OTHERTERM ""}
518 -
519 GI:             GLOSSSEEALSO
520 StartCode:      StartGlossSeeAlso @{ID ""} @{OTHERTERM ""}
521 EndCode:        EndGlossSeeOrSeeAlso @{OTHERTERM ""}
522 -
523 GI:             GLOSSLIST GLOSSDIV
524 StartCode:      PushForm "" @{_gi}  @{ID ""}
525 EndCode:        SortAndEmitGlossary PopForm
526 -
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
535 -
536 GI:             LITERALLAYOUT PROGRAMLISTING SCREEN
537 StartCode:      StartParagraph @{ID ""} @{_gi} LITERAL
538 EndCode:        EndParagraph
539 -
540 GI:             SCREENSHOT
541 StartCode:      PushForm "" SCREENSHOT @{ID ""}
542 EndCode:        PopForm
543 -
544 GI:             SCREENINFO
545 StartCode:      StartParagraph @{ID ""} SCREENINFO ""
546 EndCode:        EndParagraph
547 -
548 ######################################################################
549 #                           BIBLIOGRAPHY
550 ######################################################################
551 GI:             BIBLIODIV BIBLIOENTRY
552 StartCode:      PushForm "" @{_gi} @{ID ""}
553 EndCode:        PopForm
554 -
555 GI:             BIBLIOMISC
556 StartCode:      StartParagraph @{ID ""} "P" ""
557 EndCode:        EndParagraph
558 -
559 GI:             ARTHEADER BOOKBLIBLIO SERIESINFO
560 Ignore:         all
561 -
562 ######################################################################
563 #
564 ######################################################################
565 GI:             EPIGRAPH
566 StartCode:      PushForm "" @{_gi} @{ID ""}
567 EndCode:        PopForm
568 -
569 GI:             SYNOPSIS
570 Relation:       parent REFSYNOPSISDIV
571 StartCode:      StartSynopsis @{ID ""} @{LINESPECIFIC ""}
572 EndCode:        EndSynopses @{_parent}
573 -
574 GI:             CMDSYNOPSIS
575 StartCode:      StartCmdSynopsis @{ID ""}
576 EndCode:        EndSynopses @{_parent}
577 -
578 GI:             FUNCSYNOPSIS
579 StartCode:      StartFuncSynopsis @{ID ""}
580 EndCode:        EndSynopses @{_parent}
581 -
582 GI:             INFORMALEQUATION INFORMALEXAMPLE
583 GI:             BLOCKQUOTE
584 Relation:       parent PARA
585 StartCode:      PushForm "" "INSIDE-PARA" ""
586                 ^StartParagraph @{ID ""} @{_gi} ""
587 EndCode:        ContinueParagraph
588 -
589 GI:             INFORMALEQUATION INFORMALEXAMPLE
590 StartCode:      StartParagraph @{ID ""} @{_gi} ""
591 EndCode:        EndParagraph
592 -
593 GI:             EQUATION
594 StartCode:      PushForm "" "" ""
595 EndCode:        PopForm
596 -
597 GI:             BLOCKQUOTE
598 StartCode:      PushForm "" @{_gi} @{ID ""}
599 EndCode:        PopForm
600 -
601 GI:             SYNOPSIS
602 Relation:       parent PARA
603 StartCode:      PushForm "" "INSIDE-PARA" ""
604                 ^StartParagraph @{ID ""} @{_gi} LITERAL
605 EndCode:        ContinueParagraph
606 -
607 GI:             SYNOPSIS
608 StartCode:      StartParagraph @{ID ""} @{_gi} LITERAL
609 EndCode:        EndParagraph
610 -
611 GI:             XREF
612 AttValue:       ENDTERM .
613 StartText:      <LINK RID="@{LINKEND}">@{_followlink ENDTERM 8001}</LINK>
614 -
615 GI:             XREF
616 StartText:      <LINK RID="@{LINKEND}">@{_followlink LINKEND 1}</LINK>
617 -
618 GI:             FOOTNOTEREF
619 StartCode:      FootnoteRef @{LINKEND ""}
620 -
621 # FOOTNOTE elements were already processed in CHAPTER
622 GI:             FOOTNOTE
623 Ignore:         all
624 -
625 GI:             FIGURE
626 StartCode:      StartFigure @{ID ""} @{ROLE ""}
627 EndCode:        PopForm
628 -
629 GI:             GRAPHIC
630 Relation:       parent PARA
631 AttValue:       ENTITYREF .
632 StartCode:      PushForm "" "INSIDE-PARA" ""
633                 ^Graphic @{ID ""} "@{_filename}" "@{FILEREF}" @{_gi}
634 EndCode:        ContinueParagraph
635 Ignore:         all
636 -
637 GI:             GRAPHIC
638 Relation:       parent PARA
639 StartCode:      PushForm "" "INSIDE-PARA" ""
640                 ^Graphic @{ID ""} "" "@{FILEREF}" @{_gi}
641 EndCode:        ContinueParagraph
642 Ignore:         all
643 -
644 GI:             GRAPHIC
645 Relation:       parent INLINEEQUATION
646 AttValue:       ENTITYREF .
647 StartCode:      Graphic @{ID ""} "@{_filename}" "@{FILEREF}" INLINEGRAPHIC
648 Ignore:         all
649 -
650 GI:             GRAPHIC
651 Relation:       parent INLINEEQUATION
652 StartCode:      Graphic @{ID ""} "" "@{FILEREF}"  INLINEGRAPHIC
653 Ignore:         all
654 -
655 GI:             GRAPHIC
656 AttValue:       ENTITYREF .
657 StartCode:      Graphic @{ID ""} "@{_filename}" "@{FILEREF}"  @{_gi}
658 EndCode:        EndParagraph
659 Ignore:         all
660 -
661 GI:             GRAPHIC
662 StartCode:      Graphic @{ID ""} "" "@{FILEREF}"  @{_gi}
663 EndCode:        EndParagraph
664 Ignore:         all
665 -
666 GI:             INLINEGRAPHIC
667 Relation:       isfirstcon PARA
668 AttValue:       ENTITYREF .
669 StartCode:      InFlowGraphic @{ID ""} "@{_filename}" "@{FILEREF}" 
670                               PARA      @{REMAP ""}    @{ROLE ""}
671 Ignore:         all
672 -
673 GI:             INLINEGRAPHIC
674 Relation:       isfirstcon LINK
675 AttValue:       ENTITYREF .
676 StartCode:      InFlowGraphic @{ID ""} "@{_filename}" "@{FILEREF}" 
677                               LINK      @{REMAP ""}    @{ROLE ""}
678 Ignore:         all
679 -
680 GI:             INLINEGRAPHIC
681 Relation:       isfirstcon OLINK
682 AttValue:       ENTITYREF .
683 StartCode:      InFlowGraphic @{ID ""} "@{_filename}" "@{FILEREF}" 
684                               OLINK     @{REMAP ""}    @{ROLE ""}
685 Ignore:         all
686 -
687 GI:             INLINEGRAPHIC
688 Relation:       isfirstcon ULINK
689 AttValue:       ENTITYREF .
690 StartCode:      InFlowGraphic @{ID ""} "@{_filename}" "@{FILEREF}" 
691                               ULINK     @{REMAP ""}    @{ROLE ""}
692 Ignore:         all
693 -
694 GI:             INLINEGRAPHIC
695 AttValue:       ENTITYREF .
696 StartCode:      Graphic @{ID ""} "@{_filename}" @{FILEREF ""}  @{_gi}
697 Ignore:         all
698 -
699 GI:             INLINEGRAPHIC
700 Relation:       isfirstcon PARA
701 StartCode:      InFlowGraphic @{ID ""} ""  "@{FILEREF}" 
702                               PARA @{REMAP ""} @{ROLE ""}
703 Ignore:         all
704 -
705 GI:             INLINEGRAPHIC
706 Relation:       isfirstcon LINK
707 StartCode:      InFlowGraphic @{ID ""} "" "@{FILEREF}" 
708                               LINK @{REMAP ""} @{ROLE ""}
709 Ignore:         all
710 -
711 GI:             INLINEGRAPHIC
712 Relation:       isfirstcon OLINK
713 StartCode:      InFlowGraphic @{ID ""} "" "@{FILEREF}" 
714                               OLINK @{REMAP ""} @{ROLE ""}
715 Ignore:         all
716 -
717 GI:             INLINEGRAPHIC
718 Relation:       isfirstcon ULINK
719 StartCode:      InFlowGraphic @{ID ""} "" "@{FILEREF}" 
720                               ULINK @{REMAP ""} @{ROLE ""}
721 Ignore:         all
722 -
723 GI:             INLINEGRAPHIC
724 StartCode:      Graphic @{ID ""} "" @{FILEREF ""}  @{_gi}
725 Ignore:         all
726 -
727 GI:             INLINEEQUATION
728 -
729 GI:             EXAMPLE INFORMALEXAMPLE
730 StartCode:      Example @{ID ""}
731 EndCode:        CloseExample
732 -
733 GI:             CITETITLE
734 StartCode:      StartKey @{ID ""} PUB-LIT CITETITLE-@{PUBWORK PART}
735 EndText:        </KEY>
736 -
737 GI:             CITATION
738 StartCode:      StartKey @{ID ""} PUB-LIT CITATION
739 EndText:        </KEY>
740 -
741 GI:             COMMAND
742 Relation:       parent CMDSYNOPSIS
743 NthChild:       1
744 StartCode:      StartCommand @{ID ""} ""
745 EndText:        </KEY>
746 -
747 GI:             COMMAND
748 Relation:       parent CMDSYNOPSIS
749 StartCode:      StartKey @{ID ""} NAME "COMMAND"
750 EndText:        </KEY>
751 -
752 GI:             COMMAND FIRSTTERM
753 StartCode:      StartKey @{ID ""} NAME @{_gi}
754 EndText:        </KEY>
755 -
756 GI:             ACTION FILENAME FUNCTION HARDWARE KEYCAP
757 GI:             INTERFACEDEFINITION PROPERTY
758 StartCode:      StartKey @{ID ""} NAME @{_gi}
759 EndText:        </KEY>
760 -
761 GI:             INTERFACE
762 StartCode:      StartKey @{ID ""} NAME @{_gi}-@{CLASS BUTTON}
763 EndText:        </KEY>
764 -
765 GI:             REPLACEABLE
766 Relation:       parent GROUP
767 NthChild:       1
768 Action:         1004
769 -
770 GI:             REPLACEABLE
771 Relation:       parent GROUP
772 StartText:      |@{_action 1004}
773 -
774 GI:             REPLACEABLE
775 StartCode:      StartKey @{ID ""} MACH-IN @{_gi}-@{CLASS PARAMETER}
776 EndText:        </KEY>
777 SpecID:         1004
778 -
779 GI:             QUOTE
780 StartCode:      StartQuote @{ID ""}
781 EndCode:        EndQuote
782 -
783 GI:             LITERAL
784 StartCode:      StartKey @{ID ""} QUOTE @{_gi}
785 EndText:        </KEY>
786 -
787 GI:             EMPHASIS
788 AttValue:       ROLE .
789 StartCode:      StartHeading @{ID ""} @{ROLE}
790 EndText:        </KEY>
791 -
792 GI:             EMPHASIS SYMBOL
793 StartCode:      StartKey @{ID ""} EMPH @{_gi}
794 EndText:        </KEY>
795 -
796 GI:             OPTION
797 Relation:       parent ARG
798 NthChild:       1
799 Action:         1005
800 -
801 GI:             OPTION
802 Relation:       parent ARG
803 StartText:      \s@{_action 1005}
804 -
805 GI:             OPTION
806 StartCode:      StartKey @{ID ""} MACH-IN @{_gi}
807 EndText:        </KEY>
808 SpecID:         1005
809 -
810 GI:             USERINPUT OPTIONAL
811 StartCode:      StartKey @{ID ""} MACH-IN @{_gi}
812 EndText:        </KEY>
813 -
814 GI:             SYSTEMITEM
815 StartCode:      StartKey @{ID ""} MACH-OUT @{CLASS SYSTEMNAME}
816 EndText:        </KEY>
817 -
818 GI:             COMPUTEROUTPUT
819 StartCode:      StartKey @{ID ""} MACH-OUT @{_gi}
820 EndText:        </KEY>
821 -
822 GI:             PARAMETER RETURNVALUE
823 StartCode:      StartKey @{ID ""} NAME @{_gi}
824 EndText:        </KEY>
825 -
826 GI:             ERRORNAME ERRORTYPE APPLICATION FOREIGNPHRASE MARKUP
827 GI:             WORDASWORD
828 StartCode:      StartKey @{ID ""} EMPH @{_gi}
829 EndText:        </KEY>
830 -
831 GI:             STRUCTNAME STRUCTFIELD TYPE TOKEN
832 StartCode:      StartKey @{ID ""} NAME @{_gi}
833 EndText:        </KEY>
834 -
835 GI:             SIDEBAR
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.
840 Ignore:         all
841 -
842 GI:             KEYCODE KEYSYM MEDIALABEL
843 GI:             ACRONYM ABBREV
844 StartCode:      Anchor @{ID ""}
845 -
846 ######################################################################
847 #                           SGMLTAG
848 ######################################################################
849 GI:             SGMLTAG
850 StartCode:      StartSgmlTag @{ID ""} @{CLASS ELEMENT}
851 EndCode:        EndSgmlTag @{CLASS ELEMENT}
852 -
853 ######################################################################
854 #                           MESSAGES
855 ######################################################################
856 GI:             MSGTEXT MSGSET MSGENTRY MSG MSGMAIN MSGSUB
857 GI:             MSGREL MSGEXPLAN
858 StartCode:      PushForm "" @{_gi} @{ID ""}
859 EndCode:        PopForm
860 -
861 GI:             MSGINFO
862 StartCode:      StartParagraph @{ID ""} MSG LITERAL
863 -
864 GI:             MSGORIG MSGAUD MSGLEVEL
865 -
866 ######################################################################
867 #                            TABLE
868 ######################################################################
869 GI:             TABLE
870 StartText:      @{_action 6}@{_followrel child TITLE 1002}
871 StartCode:      StartTable @{ID ""}    @{COLSEP 1} @{FRAME ALL} 
872                            @{LABEL ""} @{ROWSEP 1}
873 EndCode:        PopForm; PopForm
874 -
875 GI:             INFORMALTABLE
876 Relation:       parent PARA
877 StartCode:      PushForm "" "INSIDE-PARA" ""
878                 ^StartTable @{ID ""}    @{COLSEP 1} @{FRAME ALL} 
879                            @{LABEL ""} @{ROWSEP 1}
880 EndCode:        PopForm; ContinueParagraph
881 -
882 GI:             INFORMALTABLE
883 StartCode:      StartTable @{ID ""}    @{COLSEP 1} @{FRAME ALL} 
884                            @{LABEL ""} @{ROWSEP 1}
885 EndCode:        PopForm
886 -
887 GI:             TGROUP
888 StartCode:      StartTGroup     @{ID ""} @{ALIGN}     {@{CHAR}} 
889                                 @{COLS}  @{COLSEP ""} @{ROWSEP ""} 
890                                 @{_nchild COLSPEC}
891 EndText:        @{_followrel child TFOOT 1003}@{_action 7}
892 -
893 GI:             COLSPEC
894 Relation:       parent THEAD
895 Ignore:         all
896 -
897 GI:             COLSPEC
898 Relation:       parent TFOOT
899 Ignore:         all
900 -
901 GI:             COLSPEC
902 StartCode:      ColSpec @{_parent 2}  @{_parent} 
903                         @{ALIGN LEFT} {@{CHAR}} 
904                         @{COLNAME ""} @{COLNUM ""} 
905                         @{COLSEP ""}  @{COLWIDTH ""} 
906                         @{ROWSEP ""}
907 SpecID:         1009
908 -
909 GI:             SPANSPEC
910 StartCode:      SpanSpec @{_parent} @{ALIGN}   {@{CHAR}}    @{COLSEP ""} 
911                          @{NAMEEND} @{NAMEST}  @{ROWSEP ""} @{SPANNAME}
912 -
913 GI:             TFOOT
914 StartCode:      PrepForTFoot @{_nchild COLSPEC}
915 Ignore:         all
916 -
917 GI:             THEAD TFOOT TBODY
918 Relation:       sibling- THEAD
919 StartText:      @{_action 10}@{_followrel child COLSPEC 1009}
920 StartCode:      StartTHeadTFootTBody @{_parent} @{_gi} 1 
921                                      @{ID ""} @{VALIGN} 
922                                      @{_nchild ROW} 
923                                      @{_nchild COLSPEC}
924 EndCode:        EndTHeadTFootTBody @{_parent} @{_gi}
925 -
926 GI:             THEAD TFOOT TBODY
927 StartText:      @{_action 10}@{_followrel child COLSPEC 1009}
928 StartCode:      StartTHeadTFootTBody @{_parent} @{_gi} 0 
929                                      @{ID ""} @{VALIGN} 
930                                      @{_nchild ROW} 
931                                      @{_nchild COLSPEC}
932 EndCode:        EndTHeadTFootTBody @{_parent} @{_gi}
933 SpecID: 1003
934 -
935 GI:             ROW
936 StartCode:      StartRow @{_parent 2} @{_parent} @{ID ""} 
937                          @{ROWSEP ""} @{VALIGN NONE}
938 EndCode:        EndRow @{_parent 2} @{_parent}
939 -
940 GI:             ENTRY
941 StartCode:      StartCell @{_parent 3}  @{_parent 2}   @{_gi} 
942                           @{ID ""}      @{ALIGN ""}    {@{CHAR}} 
943                           @{COLNAME ""} ""             @{COLSEP ""} 
944                           @{MOREROWS}   @{NAMEEND ""}  @{NAMEST ""} 
945                           @{ROWSEP ""}  @{SPANNAME ""} @{VALIGN ""} 
946                           ""            ""
947 EndCode:        EndEntry
948 -
949 GI:             ENTRYTBL
950 StartCode:      StartCell @{_parent 3}  @{_parent 2}   @{_gi} 
951                           @{ID ""}      @{ALIGN ""}    {@{CHAR}} 
952                           @{COLNAME ""} @{COLS}        @{COLSEP ""} 
953                           0             @{NAMEEND ""}  @{NAMEST ""} 
954                           @{ROWSEP ""}  @{SPANNAME ""} {} 
955                           @{_nchild COLSPEC} 
956                           @{_nchild TBODY}
957 EndCode:        EndEntryTbl
958 -
959 ######################################################################
960 #                            PROCEDURE
961 ######################################################################
962 GI:             PROCEDURE
963 StartCode:      StartProcedure @{ID ""}
964 EndCode:        PopForm
965 -
966 GI:             STEP
967 StartCode:      StartStep @{ID ""}
968 EndCode:        PopForm
969 -
970 GI:             SUBSTEPS
971 StartCode:      StartSubStep @{ID ""}
972 EndCode:        PopForm
973 -
974 ######################################################################
975 #                            REFENTRY
976 ######################################################################
977 GI:             REFMETA
978 -
979 GI:             COMMENT
980 Ignore:         all
981 -
982 GI:             REFMISCINFO
983 Ignore:         all
984 -
985 GI:             CITEREFENTRY
986 -
987 GI:             REFENTRYTITLE
988 Relation:       parent CITEREFENTRY
989 -
990 GI:             REFENTRYTITLE
991 StartCode:      DivertOutputToManTitle
992 EndCode:        RestoreOutputStreamFromManTitle
993 -
994 GI:             MANVOLNUM
995 Relation:       parent CITEREFENTRY
996 StartText:      (
997 EndText:        )
998 -
999 GI:             MANVOLNUM
1000 StartCode:      DivertOutputToManVolNum
1001 EndCode:        RestoreOutputStreamFromManVolNum
1002 -
1003 GI:             REFNAMEDIV
1004 StartCode:      StartRefNameDiv @{_nchild REFNAME}
1005 EndCode:        EndRefNameDiv @{ID ""}
1006 -
1007 GI:             REFDESCRIPTOR
1008 StartCode:      DivertOutputToManDescriptor
1009 EndCode:        RestoreOutputStreamFromManDescriptor
1010 -
1011 GI:             REFNAME
1012 StartCode:      StartAManName
1013 EndCode:        EndAManName
1014 -
1015 GI:             REFPURPOSE
1016 StartCode:      DivertOutputToManPurpose
1017 EndCode:        RestoreOutputStreamFromManPurpose
1018 -
1019 GI:             REFCLASS
1020 Ignore:         all
1021 -
1022 GI:             REFSYNOPSISDIV
1023 StartCode:      StartRefSynopsisDiv @{ID ""} @{_nchild TITLE} 
1024                            [expr "@{_nchild SYNOPSIS} + 
1025                                   @{_nchild CMDSYNOPSIS} + 
1026                                   @{_nchild FUNCSYNOPSIS}"]
1027 EndCode:        PopForm
1028 -
1029 GI:             SYNOPFRAGMENTREF
1030 StartText:      @{_id @{LINKEND} 11}
1031 StartCode:      StartLink @{ID ""} @{LINKEND} ""
1032 EndCode:        EndLink
1033 -
1034 GI:             SYNOPFRAGMENT
1035 StartCode:      Anchor @{ID ""}
1036 -
1037 GI:             ARG
1038 NthChild:       1
1039 StartCode:      StartArg @{ID ""} @{CHOICE} ""
1040 EndCode:        EndArg @{CHOICE} @{REP}
1041 -
1042 GI:             ARG
1043 Relation:       parent GROUP
1044 StartCode:      StartArg @{ID ""} @{CHOICE} "|"
1045 EndCode:        EndArg @{CHOICE} @{REP}
1046 -
1047 GI:             ARG
1048 StartCode:      StartArg @{ID ""} @{CHOICE} " "
1049 EndCode:        EndArg @{CHOICE} @{REP}
1050 -
1051 GI:             GROUP
1052 NthChild:       1
1053 StartCode:      StartGroup @{ID ""} @{CHOICE} ""
1054 EndCode:        EndGroup @{CHOICE} @{REP}
1055 -
1056 GI:             GROUP
1057 Relation:       parent GROUP
1058 StartCode:      StartGroup @{ID ""} @{CHOICE} "|"
1059 EndCode:        EndGroup @{CHOICE} @{REP}
1060 -
1061 GI:             GROUP
1062 StartCode:      StartGroup @{ID ""} @{CHOICE} " "
1063 EndCode:        EndGroup @{CHOICE} @{REP}
1064 -
1065 GI:             FUNCSYNOPSISINFO
1066 StartCode:      StartFuncSynopsisInfo @{ID ""} @{LINESPECIFIC ""}
1067 -
1068 GI:             FUNCDEF
1069 StartCode:      StartFuncDef @{ID ""}
1070 -
1071 GI:             VOID VARARGS
1072 StartCode:      DoVoidOrVarargs @{_gi} @{ID ""}
1073 -
1074 GI:             PARAMDEF
1075 NthChild:       -1
1076 StartCode:      StartParamDef @{ID ""}
1077 EndCode:        EndParamDef ")"
1078 -
1079 GI:             PARAMDEF
1080 StartCode:      StartParamDef @{ID ""}
1081 EndCode:        EndParamDef ", "
1082 -
1083 GI:             FUNCPARAMS
1084 NthChild:       -1
1085 StartCode:      StartFuncParams @{ID ""}
1086 EndCode:        EndFuncParams ")"
1087 -
1088 GI:             FUNCPARAMS
1089 StartCode:      StartFuncParams @{ID ""}
1090 EndCode:        EndFuncParams ", "
1091 -
1092 GI:             REFSECT1 REFSECT2 REFSECT3
1093 StartCode:      PushForm "" "" @{ID ""}
1094 EndCode:        PopForm; PopForm
1095 -
1096 ######################################################################
1097 #                        BRIDGEHEAD
1098 ######################################################################
1099 GI:             BRIDGEHEAD
1100 StartCode:      StartBridgeHead @{ID ""} @{RENDERAS OTHER}
1101 EndCode:        EndBridgeHead
1102 -
1103 ######################################################################
1104 #                        TRADEMARK
1105 ######################################################################
1106 GI:             TRADEMARK
1107 StartCode:      StartKey @{ID ""} PRODUCT TRADEMARK
1108 EndCode:        EndTradeMark @{CLASS TRADE}
1109 -
1110 ######################################################################
1111 #                       IGNORED THINGS
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
1120 GI:             LINEANNOTATION
1121 Ignore:         all
1122 -
1123 ######################################################################
1124 #                        NO-OP THINGS
1125 ######################################################################
1126 GI:             POSTCODE BEGINPAGE CLASSNAME DATABASE
1127 GI:             PRODUCTNUMBER PRODUCTNAME
1128 GI:             ORGNAME STREET POB STATE PHONE
1129 GI:             SHORTAFFIL
1130 StartCode:      Anchor @{ID ""}
1131 -
1132 ######################################################################
1133 #                   END OF SUPPORTED GI'S
1134 ######################################################################
1135 # done with all accepted GIs
1136 StartCode:      UserError "Unrecognized tag \"@{_gi}\"" yes
1137 -
1138 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
1139 # The following specifications are only reached via the SpecID ::
1140 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
1141 SpecID:         1
1142 StartText:      @{_set xrefdone no}
1143                 @{_attval XREFLABEL 2}
1144                 @{_break xrefdone yes}
1145                 @{_followrel descendant TITLE 8001}
1146 Ignore:         all
1147 -
1148 SpecID: 8001
1149 -
1150 SpecID:         2
1151 StartText:      @{XREFLABEL}
1152 Set:            xrefdone yes
1153 Ignore:         all
1154 -
1155 # used in PART to find FOOTNOTE elements and pre-number them
1156 SpecID:         3
1157 StartCode:      GatherFootnote @{ID ""}
1158 -
1159 SpecID:         4
1160 StartCode:      OpenDocument @{host} @{basename} "@{date}"
1161 Ignore:         all
1162 -
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
1165 SpecID:         5
1166 StartCode:      set partIntroId @{ID ""}
1167 Ignore:         all
1168 -
1169 # used in TABLE to emit a blank FORM so we have a place to hang
1170 # the TITLE
1171 SpecID:         6
1172 StartCode:      PushForm "" "" ""
1173 Ignore:         all
1174 -
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
1178 SpecID:         7
1179 EndCode:        EndTGroup
1180 Ignore:         all
1181 -
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
1184 SpecID:         8
1185 StartText:      @{_attval ROLE notoc 9}
1186 Ignore:         all
1187 -
1188 SpecID:         9
1189 StartCode:      StartAppendix @{_gi} @{ID ""} @{ROLE ""}
1190 -
1191 SpecID:         10
1192 StartCode:      set numberOfColSpecs @{_nchild COLSPEC}
1193 Ignore:         all
1194 -
1195 SpecID:         11
1196 StartCode:      CheckSynopFragmentRef @{_gi} @{ID ""}
1197 Ignore:         all
1198 -
1199 SpecID:         12
1200 StartCode:      Title @{ID ""} PART
1201 EndCode:        CloseTitle @{_parent}
1202 -
1203 SpecID:         13
1204 StartCode:      StartPart @{ID ""}
1205 Ignore:         all
1206 -