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