Debian Codegraph @

Transpec/docbook-to-man.ts

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