Debian Codegraph @

Transpec/docbook-to-man.ts-PUSHPOP

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #############################################################################
2 #
3 # docbook-to-man.ts
4 #
5 #############################################################################
6 #
7 # Copyright (c) 1996 X Consortium
8 # Copyright (c) 1996 Dalrymple Consulting
9 #
10 # Permission is hereby granted, free of charge, to any person obtaining a copy
11 # of this software and associated documentation files (the "Software"), to deal
12 # in the Software without restriction, including without limitation the rights
13 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14 # copies of the Software, and to permit persons to whom the Software is
15 # furnished to do so, subject to the following conditions:
16 #
17 # The above copyright notice and this permission notice shall be included in
18 # all copies or substantial portions of the Software.
19 #
20 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23 # X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR
24 # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
25 # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
26 # OTHER DEALINGS IN THE SOFTWARE.
27 #
28 # Except as contained in this notice, the names of the X Consortium and
29 # Dalrymple Consulting shall not be used in advertising or otherwise to
30 # promote the sale, use or other dealings in this Software without prior
31 # written authorization.
32 #
33 #############################################################################
34 #
35 # Written 5/29/96 by Fred Dalrymple
36 #
37 #############################################################################
38 #
39 # $Id: docbook-to-man.ts-PUSHPOP,v 1.5 1999/02/23 20:31:38 db3l Exp $
40 #
41 #############################################################################
42 #
43 # Variables
44 #
45 Var: callout 0
46 Var: orderlist 0
47 Var: procstep 0
48 Var: procsubstep 0
49 #
50 #
51 #
52 #
53 #############################################################################
54 #
55 # Hierarchy (and document meta stuff)
56 #
57 # #### ##### ##### ##### ##### ##### #### #####
58 #
59 GI: REFENTRY
60 StartText: ^'\\" t^.TH "${_followrel descendant REFENTRYTITLE 1000}"
61 "${_followrel descendant MANVOLNUM 1000}" "${date}"
62 ^${_action 1002}^${_action 1001}^
63 EndText: ^...\\" created by instant / docbook-to-man, ${date}^
64 -
65 #
66 GI: DOCINFO
67 Ignore: all
68 -
69 #
70 GI: TITLE
71 Context: DOCINFO
72 # inside DocInfo, which we're ignoring
73 -
74 #
75 GI: REFMETA
76 Ignore: all
77 -
78 #
79 GI: REFNAMEDIV
80 StartText: ^.SH "NAME"^
81 -
82 #
83 GI: REFDESCRIPTOR
84 StartText: \\fB
85 EndText: \\fR\s
86 -
87 #
88 GI: REFNAME
89 Relation: sibling- REFDESCRIPTOR
90 # inhibit REFNAMEs when a REFDESCRIPTOR is present
91 Ignore: all
92 -
93 #
94 GI: REFNAME
95 StartText: ${_isset refnameseen xxx 20}
96 EndText: ${_set refnameseen xxx}
97 -
98 #
99 GI: _refname
100 SpecID: 20
101 StartText: ,\s
102 -
103 #
104 GI: REFPURPOSE
105 StartText: \s\\(em\s
106 EndText: ^
107 -
108 #
109 GI: REFCLASS
110 StartText: ^.PP^
111 EndText: ^
112 -
113 #
114 GI: REFSYNOPSISDIV
115 StartText: ^.SH "SYNOPSIS"^
116 EndText: ^
117 -
118 #
119 GI: REFSECT1
120 StartText: ^.SH "${_followrel child TITLE 1000}"^
121 EndText: ^
122 -
123 #
124 GI: REFSECT2
125 StartText: ^.SS "${_followrel child TITLE 1000}"^
126 EndText: ^
127 -
128 #
129 GI: REFSECT3
130 StartText: ^.SS "${_followrel child TITLE 1000}"^
131 EndText: ^
132 -
133 #
134 GI: BRIDGEHEAD
135 StartText: ^.PP^.pF B^
136 EndText: ^.fP^.PP^
137 -
138 #
139 GI: TITLE
140 Context: REFSYNOPSISDIV
141 Ignore: all
142 -
143 #
144 GI: TITLE
145 Context: REFSECT1
146 Ignore: all
147 -
148 #
149 GI: TITLE
150 Context: REFSECT2
151 Ignore: all
152 -
153 #
154 GI: TITLE
155 Context: REFSECT3
156 Ignore: all
157 -
158 #
159 GI: LEGALNOTICE
160 # part of the DocInfo structure, which is ignored
161 Ignore: all
162 -
163 #
164 GI: TITLE
165 Context: LEGALNOTICE
166 # part of the DocInfo structure, which is ignored
167 Ignore: all
168 -
169 #
170 GI: REFENTRYTITLE
171 Context: REFMETA
172 # part of the DocInfo structure, which is ignored
173 Ignore: all
174 -
175 #
176 GI: MANVOLNUM
177 Context: REFMETA
178 # part of the DocInfo structure, which is ignored, though this element
179 # if accessed directly by the _followrel call from the REFENTRY element.
180 Ignore: all
181 -
182 #
183 GI: REFMISCINFO
184 # part of the DocInfo structure, which is ignored
185 Ignore: all
186 -
187 #
188 GI: SUBTITLE
189 # part of the DocInfo structure, which is ignored
190 Ignore: all
191 -
192 #
193 GI: AUTHORGROUP
194 # part of the DocInfo structure, which is ignored
195 Ignore: all
196 -
197 #
198 GI: AUTHOR
199 Context: AUTHORGROUP
200 # part of the DocInfo structure, which is ignored
201 Ignore: all
202 -
203 #
204 GI: EDITOR
205 Context: AUTHORGROUP
206 # part of the DocInfo structure, which is ignored
207 Ignore: all
208 -
209 #
210 GI: COLLAB
211 Context: AUTHORGROUP
212 # part of the DocInfo structure, which is ignored
213 Ignore: all
214 -
215 #
216 GI: COLLABNAME
217 Context: COLLAB
218 # part of the DocInfo structure, which is ignored
219 Ignore: all
220 -
221 #
222 GI: CORPAUTHOR
223 Context: AUTHORGROUP
224 # part of the DocInfo structure, which is ignored
225 Ignore: all
226 -
227 #
228 GI: OTHERCREDIT
229 Context: AUTHORGROUP
230 # part of the DocInfo structure, which is ignored
231 Ignore: all
232 -
233 #
234 #
235 #############################################################################
236 #
237 # (before we get into the branch stuff, we turn off paragraphs in some
238 # contexts where they would break the flow. Generally, this happens
239 # within indented areas, such as within lists.
240 #
241 # #### ##### ##### ##### ##### ##### #### #####
242 #
243 GI: PARA
244 Context: LISTITEM
245 NthChild: 1
246 # nothing in this context
247 -
248 #
249 GI: PARA
250 Context: GLOSSDEF
251 NthChild: 1
252 # nothing in this context
253 -
254 #
255 GI: PARA
256 Context: STEP
257 NthChild: 1
258 # nothing in this context
259 -
260 #
261 GI: PARA
262 Context: CALLOUT
263 NthChild: 1
264 # nothing in this context
265 -
266 #
267 GI: PARA
268 Context: MSGTEXT
269 NthChild: 1
270 # nothing in this context
271 -
272 #
273 #
274 #############################################################################
275 #
276 # Regular "branch" stuff
277 #
278 # #### ##### ##### ##### ##### ##### #### #####
279 #
280 GI: FORMALPARA
281 # it's all done in TITLE (FORMALPARA) and PARA
282 -
283 #
284 GI: TITLE
285 Context: FORMALPARA
286 StartText: ^.PP^.pF B^
287 EndText: ^.fR^
288 -
289 #
290 GI: PARA
291 Context: LISTITEM
292 StartText: ^.IP "" 10^
293 -
294 #
295 GI: PARA
296 StartText: ^.PP^
297 -
298 #
299 GI: SIMPARA
300 StartText: ^.PP^
301 -
302 #
303 GI: PROGRAMLISTING
304 StartText: ^.PP^.nf^${_action 1001}^\\f(CW
305 EndText: \\fR^.fi^.PP^
306 -
307 #
308 GI: LITERALLAYOUT
309 StartText: ^.PP^.nf^${_action 1001}^
310 EndText: ^.fi^
311 -
312 #
313 GI: BLOCKQUOTE
314 StartText: ^.PP^.RS^
315 EndText: ^.RE^
316 -
317 #
318 GI: TITLE
319 Context: BLOCKQUOTE
320 StartText: ^.pF B^
321 EndText: ^.fR^.PP^
322 -
323 #
324 GI: EPIGRAPH
325 StartText: ^.PP^.RS^
326 EndText: ^.RE^
327 -
328 #
329 GI: ATTRIBUTION
330 StartText: ^\\fI
331 EndText: \\fR^.PP^
332 -
333 #
334 GI: ABSTRACT
335 Relation: child TITLE
336 -
337 #
338 GI: ABSTRACT
339 StartText: ^.SS "Abstract"^
340 -
341 #
342 GI: TITLE
343 Context: ABSTRACT
344 StartText: ^.SS "
345 EndText: "^
346 -
347 #
348 GI: REVHISTORY
349 StartText: ^.SS "Revision History"^
350 EndText: ^
351 -
352 #
353 GI: REVISION
354 StartText: ^.PP^\\fBRevision:\\fR\s
355 EndText: ^
356 -
357 #
358 GI: REVNUMBER
359 StartText: #\s
360 EndText: ;\s
361 -
362 #
363 GI: DATE
364 EndText: ;\s
365 -
366 #
367 GI: AUTHORINITIALS
368 Context: REVISION
369 StartText: \s
370 -
371 #
372 GI: REVREMARK
373 StartText: ;\s\s
374 EndText: ^
375 -
376 #
377 GI: PROGRAMLISTINGCO
378 # nothing to do specifically in ProgramListingCO -- it falls to
379 # the content of ProgramListing and any callout list
380 -
381 #
382 GI: SCREEN
383 StartText: ^.PP^.nf^${_action 1001}^
384 EndText: ^.fi^
385 -
386 #
387 GI: SCREENCO
388 # nothing to do specifically in ScreenCO -- it falls to
389 # the content of Screen and any callout list
390 -
391 #
392 GI: SCREENSHOT
393 # nothing specific to do here -- defer to any ScreenInfo or the
394 # included graphic
395 -
396 #
397 GI: SCREENINFO
398 StartText: ^.PP^\\fI
399 EndText: \\fR^.PP^
400 -
401 #
402 GI: GRAPHICCO
403 # nothing to do specifically in GraphicCO -- it falls to
404 # the content of Graphic and any callout list
405 -
406 #
407 GI: INFORMALEXAMPLE
408 # nothing special to do here -- it falls to the content.
409 -
410 #
411 GI: EXAMPLE
412 # nothing special to do here -- it falls to the content.
413 -
414 #
415 GI: TITLE
416 Context: EXAMPLE
417 StartText: ^.PP^.pF B^
418 EndText: ^.fR^
419 -
420 #
421 GI: FIGURE
422 # nothing special to do here -- it falls to the content.
423 -
424 #
425 GI: TITLE
426 Context: FIGURE
427 StartText: ^.PP^.pF B^
428 EndText: ^.fR^
429 -
430 #
431 GI: SIDEBAR
432 Relation: child TITLE
433 StartText: ^.PP^.RS^
434 EndText: ^.RE^
435 -
436 #
437 GI: SIDEBAR
438 StartText: ^.PP^.RS^\\fB[ Sidebar ]\\fR^
439 EndText: ^.RE^
440 -
441 #
442 GI: TITLE
443 Context: SIDEBAR
444 StartText: ^\\fB^[ Sidebar:\s
445 EndText: \s\\fB]\\fR^
446 -
447 #
448 GI: HIGHLIGHTS
449 StartText: ^.SS "Highlights"^
450 -
451 #
452 GI: AUTHORBLURB
453 # nothing to do specially -- an included title may occur
454 -
455 #
456 GI: TITLE
457 Context: AUTHORBLURB
458 StartText: ^.PP^.pF B^
459 EndText: ^.fP^
460 -
461 #
462 #
463 #############################################################################
464 #
465 # Call-out material
466 #
467 # #### ##### ##### ##### ##### ##### #### #####
468 #
469 GI: CO
470 # nothing to do for the anchor of a callout
471 -
472 #
473 GI: AREASPEC
474 Ignore: all
475 # not much to do with representing the anchor of callouts in n/troff
476 -
477 #
478 GI: AREA
479 Ignore: all
480 # part of AreaSpec, which is being ignored
481 -
482 #
483 GI: AREASET
484 Ignore: all
485 # part of AreaSpec, which is being ignored
486 -
487 #
488 #
489 #############################################################################
490 #
491 # Address block
492 #
493 # #### ##### ##### ##### ##### ##### #### #####
494 #
495 GI: ADDRESS
496 StartText: ^.PP^.nf^${_action 1001}^
497 EndText: ^.fi^
498 -
499 #
500 GI: STREET
501 # just the content...
502 -
503 #
504 GI: POB
505 # just the content...
506 -
507 #
508 GI: POSTCODE
509 # just the content...
510 -
511 #
512 GI: CITY
513 EndText: ,\s
514 -
515 #
516 GI: STATE
517 # just the content
518 -
519 #
520 GI: COUNTRY
521 # just the content
522 -
523 #
524 GI: PHONE
525 StartText: ^voice:\s
526 -
527 #
528 GI: FAX
529 StartText: ^fax:\s
530 -
531 #
532 GI: OTHERADDR
533 # just the content..
534 -
535 #
536 GI: EMAIL
537 Context: ADDRESS
538 # just the content..
539 -
540 #
541 #
542 #############################################################################
543 #
544 # Lists
545 #
546 # #### ##### ##### ##### ##### ##### #### #####
547 #
548 GI: GLOSSLIST
549 Relation: ancestor ITEMIZEDLIST
550 StartText: ^.RS^
551 EndText: ^.RE^
552 -
553 #
554 GI: GLOSSLIST
555 Relation: ancestor GLOSSLIST
556 StartText: ^.RS^
557 EndText: ^.RE^
558 -
559 #
560 GI: GLOSSLIST
561 Relation: ancestor ORDEREDLIST
562 StartText: ^.RS^
563 EndText: ^.RE^
564 -
565 #
566 GI: GLOSSLIST
567 Relation: ancestor SIMPLELIST
568 StartText: ^.RS^
569 EndText: ^.RE^
570 -
571 #
572 GI: GLOSSLIST
573 Relation: ancestor VARIABLELIST
574 StartText: ^.RS^
575 EndText: ^.RE^
576 -
577 #
578 GI: GLOSSLIST
579 Relation: ancestor SEGMENTEDLIST
580 StartText: ^.RS^
581 EndText: ^.RE^
582 -
583 #
584 GI: GLOSSLIST
585 # Nothing to do here.. see glossentry, etc
586 -
587 #
588 GI: GLOSSENTRY
589 # nothing to do..
590 -
591 #
592 GI: GLOSSTERM
593 Context: GLOSSENTRY
594 StartText: ^.IP "
595 EndText: " 10^
596 -
597 #
598 GI: GLOSSTERM
599 Relation: ancestor PARA
600 Action: 900
601 -
602 #
603 GI: GLOSSTERM
604 Action: 910
605 -
606 #
607 GI: ACRONYM
608 Context: GLOSSENTRY
609 StartText: (\\fIacronym:\s\\fR
610 EndText: )\s\s
611 -
612 #
613 GI: ABBREV
614 Context: GLOSSENTRY
615 StartText: (\\fIabbreviation:\s\\fR
616 EndText: )\s\s
617 -
618 #
619 GI: GLOSSSEE
620 StartText: ^\\fISee \\fR
621 -
622 #
623 GI: GLOSSDEF
624 # nothing special to do -- just pass the content.
625 -
626 #
627 GI: GLOSSSEEALSO
628 StartText: ^^\\fISee Also \\fR
629 -
630 #
631 GI: ITEMIZEDLIST
632 Relation: ancestor ITEMIZEDLIST
633 StartText: ^.RS^
634 EndText: ^.RE^
635 -
636 #
637 GI: ITEMIZEDLIST
638 Relation: ancestor GLOSSLIST
639 StartText: ^.RS^
640 EndText: ^.RE^
641 -
642 #
643 GI: ITEMIZEDLIST
644 Relation: ancestor ORDEREDLIST
645 StartText: ^.RS^
646 EndText: ^.RE^
647 -
648 #
649 GI: ITEMIZEDLIST
650 Relation: ancestor SIMPLELIST
651 StartText: ^.RS^
652 EndText: ^.RE^
653 -
654 #
655 GI: ITEMIZEDLIST
656 Relation: ancestor VARIABLELIST
657 StartText: ^.RS^
658 EndText: ^.RE^
659 -
660 #
661 GI: ITEMIZEDLIST
662 Relation: ancestor SEGMENTEDLIST
663 StartText: ^.RS^
664 EndText: ^.RE^
665 -
666 #
667 GI: ITEMIZEDLIST
668 # nothing to do..
669 -
670 #
671 GI: LISTITEM
672 Context: ITEMIZEDLIST
673 StartText: ^.IP "\ \ \ \\(bu" 6^
674 -
675 #
676 GI: ORDEREDLIST
677 Relation: ancestor ITEMIZEDLIST
678 StartText: ^.RS^
679 EndText: ^.RE^
680 -
681 #
682 GI: ORDEREDLIST
683 Relation: ancestor GLOSSLIST
684 StartText: ^.RS^
685 EndText: ^.RE^
686 -
687 #
688 GI: ORDEREDLIST
689 Relation: ancestor ORDEREDLIST
690 StartText: ^.RS^
691 EndText: ^.RE^
692 -
693 #
694 GI: ORDEREDLIST
695 Relation: ancestor SIMPLELIST
696 StartText: ^.RS^
697 EndText: ^.RE^
698 -
699 #
700 GI: ORDEREDLIST
701 Relation: ancestor VARIABLELIST
702 StartText: ^.RS^
703 EndText: ^.RE^
704 -
705 #
706 GI: ORDEREDLIST
707 Relation: ancestor SEGMENTEDLIST
708 StartText: ^.RS^
709 EndText: ^.RE^
710 -
711 #
712 GI: ORDEREDLIST
713 StartText: ${_set orderlist 1}
714 -
715 #
716 GI: LISTITEM
717 Context: ORDEREDLIST
718 StartText: ^.IP "\ \ \ ${orderlist}." 6^
719 Increment: orderlist
720 -
721 #
722 GI: SIMPLELIST
723 Relation: ancestor ITEMIZEDLIST
724 StartText: ^.RS^
725 EndText: ^.RE^
726 -
727 #
728 GI: SIMPLELIST
729 Relation: ancestor GLOSSLIST
730 StartText: ^.RS^
731 EndText: ^.RE^
732 -
733 #
734 GI: SIMPLELIST
735 Relation: ancestor ORDEREDLIST
736 StartText: ^.RS^
737 EndText: ^.RE^
738 -
739 #
740 GI: SIMPLELIST
741 Relation: ancestor SIMPLELIST
742 StartText: ^.RS^
743 EndText: ^.RE^
744 -
745 #
746 GI: SIMPLELIST
747 Relation: ancestor VARIABLELIST
748 StartText: ^.RS^
749 EndText: ^.RE^
750 -
751 #
752 GI: SIMPLELIST
753 Relation: ancestor SEGMENTEDLIST
754 StartText: ^.RS^
755 EndText: ^.RE^
756 -
757 #
758 GI: SIMPLELIST
759 # nothing to do here..
760 -
761 #
762 GI: MEMBER
763 PAttSet: TYPE INLINE
764 NthChild: 1
765 -
766 #
767 GI: MEMBER
768 PAttSet: TYPE INLINE
769 StartText: ,\s
770 -
771 #
772 GI: MEMBER
773 PAttSet: TYPE HORIZ
774 NthChild: 1
775 StartText: ^.PP^\t
776 -
777 #
778 GI: MEMBER
779 PAttSet: TYPE HORIZ
780 StartText: \t
781 -
782 #
783 GI: MEMBER
784 PAttSet: TYPE VERT
785 StartText: ^.IP "" 10^
786 EndText: ^
787 -
788 #
789 GI: VARIABLELIST
790 Relation: ancestor ITEMIZEDLIST
791 StartText: ^.RS^
792 EndText: ^.RE^
793 -
794 #
795 GI: VARIABLELIST
796 Relation: ancestor GLOSSLIST
797 StartText: ^.RS^
798 EndText: ^.RE^
799 -
800 #
801 GI: VARIABLELIST
802 Relation: ancestor ORDEREDLIST
803 StartText: ^.RS^
804 EndText: ^.RE^
805 -
806 #
807 GI: VARIABLELIST
808 Relation: ancestor SIMPLELIST
809 StartText: ^.RS^
810 EndText: ^.RE^
811 -
812 #
813 GI: VARIABLELIST
814 Relation: ancestor VARIABLELIST
815 StartText: ^.RS^
816 EndText: ^.RE^
817 -
818 #
819 GI: VARIABLELIST
820 Relation: ancestor SEGMENTEDLIST
821 StartText: ^.RS^
822 EndText: ^.RE^
823 -
824 #
825 GI: VARIABLELIST
826 # nothing to do now, see VarListEntry
827 -
828 #
829 GI: VARLISTENTRY
830 # nothing to do now, see Term
831 -
832 #
833 GI: TERM
834 StartText: ^.IP "
835 EndText: " 10^
836 -
837 #
838 GI: LISTITEM
839 Context: VARLISTENTRY
840 # nothing special to do..
841 -
842 #
843 GI: SEGMENTEDLIST
844 Relation: ancestor ITEMIZEDLIST
845 StartText: ^.RS^${_followrel child TITLE 400}^.TS^tab();^l l l l l l l l l l l l l l l l l l.^
846 EndText: ^.TE^.RE^
847 -
848 #
849 GI: SEGMENTEDLIST
850 Relation: ancestor GLOSSLIST
851 StartText: ^.RS^${_followrel child TITLE 400}^.TS^tab();^l l l l l l l l l l l l l l l l l l.^
852 EndText: ^.TE^.RE^
853 -
854 #
855 GI: SEGMENTEDLIST
856 Relation: ancestor ORDETERLIST
857 StartText: ^.RS^${_followrel child TITLE 400}^.TS^tab();^l l l l l l l l l l l l l l l l l l.^
858 EndText: ^.TE^.RE^
859 -
860 #
861 GI: SEGMENTEDLIST
862 Relation: ancestor SIMPLELIST
863 StartText: ^.RS^${_followrel child TITLE 400}^.TS^tab();^l l l l l l l l l l l l l l l l l l.^
864 EndText: ^.TE^.RE^
865 -
866 #
867 GI: SEGMENTEDLIST
868 Relation: ancestor VARIABLELIST
869 StartText: ^.RS^${_followrel child TITLE 400}^.TS^tab();^l l l l l l l l l l l l l l l l l l.^
870 EndText: ^.TE^.RE^
871 -
872 #
873 GI: SEGMENTEDLIST
874 Relation: ancestor SEGMENTEDLIST
875 StartText: ^.RS^${_followrel child TITLE 400}^.TS^tab();^l l l l l l l l l l l l l l l l l l.^
876 EndText: ^.TE^.RE^
877 -
878 #
879 GI: SEGMENTEDLIST
880 Relation: child TITLE
881 StartText: ^${_followrel child TITLE 400}^.TS^tab();^l l l l l l l l l l l l l l l l l l.^
882 EndText: ^.TE^
883 -
884 #
885 GI: TITLE
886 Context: SEGMENTEDLIST
887 # ignored by default -- must be called by SEGMENTEDLIST gi
888 Ignore: all
889 -
890 #
891 GI: _segmentedlist_title
892 SpecID: 400
893 StartText: ^.sp 1^.pF B^
894 EndText: ^.fP^
895 -
896 #
897 GI: SEGTITLE
898 StartText: \\fB
899 EndText: \\fR
900 -
901 #
902 GI: SEGLISTITEM
903 StartText: ^
904 EndText: ^
905 -
906 #
907 GI: SEG
908 EndText: 
909 -
910 #
911 GI: PROCEDURE
912 # defer to the content...
913 StartText: ${_set procstep 1}${_set procsubstep 1}
914 -
915 #
916 GI: TITLE
917 Context: PROCEDURE
918 StartText: ^.PP^.pF B^
919 EndText: ^.fP^
920 -
921 #
922 GI: STEP
923 StartText: ^.PP^\\fIStep ${procstep}.\s\s
924 EndText: ^
925 Increment: procstep 1
926 -
927 #
928 GI: TITLE
929 Context: STEP
930 StartText: ^.pF B^
931 EndText: ^.fP^.PP^
932 -
933 #
934 GI: SUBSTEPS
935 StartText: ^.RS^
936 EndText: ^.RE^
937 -
938 #
939 GI: STEP
940 Context: SUBSTEPS
941 StartText: ^.PP^\\fISubstep ${procsubstep}.\s\s
942 EndText: ^
943 Increment: procsubstep 1
944 -
945 #
946 GI: CALLOUTLIST
947 StartText: ${_set callout 1}
948 # nothing to do specifically, defer to the content...
949 -
950 #
951 GI: TITLE
952 Context: CALLOUTLIST
953 StartText: ^.pF B^
954 EndText: ^.fP^.PP^
955 -
956 #
957 GI: CALLOUT
958 StartText: ^.PP^\\fICallout ${callout}.\s\s\\fR
959 EndText: ^
960 Increment: callout
961 -
962 #
963 #
964 #############################################################################
965 #
966 # Messages
967 #
968 # #### ##### ##### ##### ##### ##### #### #####
969 #
970 GI: MSGSET
971 StartText: ^.SS "Message Set"^
972 -
973 #
974 GI: MSGENTRY
975 StartText: ^.PP^\\fBMessage Entry\\fR
976 EndText: ^
977 -
978 #
979 GI: MSG
980 Relation: child TITLE
981 StartText: ^.RS^
982 EndText: ^.RE^
983 -
984 #
985 GI: MSG
986 StartText: ^.RS^.PP^\\fIMessage\s\\fB
987 EndText: :\s\s\\fR^.RE^
988 -
989 #
990 GI: TITLE
991 Context: MSG
992 StartText: ^.PP^.pF B^
993 EndText: ^.fP^
994 -
995 #
996 GI: MSGINFO
997 # nothing specific -- just groups (MsgLevel | MsgOrig | MsgAud)*
998 -
999 #
1000 GI: MSGEXPLAN
1001 # nothing special -- defer to content
1002 -
1003 #
1004 GI: TITLE
1005 Context: MSGEXPLAN
1006 StartText: ^.PP^.pF B^
1007 EndText: ^.fP^
1008 -
1009 #
1010 GI: MSGMAIN
1011 # defer to content
1012 -
1013 #
1014 GI: TITLE
1015 Context: MSGMAIN
1016 StartText: ^.PP^.pF B^
1017 EndText: ^.fP^
1018 -
1019 #
1020 GI: MSGSUB
1021 # defer to content
1022 -
1023 #
1024 GI: TITLE
1025 Context: MSGSUB
1026 StartText: ^.PP^.pF B^
1027 EndText: ^.fP^
1028 -
1029 #
1030 GI: MSGREL
1031 # defer to content
1032 -
1033 #
1034 GI: TITLE
1035 Context: MSGREL
1036 StartText: ^.PP^.pF B^
1037 EndText: ^.fP^
1038 -
1039 #
1040 GI: MSGLEVEL
1041 StartText: ^\\fIMessage level:\s\s\\fR
1042 EndText: ^
1043 -
1044 #
1045 GI: MSGORIG
1046 StartText: ^\\fIMessage origin:\s\s\\fR
1047 EndText: ^
1048 -
1049 #
1050 GI: MSGAUD
1051 StartText: ^\\fIMessage audience:\s\s\\fR
1052 EndText: ^
1053 -
1054 #
1055 GI: MSGTEXT
1056 StartText: \\fR^\\fIMessage text:\\fR
1057 EndText: ^
1058 -
1059 #
1060 #
1061 #############################################################################
1062 #
1063 # Admonitions
1064 #
1065 # #### ##### ##### ##### ##### ##### #### #####
1066 #
1067 GI: CAUTION
1068 Relation: child TITLE
1069 StartText: ^.PP^.RS
1070 EndText: ^.RE^
1071 -
1072 #
1073 GI: CAUTION
1074 StartText: ^.PP^.RS^\\fBCaution:\s\s
1075 EndText: ^.RE^
1076 -
1077 #
1078 GI: TITLE
1079 Context: CAUTION
1080 StartText: ^\\fBCaution:\s\s
1081 EndText: \\fR^.PP^
1082 -
1083 #
1084 GI: IMPORTANT
1085 Relation: child TITLE
1086 StartText: ^.PP^.RS^
1087 EndText: ^.RE^
1088 -
1089 #
1090 GI: IMPORTANT
1091 StartText: ^.PP^.RS^\\fBImportant:\s\s
1092 EndText: ^.RE^
1093 -
1094 #
1095 GI: TITLE
1096 Context: IMPORTANT
1097 StartText: ^\\fBImportant:\s\s
1098 EndText: \\fR^.PP^
1099 -
1100 #
1101 GI: NOTE
1102 Relation: child TITLE
1103 StartText: ^.PP^.RS
1104 EndText: ^.RE^
1105 -
1106 #
1107 GI: NOTE
1108 StartText: ^.PP^.RS^\\fBNote:\s\s
1109 EndText: ^.RE^
1110 -
1111 #
1112 GI: TITLE
1113 Context: NOTE
1114 StartText: ^\\fBNote:\s\s
1115 EndText: \\fR^.PP^
1116 -
1117 #
1118 GI: TIP
1119 Relation: child TITLE
1120 StartText: ^.PP^.RS
1121 EndText: ^.RE^
1122 -
1123 #
1124 GI: TIP
1125 StartText: ^.PP^.RS^\\fBTip:\s\s
1126 EndText: ^.RE^
1127 -
1128 #
1129 GI: TITLE
1130 Context: TIP
1131 StartText: ^\\fBTip:\s\s
1132 EndText: \\fR^.PP^
1133 -
1134 #
1135 GI: WARNING
1136 Relation: child TITLE
1137 StartText: ^.PP^.RS
1138 EndText: ^.RE^
1139 -
1140 #
1141 GI: WARNING
1142 StartText: ^.PP^.RS^\\fBWarning:\s\s
1143 EndText: ^.RE^
1144 -
1145 #
1146 GI: TITLE
1147 Context: WARNING
1148 StartText: ^\\fBWarning:\s\s
1149 EndText: \\fR^.PP^
1150 -
1151 #
1152 #
1153 #############################################################################
1154 #
1155 # Synopses
1156 #
1157 # #### ##### ##### ##### ##### ##### #### #####
1158 #
1159 GI: SYNOPSIS
1160 StartText: ^.PP^
1161 EndText: ^
1162 -
1163 #
1164 GI: CMDSYNOPSIS
1165 StartText: ^.PP^
1166 EndText: ^
1167 -
1168 #
1169 GI: ARG
1170 Context: GROUP
1171 NthChild: 1
1172 EndText: ${_attval REP REPEAT 505}
1173 -
1174 #
1175 GI: ARG
1176 Context: GROUP
1177 StartText: \s|\s
1178 EndText: ${_attval REP REPEAT 505}
1179 -
1180 #
1181 GI: ARG
1182 AttValue: CHOICE OPT
1183 StartText: \s[
1184 EndText: ]${_attval REP REPEAT 505}\s
1185 -
1186 #
1187 GI: ARG
1188 # no special attrs -- just pass content through
1189 EndText: ${_attval REP REPEAT 505}
1190 -
1191 #
1192 GI: _arg_group
1193 SpecID: 505
1194 StartText: \s\\&...\s
1195 Ignore: all
1196 -
1197 #
1198 GI: GROUP
1199 AttValue: CHOICE OPT
1200 StartText: \s[
1201 EndText: ]\s${_attval REPEAT REPEAT 505}
1202 -
1203 #
1204 GI: GROUP
1205 AttValue: CHOICE REQ
1206 StartText: \s{
1207 EndText: }\s${_attval REPEAT REPEAT 505}
1208 -
1209 #
1210 GI: GROUP
1211 AttValue: CHOICE OPTMULT
1212 StartText: \s[[
1213 EndText: ]]\s${_attval REPEAT REPEAT 505}
1214 -
1215 #
1216 GI: GROUP
1217 AttValue: CHOICE REQMULT
1218 StartText: \s{{
1219 EndText: }}\s${_attval REPEAT REPEAT 505}
1220 -
1221 #
1222 GI: GROUP
1223 AttValue: CHOICE PLAIN
1224 EndText: ${_attval REPEAT REPEAT 505}
1225 -
1226 #
1227 GI: SBR
1228 StartText: ^.br^
1229 -
1230 #
1231 GI: SYNOPFRAGMENT
1232 # nothing special to do here -- just pass through content (Arg | Group)+
1233 -
1234 #
1235 GI: SYNOPFRAGMENTREF
1236 # WHAT TO DO HERE?? pass through the content, but what about the
1237 # linkend? (will call it across...)
1238 EndText: \s\\fI(refers to: ${_followlink LINKEND 1000})\\fR
1239 -
1240 #
1241 GI: FUNCSYNOPSIS
1242 StartText: ^.PP^.nf^${_action 1001}^
1243 EndText: ^.fi^
1244 -
1245 #
1246 GI: FUNCSYNOPSISINFO
1247 StartText: ^
1248 EndText: ^
1249 -
1250 #
1251 GI: FUNCPROTOTYPE
1252 # nothing special -- just pass through content (looks like
1253 # a function def
1254 StartText: ^.sp 1^
1255 -
1256 #
1257 GI: FUNCDEF
1258 StartText: ^\\fB
1259 EndText: \\fR(^
1260 -
1261 #
1262 GI: FUNCPARAMS
1263 StartText: \\fB
1264 EndText: \\fR^
1265 -
1266 #
1267 GI: VOID
1268 StartText: \t\\fBvoid\\fR)
1269 -
1270 #
1271 GI: VARARGS
1272 StartText: \t\\fB\\&...\\fR)
1273 -
1274 #
1275 GI: PARAMDEF
1276 Relation: sibling+ PARAMDEF
1277 StartText: \\fB
1278 EndText: \\fR,^
1279 -
1280 #
1281 GI: PARAMDEF
1282 StartText: \\fB
1283 EndText: \\fR);^
1284 -
1285 #
1286 #
1287 #############################################################################
1288 #
1289 # Links
1290 #
1291 # #### ##### ##### ##### ##### ##### #### #####
1292 #
1293 GI: LINK
1294 StartText: \\fI
1295 EndText: \\fR
1296 -
1297 #
1298 GI: OLINK
1299 StartText: \\fI
1300 EndText: \s(link to external document ${TargetDocEnt})\s\\fR
1301 -
1302 #
1303 GI: ULINK
1304 StartText: \\fI
1305 EndText: \s(link to URL ${URL})\s\\fR
1306 -
1307 #
1308 GI: FOOTNOTEREF
1309 # just let the footnote ref mark come through
1310 -
1311 #
1312 GI: FOOTNOTE
1313 # just let footnote body come through (-man doesn't support footnotes)
1314 -
1315 #
1316 GI: XREF
1317 AttValue: ENDTERM
1318 StartText: \\fI"${_followlink ENDTERM 1000}"\\fR\s
1319 -
1320 #
1321 GI: XREF
1322 StartText: \\fI"${_followlink LINKEND 600}"\\fR\s
1323 -
1324 #
1325 GI: _xref
1326 SpecID: 600
1327 StartText: ${_set xreflabel no}${_isset XREFLABEL 601}${_isset xreflabel no 602}
1328 Ignore: all
1329 -
1330 #
1331 GI: _xref_label
1332 SpecID: 601
1333 StartText: ${_set xreflabel yes}${XREFLABEL}
1334 Ignore: all
1335 -
1336 #
1337 GI: _xref_title
1338 SpecID: 602
1339 Set:
1340 StartText: ${_followrel child TITLE 1000}
1341 Ignore: all
1342 -
1343 #
1344 GI: ANCHOR
1345 # nothing to do -- this just marks a place..
1346 -
1347 #
1348 #
1349 #############################################################################
1350 #
1351 # Graphics and Equations
1352 #
1353 # #### ##### ##### ##### ##### ##### #### #####
1354 #
1355 GI: GRAPHIC
1356 AttValue: ENTITYREF
1357 StartText: ^.PP^.P! "${_filename}"^
1358 -
1359 #
1360 GI: INLINEGRAPHIC
1361 StartText: ^.P! "${_filename}"^
1362 -
1363 #
1364 GI: INFORMALEQUATION
1365 # nothing special to do -- defer to graphic content..
1366 -
1367 #
1368 GI: EQUATION
1369 # nothing special to do -- defer to graphic content..
1370 -
1371 #
1372 GI: TITLE
1373 Context: EQUATION
1374 StartText: ^.PP^.pF B^
1375 EndText: ^.fP^
1376 -
1377 #
1378 GI: INLINEEQUATION
1379 # nothing special to do -- defer to graphic content..
1380 -
1381 #
1382 #
1383 #############################################################################
1384 #
1385 # Tables
1386 #
1387 # #### ##### ##### ##### ##### ##### #### #####
1388 #
1389 #
1390 GI: INFORMALTABLE
1391 StartText: ^${_calstable tbl tablestart}^
1392 EndText: ^${_calstable tbl tableend}^
1393 -
1394 #
1395 GI: TABLE
1396 StartText: ^.PP^\\fB${_followrel child TITLE 1000}\\fR
1397 ^${_calstable tbl tablestart}^
1398 EndText: ^${_calstable tbl tableend}^
1399 -
1400 #
1401 GI: TITLE
1402 Context: TABLE
1403 # handled in TABLE element
1404 Ignore: all
1405 -
1406 #
1407 GI: TGROUP
1408 StartText: ^${_calstable tbl tablegroup}^${_followrel child THEAD 700}${_followrel child TBODY 700}${_followrel child TFOOT 701}
1409 EndText: ${_calstable tbl tablegroupend}
1410 -
1411 #
1412 GI: COLSPEC
1413 Ignore: all
1414 -
1415 #
1416 GI: SPANSPEC
1417 Ignore: all
1418 -
1419 #
1420 GI: THEAD TBODY TFOOT
1421 # they're called explicitly from TGROUP, but ignored here
1422 Ignore: all
1423 -
1424 #
1425 GI: _thead_tbody
1426 SpecID: 700
1427 # nothing special to do -- just pass through content
1428 -
1429 #
1430 GI: _tfoot
1431 SpecID: 701
1432 StartText: ^${_calstable tbl tablefoot}^
1433 -
1434 #
1435 GI: ROW
1436 StartText: ^${_calstable tbl rowstart}
1437 EndText: ${_calstable tbl rowend}^
1438 -
1439 #
1440 GI: ENTRY
1441 StartText: ${_calstable tbl entrystart}
1442 EndText: ${_calstable tbl entryend}
1443 -
1444 #
1445 GI: ENTRYTBL
1446 StartText:
1447 EndText:
1448 Message: ^IMPLEMENT <${_gi} ${_allatts}>^
1449 -
1450 #
1451 #
1452 #############################################################################
1453 #
1454 # Index terms
1455 #
1456 # #### ##### ##### ##### ##### ##### #### #####
1457 #
1458 GI: INDEXTERM
1459 StartText: ^.iX\s
1460 EndText: ^
1461 -
1462 #
1463 GI: PRIMARY
1464 StartText: "
1465 EndText: "
1466 -
1467 #
1468 GI: SECONDARY
1469 StartText: \s"
1470 EndText: "
1471 -
1472 #
1473 GI: TERTIARY
1474 StartText: \s"
1475 EndText: "
1476 -
1477 #
1478 GI: SEE
1479 StartText: \s"See:\s
1480 EndText: "
1481 -
1482 #
1483 GI: SEEALSO
1484 StartText: \s"SeeAlso:\s
1485 EndText: "
1486 -
1487 #
1488 #
1489 #############################################################################
1490 #
1491 # Author / OtherCredit material
1492 #
1493 # #### ##### ##### ##### ##### ##### #### #####
1494 #
1495 GI: OTHERCREDIT
1496 # nothing specific -- defer to content
1497 -
1498 #
1499 GI: HONORIFIC
1500 # nothing specific -- defer to content
1501 EndText: \s
1502 -
1503 #
1504 GI: FIRSTNAME
1505 # nothing specific -- defer to content
1506 EndText: \s
1507 -
1508 #
1509 GI: SURNAME
1510 # nothing specific -- defer to content
1511 EndText: \s
1512 -
1513 #
1514 GI: LINEAGE
1515 # nothing specific -- defer to content
1516 EndText: \s
1517 -
1518 #
1519 GI: OTHERNAME
1520 # nothing specific -- defer to content
1521 StartText: (
1522 EndText: )\s
1523 -
1524 #
1525 GI: AFFILIATION
1526 # nothing specific -- defer to content
1527 EndText: \s
1528 -
1529 #
1530 GI: SHORTAFFIL
1531 # nothing specific -- defer to content
1532 EndText: \s
1533 -
1534 #
1535 GI: JOBTITLE
1536 # nothing specific -- defer to content
1537 EndText: \s
1538 -
1539 #
1540 GI: ORGNAME
1541 # nothing specific -- defer to content
1542 EndText: \s
1543 -
1544 #
1545 GI: ORGDIV
1546 # nothing specific -- defer to content
1547 EndText: \s
1548 -
1549 #
1550 GI: CONTRIB
1551 # nothing specific -- defer to content
1552 EndText: \s
1553 -
1554 #
1555 #
1556 #############################################################################
1557 #
1558 # "Leaf" material
1559 #
1560 # #### ##### ##### ##### ##### ##### #### #####
1561 #
1562 GI: ABBREV
1563 # no special presentation
1564 -
1565 #
1566 GI: ACCEL
1567 # no special presentation
1568 -
1569 #
1570 GI: ACRONYM
1571 # no special presentation
1572 -
1573 #
1574 GI: AUTHORINITIALS
1575 # no special presentation
1576 -
1577 #
1578 GI: CITATION
1579 Relation: ancestor PARA
1580 Action: 900
1581 -
1582 #
1583 GI: CITATION
1584 Action: 910
1585 -
1586 #
1587 GI: CITETITLE
1588 AttValue: PUBWORK
1589 Relation: ancestor PARA
1590 StartText: \\c^.pF I^
1591 EndText: ^.fP^(${PUBWORK})\s
1592 -
1593 #
1594 GI: CITETITLE
1595 Relation: ancestor PARA
1596 Action: 920
1597 -
1598 #
1599 GI: CITETITLE
1600 AttValue: PUBWORK
1601 StartText: \\fI
1602 EndText: \\fP (${PUBWORK})\s
1603 -
1604 #
1605 GI: CITETITLE
1606 StartText: \\fI
1607 EndText: \\fP
1608 -
1609 #
1610 GI: CITEREFENTRY
1611 # defer to content..
1612 -
1613 #
1614 GI: REFENTRYTITLE
1615 Relation: ancestor PARA
1616 Action: 900
1617 -
1618 #
1619 GI: REFENTRYTITLE
1620 Action: 910
1621 -
1622 #
1623 GI: MANVOLNUM
1624 Relation: ancestor PARA
1625 StartText: \\c^.pF B^(\\c
1626 EndText: )\\c^.fP^
1627 -
1628 #
1629 GI: MANVOLNUM
1630 StartText: \\fB(
1631 EndText: )\\fP
1632 -
1633 #
1634 GI: COMMENT
1635 # docbook says to inhibit this from finished products...
1636 Ignore: all
1637 -
1638 #
1639 GI: EMAIL
1640 # no special presentation
1641 -
1642 #
1643 GI: EMPHASIS
1644 Relation: ancestor PARA
1645 Action: 920
1646 -
1647 #
1648 GI: EMPHASIS
1649 Action: 930
1650 -
1651 #
1652 GI: FIRSTTERM
1653 Relation: ancestor PARA
1654 Action: 920
1655 -
1656 #
1657 GI: FIRSTTERM
1658 Action: 930
1659 -
1660 #
1661 GI: FOREIGNPHRASE
1662 # no special presentation
1663 -
1664 #
1665 GI: PHRASE
1666 # no special presentation
1667 -
1668 #
1669 GI: QUOTE
1670 StartText: ``\\fI
1671 EndText: \\fR''
1672 -
1673 #
1674 GI: TRADEMARK
1675 EndText: \\u\\s-2TM\\s+2\\d
1676 -
1677 #
1678 GI: WORDASWORD
1679 # no special presentation
1680 -
1681 #
1682 GI: ACTION
1683 # no special presentation
1684 -
1685 #
1686 GI: APPLICATION
1687 Relation: ancestor PARA
1688 Action: 900
1689 -
1690 #
1691 GI: APPLICATION
1692 Action: 910
1693 -
1694 #
1695 GI: CLASSNAME
1696 Relation: ancestor PARA
1697 Action: 900
1698 -
1699 #
1700 GI: CLASSNAME
1701 Action: 910
1702 -
1703 #
1704 GI: COMMAND
1705 Relation: ancestor PARA
1706 Action: 900
1707 -
1708 #
1709 GI: COMMAND
1710 StartText: ${_action 910}\s
1711 Ignore: all
1712 -
1713 #
1714 GI: COMPUTEROUTPUT
1715 Relation: ancestor PARA
1716 StartText: \\c^.pF CW^
1717 EndText: ^.fP^
1718 -
1719 #
1720 GI: COMPUTEROUTPUT
1721 StartText: \\f(CW
1722 EndText: \\fP
1723 -
1724 #
1725 GI: DATABASE
1726 # no special presentation
1727 -
1728 #
1729 GI: ERRORNAME
1730 Relation: ancestor PARA
1731 Action: 900
1732 -
1733 #
1734 GI: ERRORNAME
1735 Action: 910
1736 -
1737 #
1738 GI: ERRORTYPE
1739 # no special presentation
1740 -
1741 #
1742 GI: FILENAME
1743 Relation: ancestor PARA
1744 Action: 900
1745 -
1746 #
1747 GI: FILENAME
1748 Action: 910
1749 -
1750 #
1751 GI: FUNCTION
1752 Relation: ancestor PARA
1753 Action: 900
1754 -
1755 #
1756 GI: FUNCTION
1757 Action: 910
1758 -
1759 #
1760 GI: GUIBUTTON
1761 Relation: ancestor PARA
1762 Action: 900
1763 -
1764 #
1765 GI: GUIBUTTON
1766 Action: 910
1767 -
1768 #
1769 GI: GUIICON
1770 Relation: ancestor PARA
1771 Action: 900
1772 -
1773 #
1774 GI: GUIICON
1775 Action: 910
1776 -
1777 #
1778 GI: GUILABEL
1779 # no special presentation
1780 -
1781 #
1782 GI: GUIMENU
1783 # no special presentation
1784 -
1785 #
1786 GI: GUIMENUITEM
1787 # no special presentation
1788 -
1789 #
1790 GI: GUISUBMENU
1791 # no special presentation
1792 -
1793 #
1794 GI: HARDWARE
1795 # no special presentation
1796 -
1797 #
1798 GI: INTERFACE
1799 # no special presentation
1800 -
1801 #
1802 GI: INTERFACEDEFINITION
1803 Relation: ancestor PARA
1804 Action: 900
1805 -
1806 #
1807 GI: INTERFACEDEFINITION
1808 Action: 910
1809 -
1810 #
1811 GI: KEYCAP
1812 Relation: ancestor PARA
1813 StartText: \\c^.pF B^<\\c
1814 EndText: >\\c^.fP^
1815 -
1816 #
1817 GI: KEYCAP
1818 StartText: \\fB<
1819 EndText: >\\fP
1820 -
1821 #
1822 GI: KEYCODE
1823 # no special presentation
1824 -
1825 #
1826 GI: KEYCOMBO
1827 # no special presentation -- defer to the content
1828 -
1829 #
1830 GI: KEYSYM
1831 Relation: ancestor PARA
1832 StartText: \\c^.pF B^<\\c
1833 EndText: >\\c^.fP^
1834 -
1835 #
1836 GI: KEYSYM
1837 Relation: ancestor PARA
1838 StartText: \\c^.pF B^<\\c
1839 EndText: >\\c^.fP^
1840 -
1841 #
1842 GI: KEYSYM
1843 StartText: \\fB<
1844 EndText: >\\fP
1845 -
1846 #
1847 GI: LINEANNOTATION
1848 Action: 920
1849 -
1850 #
1851 GI: LITERAL
1852 Relation: ancestor PARA
1853 Action: 900
1854 -
1855 #
1856 GI: LITERAL
1857 Action: 910
1858 -
1859 #
1860 GI: MARKUP
1861 Relation: ancestor PARA
1862 Action: 940
1863 -
1864 #
1865 GI: MARKUP
1866 Action: 950
1867 -
1868 #
1869 GI: MEDIALABEL
1870 # no special presentation
1871 -
1872 #
1873 GI: MENUCHOICE
1874 # no special presentation
1875 -
1876 #
1877 GI: PROMPT
1878 # no special presentation
1879 -
1880 #
1881 GI: SHORTCUT
1882 # no special presentation
1883 -
1884 #
1885 GI: MOUSEBUTTON
1886 # no special presentation
1887 -
1888 #
1889 GI: OPTION
1890 Relation: ancestor PARA
1891 Action: 900
1892 -
1893 #
1894 GI: OPTION
1895 Action: 910
1896 -
1897 #
1898 GI: OPTIONAL
1899 StartText: [
1900 EndText: ]
1901 -
1902 #
1903 GI: PARAMETER
1904 Relation: ancestor PARA
1905 Action: 900
1906 -
1907 #
1908 GI: PARAMETER
1909 Action: 910
1910 -
1911 #
1912 GI: PROPERTY
1913 Relation: ancestor PARA
1914 Action: 900
1915 -
1916 #
1917 GI: PROPERTY
1918 Action: 910
1919 -
1920 #
1921 GI: REPLACEABLE
1922 Relation: ancestor PARA
1923 Action: 920
1924 -
1925 #
1926 GI: REPLACEABLE
1927 Action: 930
1928 -
1929 #
1930 GI: RETURNVALUE
1931 Relation: ancestor PARA
1932 Action: 900
1933 -
1934 #
1935 GI: RETURNVALUE
1936 Action: 910
1937 -
1938 #
1939 GI: SGMLTAG
1940 AttValue: CLASS ELEMENT
1941 StartText: \\fB<
1942 EndText: >\\fP
1943 -
1944 #
1945 GI: SGMLTAG
1946 Relation: ancestor PARA
1947 Action: 900
1948 -
1949 #
1950 GI: SGMLTAG
1951 Action: 910
1952 -
1953 #
1954 GI: STRUCTFIELD
1955 Relation: ancestor PARA
1956 Action: 900
1957 -
1958 #
1959 GI: STRUCTFIELD
1960 Action: 910
1961 -
1962 #
1963 GI: STRUCTNAME
1964 Relation: ancestor PARA
1965 Action: 900
1966 -
1967 #
1968 GI: STRUCTNAME
1969 Action: 910
1970 -
1971 #
1972 GI: SYMBOL
1973 Relation: ancestor PARA
1974 Action: 920
1975 -
1976 #
1977 GI: SYMBOL
1978 Action: 930
1979 -
1980 #
1981 GI: SYSTEMITEM
1982 Relation: ancestor PARA
1983 Action: 900
1984 -
1985 #
1986 GI: SYSTEMITEM
1987 Action: 910
1988 -
1989 #
1990 GI: TOKEN
1991 Relation: ancestor PARA
1992 Action: 900
1993 -
1994 #
1995 GI: TOKEN
1996 Action: 910
1997 -
1998 #
1999 GI: TYPE
2000 Relation: ancestor PARA
2001 Action: 900
2002 -
2003 #
2004 GI: TYPE
2005 Action: 910
2006 -
2007 #
2008 GI: USERINPUT
2009 Relation: ancestor PARA
2010 Action: 900
2011 -
2012 #
2013 GI: USERINPUT
2014 Action: 910
2015 -
2016 #
2017 GI: AUTHOR
2018 # no special presentation - defer to content
2019 -
2020 #
2021 GI: CORPAUTHOR
2022 # no special presentation
2023 -
2024 #
2025 GI: MODESPEC
2026 # nothing to render (this is meta information for Links)
2027 -
2028 #
2029 GI: PRODUCTNAME
2030 Relation: ancestor PARA
2031 Action: 900
2032 -
2033 #
2034 GI: PRODUCTNAME
2035 Action: 910
2036 -
2037 #
2038 GI: PRODUCTNUMBER
2039 # no special presentation
2040 -
2041 #
2042 GI: SUBSCRIPT
2043 StartText: \\d
2044 EndText: \\u
2045 -
2046 #
2047 GI: SUPERSCRIPT
2048 StartText: \\u
2049 EndText: \\d
2050 -
2051 #
2052 #
2053 #############################################################################
2054 #
2055 # stuff that gets ignored (and doesn't belong elsewhere)
2056 #
2057 # #### ##### ##### ##### ##### ##### #### #####
2058 #
2059 GI: TITLEABBREV
2060 # this element is ignored in favor of the real title
2061 Ignore: all
2062 -
2063 #
2064 #
2065 #
2066 #############################################################################
2067 #
2068 # handle layout-specific stuff and PIs
2069 #
2070 # #### ##### ##### ##### ##### ##### #### #####
2071 #
2072 GI: BEGINPAGE
2073 StartText: ^.br
2074 -
2075 #
2076 GI: _x-break
2077 StartText: ^.br
2078 -
2079 #
2080 GI: _sml-break
2081 StartText: ^.br
2082 -
2083 #
2084 GI: _sml-need
2085 StartText: ^.ne\s
2086 EndText: ^
2087 -
2088 #
2089 GI: _sml-size
2090 StartText: ^.ps\s
2091 EndText: ^
2092 -
2093 #
2094 GI: _sml-indent
2095 StartText: ^.in\s
2096 EndText: ^
2097 -
2098 #
2099 GI: _sml-space
2100 StartText: ^.sp\s
2101 EndText: ^
2102 -
2103 #
2104 GI: _sml-tabset
2105 StartText: ^.ta\s
2106 EndText: ^
2107 -
2108 #
2109 #
2110 #############################################################################
2111 #
2112 # General purpose transpecs
2113 #
2114 # #### ##### ##### ##### ##### ##### #### #####
2115 #
2116 #
2117 GI: _macro_bold
2118 SpecID: 900
2119 StartText: \\c^.pF B^
2120 EndText: \\c^.fP^
2121 -
2122 #
2123 GI: _inline_bold
2124 SpecID: 910
2125 StartText: \\fB
2126 EndText: \\fP
2127 -
2128 #
2129 GI: _macro_italiac
2130 SpecID: 920
2131 StartText: \\c^.pF I^
2132 EndText: \\c^.fP^
2133 -
2134 #
2135 GI: _inline_italiac
2136 SpecID: 930
2137 StartText: \\fI
2138 EndText: \\fP
2139 -
2140 #
2141 GI: _macro_cw
2142 SpecID: 940
2143 StartText: \\c^.pF CW^
2144 EndText: \\c^.fP^
2145 -
2146 #
2147 GI: _macro_cw
2148 SpecID: 950
2149 StartText: \\f(CW
2150 EndText: \\fP
2151 -
2152 #
2153 GI: _passthrough
2154 SpecID: 1000
2155 -
2156 #
2157 # Used to reset trap positions, either at start of file or when .nf is
2158 # restarted, such as for literal output. Assumes caller is responsible
2159 # for line starting characters as appropriate. (it helps the calling
2160 # definitions read more logically).
2161 #
2162 GI: _tabset
2163 SpecID: 1001
2164 StartText: .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
2165 Ignore: all
2166 -
2167 #
2168 # Sets up macros for push/pop of fonts to better handle nested cases.
2169 # Moved reference into this file rather than assuming the wrapper script
2170 # will add it, since it's tightly coupled with this file anyway.
2171 #
2172 GI: _fontmac
2173 SpecID: 1002
2174 StartText: ^${_include docbook-to-man.prolog}^
2175 Ignore: all
2176 -
2177 #
2178 GI: _doTitle
2179 SpecID: 1010
2180 StartText: ^.PP^\\fB
2181 EndText: \\fR^.PP^
2182 -
2183 #
2184 #
2185 #############################################################################
2186 #
2187 # Catch-all for unknown PIs -- ignore them...
2188 #
2189 # #### ##### ##### ##### ##### ##### #### #####
2190 #
2191 GI: _*
2192 Ignore: all
2193 -
2194 #
2195 #
2196 #############################################################################
2197 #
2198 # Catch-all for unknown elements -- just output their content..
2199 #
2200 # #### ##### ##### ##### ##### ##### #### #####
2201 #
2202 #GI: *
2203 #-
2204 #