Annotation of Amaya/amaya/HTMLTT.T, revision 1.25
1.15 cvs 1: {HTMLTT -> HTML to Text translator rules}
2: {(c) COPYRIGHT MIT and INRIA, 1996. }
3: {Please first read the full copyright statement in file COPYRIGHT.}
4: { Authors: J. Kahan/V. Quint 1996 }
5:
1.1 cvs 6: TRANSLATION HTML;
7:
8: LINELENGTH 78;
9:
10: COUNTERS
11: ItemCounter : Rank of List_Item;
1.23 cvs 12: H2Counter;
13: H3Counter;
14: H4Counter;
15: H5Counter;
16: H6Counter;
1.12 cvs 17: AnchorCounter;
1.5 cvs 18:
1.3 cvs 19: CONST
1.5 cvs 20: DoubleQuote = '"';
1.10 cvs 21: DashLine = '--------------------------------------------------------------';
1.3 cvs 22: VAR
1.12 cvs 23: OUT_AnchorCounter : '[' Value(AnchorCounter) ']';
1.14 cvs 24: TmpFile : '/tmp/amaya.tmp';
1.1 cvs 25:
26: RULES
27:
28: HTML : BEGIN
1.5 cvs 29: Create '\12' After;
1.1 cvs 30: END;
31:
32: HEAD: BEGIN
1.15 cvs 33: Create In TmpFile '\12' After;
1.1 cvs 34: END;
35:
36: Document_URL:
37: BEGIN
1.15 cvs 38: NoLineBreak;
39: Create In TmpFile 'Document''s URL: ';
1.8 cvs 40: Create In TmpFile Content;
1.5 cvs 41: Create In TmpFile '\12' After;
42: Remove;
1.1 cvs 43: END;
44:
45: TITLE: BEGIN
1.15 cvs 46: Create 'Document''s Title: ';
47: Create '\12\12' After;
1.1 cvs 48: END;
49:
50: ISINDEX: BEGIN
51: Remove;
52: END;
53:
54: BASE: BEGIN
1.15 cvs 55: NoLineBreak;
1.16 cvs 56: Create IN TmpFile 'Document''s BASE: ';
57: Create Attributes;
58: Create IN TmpFile '\12' After;
1.1 cvs 59: END;
60:
61: Styles:BEGIN
1.7 cvs 62: Remove;
1.1 cvs 63: END;
64:
65: StyleRule:
66: BEGIN
1.7 cvs 67: Remove;
1.1 cvs 68: END;
69:
70: SCRIPT: BEGIN
1.7 cvs 71: Remove;
1.1 cvs 72: END;
73:
74: META: BEGIN
75: Remove;
76: END;
77:
78: LINK: BEGIN
79: Remove;
80: END;
81:
1.5 cvs 82:
1.1 cvs 83: BODY: BEGIN
1.23 cvs 84: Set H2Counter 0;
85: Set H3Counter 0;
86: Set H4Counter 0;
87: Set H5Counter 0;
88: Set H6Counter 0;
1.12 cvs 89: Set AnchorCounter 0;
1.8 cvs 90: Indent +4;
91: Indent -4 After;
1.10 cvs 92: { --- print the List of References ---}
1.3 cvs 93: Create '\12\12' After;
1.10 cvs 94: Create (DashLine) After;
95: Create '\12' After;
1.5 cvs 96: Create 'List of References\12\12' After;
1.11 cvs 97: Include '/tmp/amaya.tmp' After;
1.14 cvs 98: RemoveFile TmpFile After;
1.1 cvs 99: END;
100:
101: H1: BEGIN
1.23 cvs 102: Set H2Counter 0;
103: Set H3Counter 0;
104: Set H4Counter 0;
105: Set H5Counter 0;
106: Set H6Counter 0;
1.8 cvs 107: Indent -4;
108: Indent +4 After;
1.15 cvs 109: Create '\12\12' After;
1.1 cvs 110: END;
111:
112: H2: BEGIN
1.23 cvs 113: Add H2Counter 1;
114: Set H3Counter 0;
115: Set H4Counter 0;
116: Set H5Counter 0;
117: Set H6Counter 0;
1.8 cvs 118: Indent -2;
119: Indent +2 After;
1.23 cvs 120: if SectionNumbering
121: Create (Value(H2Counter, Arabic) ' ');
1.15 cvs 122: Create '\12\12' After;
1.1 cvs 123: END;
124:
125: H3: BEGIN
1.23 cvs 126: Add H3Counter 1;
127: Set H4Counter 0;
128: Set H5Counter 0;
129: Set H6Counter 0;
130: if SectionNumbering
131: Create (Value(H2Counter, Arabic) '.'
132: Value(H3Counter, Arabic) ' ');
1.15 cvs 133: Create '\12\12' After;
1.1 cvs 134: END;
135:
136: H4: BEGIN
1.23 cvs 137: Add H4Counter 1;
138: Set H5Counter 0;
139: Set H6Counter 0;
1.8 cvs 140: Indent +2;
141: Indent -2 After;
1.23 cvs 142: if SectionNumbering
143: Create (Value(H2Counter, Arabic) '.'
144: Value(H3Counter, Arabic) '.'
145: Value(H4Counter, Arabic) ' ');
1.15 cvs 146: Create '\12\12' After;
1.1 cvs 147: END;
148:
149: H5: BEGIN
1.23 cvs 150: Add H5Counter 1;
151: Set H6Counter 0;
1.8 cvs 152: Indent +4;
153: Indent -4 After;
1.23 cvs 154: if SectionNumbering
155: Create (Value(H2Counter, Arabic) '.'
156: Value(H3Counter, Arabic) '.'
157: Value(H4Counter, Arabic) '.'
158: Value(H5Counter, Arabic) ' ');
1.15 cvs 159: Create '\12\12' After;
1.1 cvs 160: END;
161:
162: H6: BEGIN
1.23 cvs 163: Add H6Counter 1;
1.8 cvs 164: Indent +6;
165: Indent -6 After;
1.23 cvs 166: if SectionNumbering
167: Create (Value(H2Counter, Arabic) '.'
168: Value(H3Counter, Arabic) '.'
169: Value(H4Counter, Arabic) '.'
170: Value(H5Counter, Arabic) '.'
171: Value(H6Counter, Arabic) ' ');
172:
1.15 cvs 173: Create '\12\12' After;
1.1 cvs 174: END;
175:
176: BaseFont:
177: BEGIN
178: Remove;
179: END;
180:
181: BR: BEGIN
1.13 cvs 182: If Within 1 BR
183: Remove;
184: If Last
185: Remove;
1.16 cvs 186: END;
1.5 cvs 187:
1.1 cvs 188: Italic_text:
189: BEGIN
190: END;
191: Bold_text:
192: BEGIN
193: END;
194: Teletype_text:
195: BEGIN
196: END;
197: Underlined_text:
198: BEGIN
199: END;
200: Struck_text:
201: BEGIN
202: END;
203: Big_text:
204: BEGIN
205: END;
206: Small_text:
207: BEGIN
208: END;
209: Subscript:
210: BEGIN
211: END;
212: Superscript:
213: BEGIN
214: END;
215:
216: Emphasis:
217: BEGIN
218: END;
219: Strong:
220: BEGIN
221: END;
222: Def:
223: BEGIN
224: END;
225: Code:
226: BEGIN
227: END;
228: Sample:
229: BEGIN
230: END;
231: Keyboard:
232: BEGIN
233: END;
234: Variable:
235: BEGIN
236: END;
237: Cite:
238: BEGIN
1.5 cvs 239: Create DoubleQuote;
1.16 cvs 240: Create DoubleQuote After;
1.1 cvs 241: END;
242:
243: Font_: BEGIN
244: END;
245:
246: Applet: BEGIN
1.5 cvs 247: Create Attributes;
248: Remove;
1.1 cvs 249: END;
250:
251: Parameter: BEGIN
252: Remove;
253: END;
254:
255: #ifdef COUGAR
1.5 cvs 256: Object: BEGIN
257: Create Attributes;
258: Remove;
1.1 cvs 259: END;
260: #endif
1.21 cvs 261: #ifdef MATHML
262: Math: BEGIN
1.22 cvs 263: Create '[math]';
1.21 cvs 264: Remove;
265: END;
266: MathDisp: BEGIN
1.22 cvs 267: Create '\12[math]\12';
1.21 cvs 268: Remove;
269: END;
270: #endif
1.10 cvs 271: Paragraph:
272: BEGIN
1.24 cvs 273: Create '\12' After;
274: if not within List_Item and not within Definition
275: Create '\12' After;
1.1 cvs 276: END;
277:
1.10 cvs 278: Pseudo_paragraph:
279: BEGIN
1.19 cvs 280: Create '\12' After;
1.24 cvs 281: if not within List_Item and not within Definition
1.19 cvs 282: Create '\12' After;
1.16 cvs 283: END;
1.1 cvs 284:
285: TEXT_UNIT: BEGIN
286: IF Within Text_Area
287: Remove;
288: IF Within Text_Input
289: Remove;
1.16 cvs 290: IF Within HEAD and not Within TITLE
291: Remove;
292: IF Within STYLE
293: Remove;
1.1 cvs 294: END;
295:
296: Definition_List: BEGIN
1.24 cvs 297: Create '\12' After;
1.1 cvs 298: END;
299:
300: Term: BEGIN
1.13 cvs 301: Create '\12' After;
1.1 cvs 302: END;
303:
304: Definition: BEGIN
305: Indent +5;
306: Indent -5 After;
307: END;
308:
309: Unnumbered_List: BEGIN
1.7 cvs 310: Indent +3;
1.5 cvs 311: Indent -3 After;
1.24 cvs 312: Create '\12' After;
1.1 cvs 313: END;
314:
315: Numbered_List: BEGIN
1.7 cvs 316: Indent +3;
1.5 cvs 317: Indent -3 After;
1.24 cvs 318: Create '\12' After;
1.1 cvs 319: END;
320:
321: Address: BEGIN
1.5 cvs 322: Create Attributes;
1.15 cvs 323: Create '\12\12' After;
1.1 cvs 324: END;
325:
326: Menu: BEGIN
1.7 cvs 327: Indent +3;
328: Indent -3 After;
1.1 cvs 329: END;
330:
331: Directory: BEGIN
1.7 cvs 332: Indent +3;
333: Indent -3 After;
1.1 cvs 334: END;
335:
336: List_Item: BEGIN
337: Create Attributes;
338: Indent +3;
1.7 cvs 339: Indent -3 after;
1.1 cvs 340: END;
341:
342: Preformatted: BEGIN
343: NoLineBreak;
1.5 cvs 344: Create Attributes;
1.15 cvs 345: Create '\12\12' After;
1.1 cvs 346: END;
347:
348: Horizontal_Rule: BEGIN
1.10 cvs 349: Create (DashLine) After;
1.15 cvs 350: Create '\12\12' After;
1.5 cvs 351: Remove;
1.1 cvs 352: END;
353:
354: Form: BEGIN
355: END;
356:
357: Option_Menu: BEGIN
358: END;
359:
360: Option: BEGIN
1.15 cvs 361: If Selected = Yes_
362: Create Content;
1.6 cvs 363: Remove;
1.1 cvs 364: END;
365:
366: Toggle_Menu: BEGIN
367: END;
368:
369: Toggle_Item: BEGIN
1.16 cvs 370: If NOT Selected
371: Remove;
1.15 cvs 372: Create Content;
373: Remove;
1.1 cvs 374: END;
375:
376: Radio_Menu: BEGIN
377: END;
378:
379: Radio_Item: BEGIN
1.15 cvs 380: If NOT Selected
1.16 cvs 381: Remove;
382: Create Content;
383: Remove;
1.1 cvs 384: END;
385:
386: Text_Input_Line: BEGIN
1.16 cvs 387: If Empty
1.10 cvs 388: Remove;
1.1 cvs 389: END;
390:
391: Command_Line: BEGIN
392: END;
393:
394: Text_Area: BEGIN
1.10 cvs 395: Create Content;
1.6 cvs 396: Remove;
1.1 cvs 397: END;
398:
399: Checkbox_Input: BEGIN
1.10 cvs 400: If Checked = Yes_
401: Create '[x] ';
402: If Checked = No_
1.16 cvs 403: Create '[ ] ';
1.1 cvs 404: END;
405:
406: Radio_Input: BEGIN
1.15 cvs 407: If Checked = Yes_
408: Create '(x)';
409: If Checked = No_
1.16 cvs 410: Create '( )';
1.1 cvs 411: Remove;
412: END;
413:
414: Text_Input: BEGIN
1.10 cvs 415: Create Content;
1.1 cvs 416: Remove;
417: END;
418:
419: Hidden_Input: BEGIN
420: Remove;
421: END;
422:
423: Password_Input: BEGIN
424: Remove;
425: END;
426:
427: File_Input: BEGIN
1.10 cvs 428: Create Content;
1.1 cvs 429: Remove;
430: END;
431:
432: Reset_Input: BEGIN
1.15 cvs 433: Create '<<';
1.10 cvs 434: Create Value_;
1.15 cvs 435: Create '>>';
1.10 cvs 436: If Last
437: Create '\12';
1.1 cvs 438: Remove;
439: END;
440:
441: Submit_Input: BEGIN
1.15 cvs 442: Create '<<';
1.10 cvs 443: Create Value_;
1.15 cvs 444: Create '>>';
1.10 cvs 445: If Last
446: Create '\12';
1.5 cvs 447: Remove;
1.10 cvs 448:
1.1 cvs 449: END;
450:
451: Block_Quote: BEGIN
1.3 cvs 452: Indent +5;
453: Indent -5 After;
1.1 cvs 454: END;
455:
456: PICTURE_UNIT: BEGIN
457: #ifdef COUGAR
1.10 cvs 458: If Immediately within Object
1.1 cvs 459: Remove;
1.10 cvs 460: If NOT Immediately within Object BEGIN
1.5 cvs 461: Create Attributes;
462: END;
1.1 cvs 463: #else
464: Create Attributes;
465: #endif
1.10 cvs 466: If NOT ALT
1.8 cvs 467: Create '[Image]';
1.1 cvs 468: END;
469:
1.8 cvs 470:
1.1 cvs 471: Anchor: BEGIN
1.10 cvs 472: If HREF_ AND NOT InternalLink
1.8 cvs 473: BEGIN
1.12 cvs 474: Add AnchorCounter 1;
1.8 cvs 475: Create In TmpFile OUT_AnchorCounter;
1.15 cvs 476: Create In TmpFile ' ';
1.8 cvs 477: Create Attributes;
478: Create IN TmpFile '\12' After;
1.5 cvs 479: #ifdef ANCHOR_PREFIX
1.8 cvs 480: Create OUT_AnchorCounter;
1.10 cvs 481: Create Content;
482: Remove;
1.5 cvs 483: #else
1.8 cvs 484: Create OUT_AnchorCounter After;
1.5 cvs 485: #endif
1.16 cvs 486: END;
1.1 cvs 487: END;
488:
489: MAP:
490: BEGIN
1.3 cvs 491: Remove;
1.1 cvs 492: END;
493:
494: AREA:
495: BEGIN
496: Remove;
497: END;
498:
499: { ---- Tables ---- }
500:
501: Table:
502: BEGIN
1.5 cvs 503: Indent +3;
1.1 cvs 504: Create Attributes;
1.5 cvs 505: Indent -3 After;
1.1 cvs 506: END;
507:
508: CAPTION:
509: BEGIN
1.5 cvs 510: Indent -3;
511: Indent +3 After;
1.1 cvs 512: END;
513:
514: Table_head:
515: Remove;
516:
517: #ifdef COUGAR
518: thead:
519: BEGIN
520: END;
521:
522: tfoot:
523: BEGIN
524: END;
525: tbody:
526: BEGIN
527: END;
528: #endif
529:
530: Table_body:
1.16 cvs 531: BEGIN
532: END;
1.1 cvs 533:
534: Table_row:
1.10 cvs 535: If Empty
536: Remove;
1.1 cvs 537:
538: Data_cell:
1.10 cvs 539: If Empty
540: Remove;
1.1 cvs 541:
542: Heading_cell:
1.10 cvs 543: If Empty
544: Remove;
1.13 cvs 545:
546: Table_cell_ghost:
547: Remove;
1.1 cvs 548:
549: Table_foot:
1.16 cvs 550: Remove;
1.1 cvs 551:
1.10 cvs 552: Division:
553: If Empty
554: Remove;
1.1 cvs 555:
1.10 cvs 556: Center:
557: If Empty
558: Remove;
1.1 cvs 559:
560: Invalid_element:
1.10 cvs 561: If Error_type = BadPosition
1.5 cvs 562: Remove;
1.1 cvs 563:
564: Comment\240: BEGIN
1.4 cvs 565: Remove;
1.1 cvs 566: END;
567:
568: Comment_line: BEGIN
1.4 cvs 569: Remove;
1.1 cvs 570: END;
571:
572: ATTRIBUTES
573:
574: http_equiv: BEGIN
1.7 cvs 575: Remove;
1.1 cvs 576: END;
577:
578: meta_name: BEGIN
1.7 cvs 579: Remove;
1.1 cvs 580: END;
581:
582: meta_content: BEGIN
1.7 cvs 583: Remove;
1.1 cvs 584: END;
585:
586: REL: BEGIN
1.7 cvs 587: Remove;
1.1 cvs 588: END;
589:
590: REV: BEGIN
1.7 cvs 591: Remove;
1.1 cvs 592: END;
593:
594: HREF_ :
595: BEGIN
1.8 cvs 596: If NOT Within LINK AND NOT InternalLink
1.16 cvs 597: Create IN TmpFile HREF_;
1.1 cvs 598: END;
599:
600: background_ :
601: BEGIN
602: END;
603:
604: BackgroundColor :
605: BEGIN
606: END;
607:
608: TextColor :
609: BEGIN
610: END;
611:
612: LinkColor :
613: BEGIN
614: END;
615:
616: VisitedLinkColor :
617: BEGIN
618: END;
619:
620: ActiveLinkColor :
621: BEGIN
622: END;
623:
624: BaseFontSize:
625: BEGIN
626: END;
627:
628: Font_size :
1.5 cvs 629: BEGIN
1.1 cvs 630: END;
631:
632: color :
633: BEGIN
634: END;
635:
636: Clear = Left_:
637: BEGIN
638: END;
639:
1.7 cvs 640: Clear = Right_:
1.1 cvs 641: BEGIN
642: END;
643: Clear = All_:
644: BEGIN
645: END;
646: Clear = None:
647: BEGIN
648: END;
649:
650: Align = left_:
651: BEGIN
652: END;
653: Align = center_:
654: BEGIN
655: END;
656: Align = right_:
657: BEGIN
658: END;
659:
660: NoShade:
1.5 cvs 661: BEGIN
1.1 cvs 662: END;
663:
664: Size_: BEGIN
665: END;
666:
667: Width__: BEGIN
668: END;
669:
670: codebase: BEGIN
671: END;
672:
673: code: BEGIN
674: END;
675:
676: applet_name: BEGIN
677: END;
678:
679: Param_name: BEGIN
680: END;
681:
682: Param_value: BEGIN
683: END;
684: #ifdef COUGAR
685: classid: BEGIN
686: END;
687:
688: data: BEGIN
689: END;
690:
691: Object_type: BEGIN
692: END;
693:
1.25 ! cvs 694: Link_type: BEGIN
! 695: END;
! 696:
1.1 cvs 697: codetype: BEGIN
698: END;
699: #endif
700: Title : BEGIN
701: NoTranslation;
702: END;
703:
704: Class: BEGIN
1.15 cvs 705: If Empty
706: Remove;
1.1 cvs 707: END;
708:
709: Style\240: BEGIN
710: END;
711:
712: COMPACT: BEGIN
713: END;
714:
715: IntItemStyle = disc:
716: Create '* ';
717: IntItemStyle = square :
718: Create '+ ';
719: IntItemStyle = circle :
720: Create 'o ';
721: IntItemStyle = Arabic_ :
722: Create (Value(ItemCounter, Arabic) '. ');
723: IntItemStyle = LowerAlpha :
724: Create (Value(ItemCounter, Lowercase) '. ');
725: IntItemStyle = UpperAlpha :
726: Create (Value(ItemCounter, Uppercase) '. ');
727: IntItemStyle = LowerRoman :
728: Create (Value(ItemCounter, LRoman) '. ');
729: IntItemStyle = UpperRoman :
730: Create (Value(ItemCounter, URoman) '. ');
731:
732: Start: BEGIN
733: END;
734:
735: ItemValue: BEGIN
736: END;
737:
738: WidthElement: BEGIN
739: END;
740:
741: Script_URL: BEGIN
742: END;
743:
744: METHOD=Post_:
1.5 cvs 745: BEGIN
746: END;
1.1 cvs 747:
748: METHOD=Get_:
1.5 cvs 749: BEGIN
750: END;
1.1 cvs 751:
752: ENCTYPE: BEGIN
753: END;
754:
755: NAME: BEGIN
756: END;
757:
758: Multiple:
1.5 cvs 759: BEGIN
760: END;
1.1 cvs 761:
762: MenuSize: BEGIN
763: END;
764:
1.10 cvs 765: Selected: BEGIN
766: END;
1.1 cvs 767:
768: Value_: BEGIN
769: END;
770:
771: Rows: BEGIN
772: END;
773:
774: Columns: BEGIN
775: END;
776:
1.10 cvs 777: Checked = Yes_: BEGIN
778: END;
1.1 cvs 779:
780: Area_Size: BEGIN
781: END;
782:
783: MaxLength: BEGIN
784: END;
785:
786: SRC: BEGIN
1.3 cvs 787: Remove;
1.1 cvs 788: END;
789:
790: ALT: BEGIN
791: Create ALT;
792: END;
793:
794: Alignment = Top_:
1.5 cvs 795: BEGIN
796: END;
1.1 cvs 797: Alignment = Middle_:
1.5 cvs 798: BEGIN
799: END;
1.1 cvs 800: Alignment = Bottom_:
1.5 cvs 801: BEGIN
802: END;
1.1 cvs 803: Alignment = Left_:
1.5 cvs 804: BEGIN
805: END;
1.1 cvs 806: Alignment = Right_:
1.5 cvs 807: BEGIN
808: END;
1.1 cvs 809:
810: Height_: BEGIN
811: END;
812:
813: Width_: BEGIN
814: END;
815:
816: Img_border: BEGIN
817: END;
818:
819: hspace: BEGIN
820: END;
821:
822: vspace: BEGIN
823: END;
824:
825: ISMAP:
1.5 cvs 826: BEGIN
827: END;
1.1 cvs 828:
829: USEMAP: BEGIN
830: END;
831:
832: nohref:
1.5 cvs 833: BEGIN
834: END;
1.1 cvs 835:
836: shape = rectangle:
1.5 cvs 837: BEGIN
838: END;
1.1 cvs 839: shape = circle:
1.5 cvs 840: BEGIN
841: END;
1.1 cvs 842: shape = polygon:
1.5 cvs 843: BEGIN
844: END;
1.1 cvs 845:
846: coords: BEGIN
847: END;
848:
849: Border: BEGIN
850: END;
851:
852: cellspacing: BEGIN
853: END;
854:
1.5 cvs 855: cellpadding:
856: BEGIN
1.1 cvs 857: END;
858:
859: Position = Position_top:
1.5 cvs 860: BEGIN
861: END;
1.1 cvs 862: Position = Position_bottom:
1.5 cvs 863: BEGIN
864: END;
1.1 cvs 865:
866: Row_align = Row_left:
1.5 cvs 867: BEGIN
868: END;
1.1 cvs 869: Row_align = Row_center:
1.5 cvs 870: BEGIN
871: END;
1.1 cvs 872: Row_align = Row_right:
1.5 cvs 873: BEGIN
874: END;
1.1 cvs 875: Row_valign = Row_top:
1.5 cvs 876: BEGIN
877: END;
1.1 cvs 878: Row_valign = Row_middle:
1.5 cvs 879: BEGIN
880: END;
1.1 cvs 881: Row_valign = Row_bottom:
1.5 cvs 882: BEGIN
883: END;
1.1 cvs 884:
885: colspan: BEGIN
886: END;
887:
888: rowspan: BEGIN
889: END;
890:
891: Cell_align = Cell_left:
1.5 cvs 892: BEGIN
893: END;
1.1 cvs 894: Cell_align = Cell_center:
1.5 cvs 895: BEGIN
896: END;
1.1 cvs 897: Cell_align = Cell_right:
1.5 cvs 898: BEGIN
899: END;
1.1 cvs 900:
901: Cell_valign = Cell_top:
1.5 cvs 902: BEGIN
903: END;
1.1 cvs 904: Cell_valign = Cell_middle:
1.5 cvs 905: BEGIN
906: END;
1.1 cvs 907: Cell_valign = Cell_bottom:
1.5 cvs 908: BEGIN
909: END;
1.1 cvs 910:
911: Cell_width: BEGIN
912: END;
913:
914: Cell_height: BEGIN
915: END;
916:
1.17 cvs 917: No_wrap = no_wrap:
1.5 cvs 918: BEGIN
919: END;
1.1 cvs 920:
921: Invalid_attribute:
1.5 cvs 922: BEGIN
923: END;
924:
925: TextTRANSLATE
926: BEGIN
927: '\240' -> ' '; { }
928: '\212' -> '\12'; { &CTLrc; }
929: END;
1.1 cvs 930:
931: GraphTRANSLATE
932: BEGIN
933: 'c' -> 'circle';
934: 'Q' -> 'circle';
935: 'R' -> 'rect';
936: 'C' -> 'rect';
937: ' ' -> 'rect';
938: 'P' -> 'rect';
939: 'p' -> 'polygon';
940: 'B' -> 'polygon';
941: END;
942:
943: END
1.3 cvs 944:
Webmaster