Debian Codegraph @

Transpec/docbook-to-man.ts

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