1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593
|
\def\fileversion{1.2}%
\def\filedate{2 January 1995}%
\def\docdate{2 January 1995}%
\def\CheckSum{4615}%
% \changes{v0.1}{28-May-1993}{first release}
% \changes{v0.8}{17-June-1993}{macros to draw accent on character added (taken from DCLFONT.STY)}
% \changes{v0.9}{15-October-1993}{revised naming convention, comments, and unify style}
% \changes{v1.0}{16-May-1994}{Add suppression of character translation, put in DOC format}
% \changes{v1.1}{26-September-1994}{Redesign of code to improve
% memory usage, French text for the
% introduction.}
% \changes{v1.2}{2-January-1995}{Suppression of some ``loop'' command and
% expansion of code instead. This save many space on
% input stack size. Mainly the files
% initcar and in codepage were changed.}
% \MakeShortVerb{|}
%
% \iffrench
% \title{\texttt{codepage} un style pour traiter
% diff\'e{}rents code de page dans le m\^e{}me document}
% \author{Alain Aubord}
% \maketitle
% \begin{abstract}
% Cet article d\'e{}crit les nouvelles commandes disponibles pour
% traiter un code de page\ft{Un code de page est une convention qui d\'e{}finit une association
% unique entre un caract\`e{}re et un nombre qui le repr\'e{}sente dans un ordinateur.} ainsi que les
% probl\`e{}mes rencontr\'e{}s pour r\'e{}aliser cette implantation uniquement en \TeX{}.
% \end{abstract}
%
% \section{Introduction\label{INTRO}}
%
% La version 3 de \TeX{} permet de composer plus facilement des documents dans une autre langue
% que l'anglais. En effet, cette version autorise l'usage de caract\`e{}res cod\'e{}s sur 8 bits (valeurs
% de 0 \`a{} 255) dans le texte source et de multiples tables de c\'e{}sures dans un format.
%
% Ces am\'e{}liorations \'e{}taient n\'e{}cessaires, mais pas suffisantes. En effet, il est encore n\'e{}cessaire
% de disposer de styles adapt\'e{}s aux diff\'e{}rentes langues
% ainsi que des polices de caract\`e{}res contenant
% des signes sp\'e{}cifiques (comme les caract\`e{}res accentu\'e{}s\ft{La composition, c'est-\`a{}-dire
% l'utilisation d'une commande de positionnement d'un accent suivie par la lettre \`a{} accentuer, pr\'e{}sente
% l'avantage de pouvoir accentuer n'importe quel caract\`e{}re mais emp\^e{}che la c\'e{}sure correcte d'un mot
% accentu\'e{}.}, les guillemets fran\c c{}ais...).
%
%
% Le style \Fich{Babel} et les polices \textsc{Dc} ont \'e{}t\'e{} d\'e{}velopp\'e{}s pour r\'e{}soudre ces probl\`e{}mes.
% Cependant, il reste encore un probl\`e{}me de taille: les diff\'e{}rents codes de page existant sont
% incompatibles. Un document \'e{}crit dans un code de page doit \^e{}tre converti dans un nouveau code de page
% lorsqu'il est utilis\'e{} sur un ordinateur avec un syst\`e{}me
% d'exploitation diff\'e{}rent
% ou avec des polices de caract\`e{}res dont l'encodage correspond \`a{} un autre code de page
% (comme les polices \textsc{Dc}).
% La gestion des
% diff\'e{}rents codes de page peut se faire de plusieurs mani\`e{}res en \TeX:
% \begin{itemize}
% \item Par l'utilisation d'un programme externe de conversion de caract\`e{}res.
% Lorsqu'un tel programme est bien int\'e{}gr\'e{} dans \TeX{} (comme les
% tables \textsc{Tcp} d\'e{}finies par
% \textsc{EmTeX}), cette solution est tr\`e{}s efficace et agr\'e{}able \`a{} utiliser. Son principal
% d\'e{}savantage est le manque de portabilit\'e{}.
% \item Par l'utilisation de polices virtuelles\ft{Une police virtuelle est un m\'e{}canisme
% fourni avec \TeX{} version 3 qui permet de changer le vecteur d'encodage d'une
% police de caract\`e{}res, de composer une nouvelle police de caract\`e{}res \`a{} partir
% de plusieurs polices etc.}. Cette
% solution est tr\`e{}s bien int\'e{}gr\'e{}e dans \TeX\ft{Certains vieux pilotes de p\'e{}riph\'e{}riques ne
% savent pas utiliser les polices virtuelles.}. Cependant, il est n\'e{}cessaire de
% fournir les
% fichiers d\'e{}crivant la m\'e{}trique et le r\'e{}-encodage de chaque police
% virtuelle utilis\'e{}e dans un document.
% \item Par l'utilisation de la composition pour obtenir un caract\`e{}re accentu\'e{} (i.e.|\'e| pour
% \'e).
% Cette solution fonctionne remarquablement bien avec les polices \textsc{Dc}. Le style fourni
% pour l'utilisation de ces polices red\'e{}finit tr\`e{}s habilement les commandes qui dessinent un
% caract\`e{}re accentu\'e{}. Chaque fois qu'un caract\`e{}re accentu\'e{} existe dans la police, il est
% employ\'e{} (en lieu et place de la composition). Ce syst\`e{}me est donc parfaitement int\'e{}gr\'e{} dans
% \TeX{}, mais il est tr\`e{}s d\'e{}sagr\'e{}able de taper et de relire les caract\`e{}res accentu\'e{}s suivant
% cette m\'e{}thode.
% \item Par l'utilisation du paquet \Fich{codepage} qui est totalement compatible avec \TeX{}
% (version 3). Ce paquet offre en outre la possibilit\'e{} de composer avec \TeX{} un document
% pr\'e{}vu pour un autre code de page que celui de son propre ordinateur et de d\'e{}clarer des
% exceptions de c\'e{}sures contenant des syllabes accentu\'e{}es.
%
% Ce paquet transforme tous les caract\`e{}res sup\'e{}rieurs \`a{} 127
% en caract\`e{}re \og actif\fg{}
% (chaque caract\`e{}re actif est une commande \TeX)
% et il n\'e{}cessite la transmission de quelques
% fichiers annexes pour pouvoir composer un document sur un autre syst\`e{}me.
% \end{itemize}
%
% Comme on le voit, il n'y a pas de solution parfaite dans tous les cas. Le probl\`e{}me provient d'un manque
% de norme dans la mani\`e{}re de coder les symboles sp\'e{}ciaux\ft{Si un standard unique devait voir le jour,
% il serait d\'e{}fini sur 16 bits (valeur de 0 \`a{} 65535).}.
%
% \subsection{Le probl\`e{}me des c\'e{}sures\label{HYPHENATION}}
% \TeX{} effectue une c\'e{}sure automatique des mots en se basant sur une table d\'e{}crivant
% quelles syllabes peuvent \^e{}tre coup\'e{}es. Cette table est inclue dans le format\ft{Un format est
% un
% ensemble de commandes pr\'e{}-d\'e{}finies qui sont analys\'e{}es et enregistr\'e{}es sous une forme sp\'e{}ciale
% par une variante du programme \TeX{} appel\'e{}e \textsc{Ini}\TeX{}. Le programme \TeX{} peut
% ensuite
% charger en m\'e{}moire tr\`e{}s rapidement un format.} et sa forme est fig\'e{}e
% tant qu'un nouveau format n'est pas reconstruit. Lors de la construction
% d'une table de c\'e{}sure toutes les syllabes sont converties en minuscules (en utilisant le
% \Comm{lccode} de chaque caract\`e{}re) avant d'\^e{}tre enregistr\'e{}es. Pour
% trouver une c\'e{}sure lors de la composition d'un document,
% le texte \`a{} couper est traduit en minuscule et compar\'e{} avec les tables
% pr\'e{}-d\'e{}finies.
%
% Lorsque les tables de c\'e{}sures utilis\'e{}es lors de la construction du
% format et le texte du document utilisent des codes de pages diff\'e{}rents,
% les caract\`e{}res (dont la valeur est plus
% grande que 127) du texte \`a{} composer et
% ceux utilis\'e{}s pour les tables de c\'e{}sure ne correspondront jamais. Aucune
% c\'e{}sure ne pourra alors \^e{}tre trouv\'e{}e (des exceptions existent cependant).
%
% Il est \'e{}videmment possible de modifier la table de c\'e{}sure et de reg\'e{}n\'e{}rer
% un nouveau format, cependant cette solution n'est pas toujours possible
% ni forc\'e{}ment souhaitable pour plusieurs raisons:
% \begin{itemize}
% \item le fichier qui d\'e{}crit la table de c\'e{}sure devrait \^e{}tre identique
% quel que soit le syst\`e{}me pour obtenir une c\'e{}sure identique
% partout\ft{Un exemple tr\`e{}s concret de cette situation est l'utilisation
% de la table de c\'e{}sure anglaise pour des textes fran\c c{}ais. Les tables
% de c\'e{}sures anglaises sont disponibles et identiques quelle que soit
% l'implantation de \TeX{}. Lorsqu'on veut transmettre un document \'e{}crit
% en fran\c c{}ais \`a{} un correspondant dont on n'est pas certain qu'il puisse
% disposer d'une table de c\'e{}sure fran\c c{}aise, il est toujours possible d'utiliser
% le table de c\'e{}sure anglaise et d'indiquer les exceptions de c\'e{}sure avec la
% commande \Comm{hyphenation}. Cette m\'e{}thode fonctionne relativement bien
% si l'on prend la pr\'e{}caution de red\'e{}finir les commandes qui dessinent les
% accents sur les caract\`e{}res (comme cela est fait dans le paquet \Fich{codepage}).}.
% \item la g\'e{}n\'e{}ration d'un format est une op\'e{}ration complexe et d\'e{}licate
% qui peut exiger la possession d'autorisations sp\'e{}cifiques (sur une
% machine partag\'e{}e entre plusieurs utilisateurs).
% \end{itemize}
%
% La solution propos\'e{}e par le paquet \Fich{codepage} pour r\'e{}soudre ce
% probl\`e{}me consiste en une nouvelle commande \Comm{MakeHyphenationLetter} qui
% permet de modifier les valeurs associ\'e{}es \`a{} un caract\`e{}re cod\'e{} au-del\`a{} de 127
% pour utiliser des valeurs compatibles avec la commande \Comm{hyphenation}.
%
% \section{L'interface utilisateur}
% Cet interface a \'e{}t\'e{} con\c c{}u pour \^e{}tre \og le plus simple possible\fg.
% Seules deux macros (commandes) et quelques constantes sont d\'e{}finies.
%
% Les diff\'e{}rents codes de page possibles sont d\'e{}finis par des constantes:
% \begin{description}
% \item[\Comm{FourThreeSeven}] pour le code de page 437 du PC; ce code
% de page est surtout utilis\'e{} avec les syst\`e{}mes ayant l'anglais
% comme langue principale;
% \item[\Comm{EightFiveZero}] pour le code de page 850 du PC. Ce code de
% page est semblable au code 437 mais il contient moins de signes
% semi-graphiques et math\'e{}matiques et plus de lettres (comme les
% caract\`e{}res majuscules accentu\'e{}s). Ce code de page est surtout
% utilis\'e{} avec d'autres langues que l'anglais.
% \item[\Comm{IsoOne}] ISO Latin set 1. Cette norme est utilis\'e{}e
% par de nombreux syst\`e{}mes (la plupart des syst\`e{}mes \textsc{Unix}
% et \textsc{Windows}). L'encodage \textsc{Dc} des polices \TeX{}
% suit cette norme pour certains caract\`e{}res (en particulier toutes les lettres).
% Lorsque ce code de page est utilis\'e{} les caract\`e{}res qui
% correspondent exactement aux caract\`e{}res des polices \textsc{Dc}
% ne deviennent pas \og actifs\fg{} mais gardent le \og catcode\fg{}
% de lettres. Les caract\`e{}res se dessinant en utilisant le mode
% math\'e{}matique de \TeX{} restent cependant \og actifs\fg{}.
% \item[\Comm{Mac}] pour les caract\`e{}res du \textsc{Mac Intosh}.
% \end{description}
%
% Le choix de l'encodage des polices de \TeX{} est d\'e{}fini par deux autres
% constantes:
% \begin{description}
% \item[\Comm{CM}] d\'e{}finit l'encodage standard de \TeX{}. Ce code est
% d\'e{}fini sur 128 positions, les caract\`e{}res accentu\'e{}s sont
% dessin\'e{}s par composition.
% \item[\Comm{DC}] pour le nouvel encodage d\'e{}fini pour les polices \TeX{}.
% L'utilisation de ce code implique l'usage des polices \textsc{Dc}.
% Lorsque ce code est choisi, les caract\`e{}res existant dans un
% code de page sont simplement convertis en caract\`e{}re \'e{}quivalent
% des polices \textsc{Dc}.
% \end{description}
%
% Les symboles math\'e{}matiques sont dessin\'e{}s en utilisant les commandes et le
% mode math\'e{}matiques de \TeX{}, les autres symboles sont en g\'e{}n\'e{}ral ignor\'e{}s.
%
% Les deux commandes principales sont:
% \begin{description}
% \item[\Comm{codepage\#1\#2}] cette macro accepte deux param\`e{}tres: le code
% de page du document, et le type d'encodage choisi pour les polices
% \TeX.
%
% Apr\`e{}s l'appel \`a{} la macro \Comm{codepage} tous les caract\`e{}res
% sup\'e{}rieurs \`a{} 127 sont \og actifs\fg{} (ils se comportent
% comme des commandes).
% \item[\Comm{MakeHyphenationLetter\#1\#2}] cette macro n'existe
% que si le code de page \textsc{Dc} est choisi. Elle sert
% \`a{} modifier les valeurs associ\'e{}es \`a{} un caract\`e{}re sup\'e{}rieur
% \`a{} 127 pour qu'il puisse \^e{}tre utilis\'e{} avec la commande
% \Comm{hyphenation}.
% Pour que ces modifications restent locales,
% \Comm{MakeHyphenationLetter} doit donc toujours \^e{}tre appel\'e{}e dans un groupe
% (entre des accolades |{| et |}|). Pour des raisons techniques
% ces modifications ne sont pas univoques, il est possible
% que plusieurs caract\`e{}res aient des valeurs identiques apr\`e{}s
% transformation. Cette situation n'est pas trop grave car elle
% est peu fr\'e{}quente et n'entrave pas la c\'e{}sure (du moins dans le cas
% de la langue fran\c c{}aise), un message signalant un conflit
% potentiel est tout de fois \'e{}mis.
% \item[\Comm{CurrentEncoding}] Cette commande contient la valeur du
% syst\`e{}me d'encodage choisi. Sa valeur n'est d\'e{}finie qu'apr\`e{}s
% l'appel \`a{} la commande \Comm{codepage}.
% \end{description}
%
%
% Toutes les commandes qui servent \`a{} dessiner des accents sur des caract\`e{}res
% sont red\'e{}finies. Les valeurs originales des commandes sont sauv\'e{}es avec un
% nouveau nom:
% \begin{center}
% \begin{tabular}{ll}
% \textbf{Nouveau nom} & \textbf{Commande Originale}\\
% \Comm{Grave} & \Comm{`} \\
% \Comm{Circumflex} & \Comm{\Circonflexe} \\
% \Comm{Tilda} & \Comm{\TildeChar} \\
% \Comm{OverBar} & \Comm{=} \\
% \Comm{UnderBar} & \Comm{b} \\
% \Comm{Join} & \Comm{t} \\
% \Comm{HungarUmlaut} & \Comm{H} \\
% \Comm{Acute} & \Comm{'} \\
% \Comm{Diaresis} & \Comm{"} \\
% \Comm{Breve} & \Comm{u} \\
% \Comm{OverDot} & \Comm{.} \\
% \Comm{UnderDot} & \Comm{d} \\
% \Comm{Tcheche} & \Comm{v} \\
% \Comm{Cedille} & \Comm{c} \\
% \end{tabular}
% \end{center}
%
% Voici encore quelques commandes d\'e{}finies par le paquet. Ces commandes
% devraient \^e{}tre d'un usage exceptionnel:
% \begin{description}
% \item[\Comm{TRtrue}] enclenche le m\'e{}canisme qui transforme chaque
% caract\`e{}re sup\'e{}rieur \`a{} 127 pour qu'il soit imprim\'e{} correctement
% par \TeX. C'est la valeur par d\'e{}faut !
% \item[\Comm{TRfalse}] produit l'effet inverse de la commande pr\'e{}c\'e{}dente.
% Cette commande est surtout utile lorsque des caract\`e{}res doivent
% \^e{}tre \'e{}crits dans des fichiers auxiliaires (comme les fichiers
% servant \`a{} construire les index ou les glossaires). Il est
% alors souvent plus judicieux de convertir les caract\`e{}res sp\'e{}ciaux
% lors de la relecture de ces fichiers plut\^o{}t qu'\`a{} leur \'e{}criture.
% \item[\Comm{AllActive}] transforme tous les caract\`e{}res sup\'e{}rieurs
% \`a{} 127 en caract\`e{}re actifs.
% \item[\Comm{AllOther}] transforme tous les caract\`e{}res sup\'e{}rieurs \`a{} 127 en
% caract\`e{}re sans signification particuli\`e{}re pour TeX{} (leur
% \Comm{catcode} vaut 12).
% \item[\Comm{og}] dessine les guillemets fran\c c{}ais ouvrants (d\'e{}finis
% seulement lorsque les polices \textsc{Cm} sont choisies).
% \item[\Comm{fg}] dessine les guillemets fran\c c{}ais fermants (d\'e{}finis
% seulement lorsque les polices \textsc{Cm} sont choisies).
% \item[\Comm{atcatcode}] qui est une constante qui contient la valeur du
% |\catcode| du caract\`e{}re \textbf{@} lorsque cette valeur est
% modifi\'e{}e par le paquet \textsc{Codepage}. Autrement, elle
% est identique \`a{} la commande |\relax|.
% \end{description}
%
% \section{Un bref exemple (pour \LaTeX{}2e)}
% {
% | \documentclass{article}|\\
% | \usepackage{t1enc,codepage}|\\
% | {\MakeHyphenationLetter{\EightFiveZero}{|\tt\`e|}|\\
% | \hyphenation{sys-t|\tt\`e|-me sys-t|\tt\`e|-mes}|\\
% | }|\\
% | \codepage{\EightFiveZero}{\DC}|\\
% | \begin{document}|\\
% | Unix est un joli syst|\tt \`e|me d'exploitation.|\\
% | \end{document}|
% }
%
% Cet exemple fonctionnera correctement si tous les caract\`e{}res
% au-del\`a{} de 127 sont disponibles. Certaines implantations de \TeX{} (comme
% \textsc{Emtex}) transforment tous les caract\`e{}res au-del\`a{} de 127 en
% caract\`e{}re 127 ou utilise des tables sp\'e{}ciales (les tables
% \textsc{Tcp} pour \textsc{EmTeX}).
%
% Pour obtenir un comportement correct avec \textsc{Emtex}, il faut
% utiliser l'option |/8| lorsque le format est g\'e{}n\'e{}r\'e{}.
%
% \fi
% \ifenglish
% \title{\texttt{code-page} a style to handle different code-pages in the same document}
% \author{Alain Aubord}
% \maketitle
% \begin{abstract}
% This package provides some new commands to handle code page\ft{A code page is the convention
% for associating a character with a number used to represent it in a computer.}. This text describes the
% interface offered by the package and some problems which occur when the implementation is done only
% in \TeX{}.
% \end{abstract}
%
% \section{Introduction\label{INTRO}}
%
% The version 3 of TeX provides some facilities to work with documents written in a language
% different than English. Mainly, by allowing the use of characters coded on eight bits (values from 1 to
% 255) and the possibility to use multiple hyphenation tables.
%
% Although, this improvements are necessary, they are not sufficient. The standard \LaTeX{} style
% should be adapted to the different languages and new polices of characters containing glyphs\ft{Most
% foreign languages use characters with accent or diacritical marks. The
% traditional way to draw an accented character in TeX is the composition, ---~i.e. by using a
% macro to put an accent over a letter~---. This method offer the possibility to put accent on any character,
% but prohibit hyphenation on word containing an accented letter.}
% for the characters used in other language than English should be defined.
%
%
% The style \Fich{Babel} and the new font \textsc{Dc} have been developed to solve these problems.
% Well, one could think, ``don't worry, be happy'', documents will be typeset without problem.
% Unfortunately this is not exactly the case, but the problem is outside \TeX{}: there isn't any
% unique code page! Moreover some systems allow the use of many different code pages.
% The \textsc{Dc} font obeys more or less to the \textsc{Iso Latin Set 1} standard, but many
% other code pages exist. The solutions to this problem are multiples:
% \begin{itemize}
% \item The use of on external program to do the translation.
% If the program is well interfaced with \TeX{} (like the \textsc{Tcp} tables of \textsc{Emtex})
% this solution is very efficient and comfortable to use. But its main disadvantage is to be
% implementation specific, and the transfer of the document on an other \TeX{} implementation
% is not easy.
% \item The use of virtual fonts to match the position of each character in a font to the local
% code page. This solution is fully integrated with \TeX{}\ft{Some old driver don't work with
% virtual fonts.}, but when a document is transferred, all the virtual fonts should
% be given with the document (or defined at the other place), and the problem of hyphenation
% (see~\ref{HYPHENATION}) is not solved.
% \item The use of the standard convention to write accented character in \TeX{} (i.e.|\'e| for \'e).
% This solution works well with \textsc{Dc} fonts (due to a very clever redefinition of macros
% for positioning accent) and, naturally, is totally portable with any \TeX{} (version 2 and 3).
% But the typing of accented characters is clumsy (even with a good editor) and
% the reading is boring.
% \item The use of the package \Fich{codepage} which is totally \TeX{} (version 3 only) compatible. It
% can be used to typeset without any modifications a document with an other code page than those of
% the local computer (this may be useful for a demo version of a document) and the problem of
% hyphenation is partially (for hyphenation exceptions) solved.
% But the transfer of document implies the use of package and most
% of characters above 127 are
% made ``active'' (they are like macros). This could cause some interference with other packages.
% \end{itemize}
% As one could see, no solution is totally perfect, this is due to the lack of a standard for code page not
% to \TeX{}\ft{If, one day, a such standard should be established, no doubts it will be defined on sixteen
% bits (number from 1 to 65535) to allow special characters for every applications (math symbols,
% foreign languages, etc...).}.
%
% \subsection{The hyphenation problem\label{HYPHENATION}}
% The algorithm used in the \TeX{} program to hyphenate word is based on patterns read when the
% format\ft{A format is a precompiled version of commands used to composed a document.} is build.
% During the build of the hyphenation table, all the characters are put to lowercase by using the
% \Comm{lccode} value. When a string of characters in a text is to be hyphenated, it is put in lowercase
% by using the \Comm{lccode} value and the compared with hyphenation table to find a good break point.
%
% If the pattern file use the \Comm{lccode} values defined for the \textsc{Dc} font (which is generally
% the case), a match will never occur with the character above 127 in a text with a different
% code page
% since the \Comm{lccode} are adapted to that code page\ft{This is mandatory to have a correct behaviour
% with the command \Comm{uppercase} and \Comm{lowercase}, which transform a character in lower or upper case,
% according to the values: \Comm{lccode} and \Comm{uccode}.}.
% Despite this fact, the use of a pattern file containing characters above 127 is a good
% idea\ft{The
% modification of the original pattern file should not be done to preserve portability and (often) to
% respect the wish of maintainer who want to have a standard file.}, because
% the results are surprisingly good (almost with French language). Moreover, the package \Fich{codepage}
% provides the command \Comm{MakeHyphenationLetter} to adapt locally the \Comm{lccode} value to
% a value usable by the |\hyphenation| command.
%
% \section{The user interface}
% The prime goal of the interface was to be ``as simple as possible''. Therefore it's composed by two
% macros and some constants:
%
% The code pages are defined by constants:
% \begin{description}
% \item[\Comm{FourThreeSeven}] for the code page 437 of the PC; this code page is the standard code
% page used with English system.
% \item[\Comm{EightFiveZero}] for the code page 850. This code page is similar to code page 437 but
% contain more accented characters and less mathematical and special glyphs. It is used by
% international systems.
% \item[\Comm{IsoOne}] Iso Latin set 1 (the windows characters).
% \item[\Comm{Mac}] \textsc{Mac Intosh} characters.
% \end{description}
% The \TeX{} encoding are defined by two other constants:
% \begin{description}
% \item[\Comm{CM}] for the standard original \TeX{} encoding. This code is defined on only 128 position
% and does not contain characters with diacritical marks.
% \item[\Comm{DC}] for the new code defined at Cork. When this code is chosen, the \textsc{Dc} fonts
% should be available.
% \end{description}
%
% Now the two main macros:
% \begin{description}
% \item[\Comm{codepage\#1\#2}] This macro has two parameters which should be the constants defined above. The
% first parameter is the local code page, the second the encoding of the fonts used with \TeX{}
% (|\DC|,|\CM|). This macro redefines all the macros for putting
% accent over a letter, the original macro is saved under
% a new name.
% \begin{center}
% \begin{tabular}{ll}
% \textbf{New name} & \textbf{Original command}\\
% \Comm{Grave} & \Comm{`} \\
% \Comm{Circumflex} & \Comm{\Circonflexe} \\
% \Comm{Tilda} & \Comm{\TildeChar} \\
% \Comm{OverBar} & \Comm{=} \\
% \Comm{UnderBar} & \Comm{b} \\
% \Comm{Join} & \Comm{t} \\
% \Comm{HungarUmlaut} & \Comm{H} \\
% \Comm{Acute} & \Comm{'} \\
% \Comm{Diaresis} & \Comm{"} \\
% \Comm{Breve} & \Comm{u} \\
% \Comm{OverDot} & \Comm{.} \\
% \Comm{UnderDot} & \Comm{d} \\
% \Comm{Tcheche} & \Comm{v} \\
% \Comm{Cedille} & \Comm{c} \\
% \end{tabular}
% \end{center}
% After the call of |\codepage| all the characters above 127 are ``active''.
% \item[\Comm{MakeHyphenationLetter\#1\#2}] This macro has two parameters,
% the first is the local code page
% and the second is a character above 127. This macro should always be called in a group
% (i.e. inside braces) to avoid undesirable change of \Comm{lccode}. After the call, the letter can be
% use in the macro |\hyphenation| to construct correct pattern for hyphenation exceptions.
% Unfortunately this is not one way transformation, and two different characters above 127 could have
% the same \Comm{lccode}. In this case a warning is used, but this could affect
% only exceptionally the use of |\hyphenation| command\ft{The tests done with the French language
% haven't shown any problem, although some french letters are
% in conflict.}. This macro is defined only when the \textsc{Dc}
% encoding is chosen.
% \item[\Comm{CurrentEncoding}] This macro contain the value of the
% encoding chosen. Its value is meaningful only after the call
% to the \Comm{codepage} command.
% \end{description}
%
% Now we have some other macros defined by the package. Normally they should be quite rarely used:
% \begin{description}
% \item[\Comm{TRtrue}] to allow the translation of special characters (this is the default value !).
% \item[\Comm{TRfalse}] to suppress the translation of special character. This is useful
% when writing special characters into auxiliary (external) files like (\texttt{.idx, .toc}).
% Sometimes, the translation should be done only when these files are read again and not when they are
% written.
% \item[\Comm{AllActive}] put the \Comm{catcode} for all characters above 127 to \Comm{active}.
% \item[\Comm{AllOther}] put the \Comm{catcode} for all characters above 127 to the value 12
% (other).
% \item[\Comm{og}] draw the opening french guillomet (defined only when \textsc{Cm} encoding is used).
% \item[\Comm{fg}] draw the closing french guillomet (defined only when \textsc{Cm} encoding is used).
% \item[\Comm{atcatcode}] contain the value of the |\catcode| for the
% character \textbf{@} or |\relax|
% outside the part of code where this |\catcode| is modified.
% \item[\Comm{CurrentEncoding}] contain the value of the \TeX{} encoding choosen.
% \end{description}
%
% \section{A short example (for \LaTeX2e)}
% {
% | \documentclass{article}|\\
% | \usepackage{t1enc,codepage}|\\
% | {\MakeHyphenationLetter{\EightFiveZero}{|\tt\`e|}|\\
% | \hyphenation{sys-t|\tt\`e|-me sys-t|\tt\`e|-mes}|\\
% | }|\\
% | \codepage{\EightFiveZero}{\DC}|\\
% | \begin{document}|\\
% | Unix est un joli syst|\tt \`e|me d'exploitation.|\\
% | \end{document}|
% }
%
% This example will work correctly if all the characters above 127 are usable. Some
% implementations (like
% \textsc{Emtex}) map all characters above 127 on character 127 or use special translation tables
% (\textsc{Tcp} tables for \textsc{EmTeX}). With \textsc{Emtex} the options |/8| should be used when
% the format is generated.
%
%\fi
%
% \StopEventually{
% \begin{thebibliography}{9}
% \bibitem{Companion} M.~Goosens, F.~Mittelbach, and A.~Samarin
% \emph{The \LaTeX{} Companion}, 1994, Addison-Wesley.
% \bibitem{TeXnician} V.~Eijkhout
% \emph{\TeX{} by Topic A \TeX nician's Reference}, 1992 Addison-Wesley
% \bibitem{PETIT} R.~Seroul
% \emph{Le petit livre de \TeX{}}, 1989, Inter\'Edition
% \end{thebibliography}
%}
%
% \section{The implementation\label{IMPLEMENTATION}}
%
% \subsection{Introduction}
%
% The package is divided in three parts:
% \begin{enumerate}
% \item The drawing of characters\ft{Not all the characters in all code page could be represented in \TeX{}.}.
% \item The definition for the different code pages.
% \item The interface.
% \end{enumerate}
%
% Inside the package the characters above 127 are defined by commands whose names try to follow
% the
% standard defined by the \textsc{Postscript} language (\Comm{eacute} will draw the character \'e).
%
% The definition of a code page is done by associating a character with the command which draw it. To be more
% precise the command \Comm{eacute} does not draw the character directly, but it define an active character
% to draw the glyph ``e acute''. Thus a code page table is a call to a command which define each character
% from this code page to become an active character which draw the desired glyph.
%
% In addition, the associated code (\Comm{uccode} and \Comm{lccode}) are adapted to the values used in the code
% page to have a correct behaviour with the commands \Comm{uppercase} and \Comm{lowercase}. The change of
% \Comm{lccode} prohibit correct hyphenation\ft{Generally, the hyphenation patterns are defined with the
% \textsc{Dc} characters and it's not a good idea to modify this file to adapt it to a particular code page.},
% therefore the command \Comm{MakeHyphenationLetter} is provided to circumvent this problem.
%
% \subsection{File \Fich{codepage.sty}}
%
% First of all, a general purpose counter used in all package is declared:
% \begin{macrocode}
%<*codepage>
% \end{macrocode}
%
% Now we save the category code for the character \textbf{@}
% \begin{macrocode}
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
% \end{macrocode}
% and we define some conditionals to be able to test:
% \begin{itemize}
% \item what format is used (because some commands do not exist in \TeX{})
% \item if the translation should be executed on every special character. This is obviously almost ever
% the case (why else using this package ?!) but in some cases this is not a good solution. When
% the special characters are written in an auxiliary files, it could be better to translate them
% when the text is read again, specially if these characters should be transform by commands such
% \Comm{lowercase} or \Comm{uppercase}.
% \item if it's the first time that the command \Comm{codepage} is called, because the definition for the
% command drawing of accents should be saved just the first time (to avoid recursion problem).
% \end{itemize}
% \begin{macrocode}
\newif\if@FirstCodePageCall
\@FirstCodePageCalltrue
\newif\ifTeX
\newif\ifTR % True if we do the translation of character
\TRtrue
% \end{macrocode}
%
% Here is the test to know if the format is plain \TeX{} or \LaTeX{}. This code is stolen
% from~\cite{TeXnician}.
% \begin{macrocode}
\expandafter\ifx\csname @currsize\endcsname\relax\TeXtrue\else\TeXfalse\fi
\ifTeX
\message{codepage.sty used in TeX context}%
\else
\typeout{codepage.sty used in LaTeX context}%
\fi
% \end{macrocode}
%
% \DescribeMacro{\@BadHyphenCarMsg}
% This macro is defined here because it's used in all code page tables. It issue a warning
% when a special character is used to hyphenate a word, but it is not really a letter. A symbol
% drawn using mathematical mode of \TeX{} could not be used to hyphenate word.
% \begin{macrocode}
\def\@BadHyphenCarMsg#1{%
\ifTeX
\message{Warning: the character \string #1 is not a character
to form a word}%
\message{Hyphenation can't be done with it}%
\else
\typeout{Warning: the character \string #1 is not a character
to form a word}%
\typeout{Hyphenation can't be done with it}%
\fi
}%@BadHyphenCarMsg
% \end{macrocode}
% \DescribeMacro{\@ConflictHyphenCarMsg}
% Due to the manner to treat the hyphenation (see paragraph~\ref{HYPHEN}),
% some conflicts could arise
% between two characters for hyphenation. The two arguments of the macro are the two characters in conflict.
% \begin{macrocode}
\def\@ConflictHyphenCarMsg#1#2{%
\ifTeX
\message{Warning the character #1 could be in conflict}%
\message{with character #2 for hyphenation algorithm !}%
\else
\typeout{Warning the character #1 could be in conflict}%
\typeout{with character #2 for hyphenation algorithm !}%
\fi
}%\@ConflictHyphenCarMsg
% \end{macrocode}
%
% Now we could declare the interface of the package, first the definition of constants
% \begin{macrocode}
\chardef\CM=0% The target font is CM encoding
\chardef\DC=1% The target font is DC encoding
\chardef\FourThreeSeven=0% Code page 437
\chardef\EightFiveZero=1% Code page 850
\chardef\IsoOne=2% Iso latin set 1
\chardef\Mac=3% Apple Mac Intosh characters
% \end{macrocode}
%
% \DescribeMacro{\codepage}
% This is the main macro which take two parameters:
% \begin{enumerate}
% \item the source code page of the document;
% \item the encoding scheme chosen for the output (\texttt{T1} or \texttt{OT1}).
% \end{enumerate}
% After the call of the macro, all the characters above 127 are made ``active''.
% Some characters draw their shape, the other issue a warning indicating that they could not be drawn
% with \TeX{} commands.
%
% The first thing to do is the save of the current encoding in a global
% variable and the save of the original macros for putting accents over
% letter.
% This should be done inside the macro to be independent of the order of style's declarations and
% it should be done just once to avoid the recursion problem.
% \begin{macrocode}
\def\codepage#1#2{%
\chardef\CurrentEncoding=#2%
\if@FirstCodePageCall
\let\Grave=\`%
\let\Circumflex=\^%
\let\Tilda=\~%
\let\OverBar=\=%
\let\UnderBar=\b%
\let\Join=\t%
\let\HungarUmlaut=\H%
\let\Acute=\'%
\let\Diaresis=\"%
\let\Breve=\u%
\let\OverDot=\.%
\let\UnderDot=\d%
\let\Tcheche=\v%
\let\Cedille=\c%
\@FirstCodePageCallfalse
\fi
% \end{macrocode}
% All the characters upper 127 are made active and the table for the
% code page of document is set.
% \begin{macrocode}
\AllActive
\ifcase#1%
\input code437 %
\or
\input code850 %
\or
\input codeiso1 %
\or
\input codemac %
\fi
% \end{macrocode}
% The last thing to do is to save with an other name the standard macros for drawing accent
% which are modified by ``tabbing''
% environment of \LaTeX{} and the suppression of white space generated.
% Thus the same macro's name could
% be used everywhere to put accent on character.
% \begin{macrocode}
\let\@Grave=\`%
\let\@Aigu=\'%
\let\@OverBar=\=%
\ignorespaces
}%\codepage
% \end{macrocode}
%
% \DescribeMacro{\AllActive}
% \begin{macrocode}
\def\AllActive{%
\catcode`\^^80=\active \catcode`\^^81=\active \catcode`\^^82=\active
\catcode`\^^83=\active \catcode`\^^84=\active \catcode`\^^85=\active
\catcode`\^^86=\active \catcode`\^^87=\active \catcode`\^^88=\active
\catcode`\^^89=\active \catcode`\^^8a=\active \catcode`\^^8b=\active
\catcode`\^^8c=\active \catcode`\^^8d=\active \catcode`\^^8e=\active
\catcode`\^^8f=\active \catcode`\^^90=\active \catcode`\^^91=\active
\catcode`\^^92=\active \catcode`\^^93=\active \catcode`\^^94=\active
\catcode`\^^95=\active \catcode`\^^96=\active \catcode`\^^97=\active
\catcode`\^^98=\active \catcode`\^^99=\active \catcode`\^^9a=\active
\catcode`\^^9b=\active \catcode`\^^9c=\active \catcode`\^^9d=\active
\catcode`\^^9e=\active \catcode`\^^9f=\active \catcode`\^^a0=\active
\catcode`\^^a1=\active \catcode`\^^a2=\active \catcode`\^^a3=\active
\catcode`\^^a4=\active \catcode`\^^a5=\active \catcode`\^^a6=\active
\catcode`\^^a7=\active \catcode`\^^a8=\active \catcode`\^^a9=\active
\catcode`\^^aa=\active \catcode`\^^ab=\active \catcode`\^^ac=\active
\catcode`\^^ad=\active \catcode`\^^ae=\active \catcode`\^^af=\active
\catcode`\^^b0=\active \catcode`\^^b1=\active \catcode`\^^b2=\active
\catcode`\^^b3=\active \catcode`\^^b4=\active \catcode`\^^b5=\active
\catcode`\^^b6=\active \catcode`\^^b7=\active \catcode`\^^b8=\active
\catcode`\^^b9=\active \catcode`\^^ba=\active \catcode`\^^bb=\active
\catcode`\^^bc=\active \catcode`\^^bd=\active \catcode`\^^be=\active
\catcode`\^^bf=\active \catcode`\^^c0=\active \catcode`\^^c1=\active
\catcode`\^^c2=\active \catcode`\^^c3=\active \catcode`\^^c4=\active
\catcode`\^^c5=\active \catcode`\^^c6=\active \catcode`\^^c7=\active
\catcode`\^^c8=\active \catcode`\^^c9=\active \catcode`\^^ca=\active
\catcode`\^^cb=\active \catcode`\^^cc=\active \catcode`\^^cd=\active
\catcode`\^^ce=\active \catcode`\^^cf=\active \catcode`\^^d0=\active
\catcode`\^^d1=\active \catcode`\^^d2=\active \catcode`\^^d3=\active
\catcode`\^^d4=\active \catcode`\^^d5=\active \catcode`\^^d6=\active
\catcode`\^^d7=\active \catcode`\^^d8=\active \catcode`\^^d9=\active
\catcode`\^^da=\active \catcode`\^^db=\active \catcode`\^^dc=\active
\catcode`\^^dd=\active \catcode`\^^de=\active \catcode`\^^df=\active
\catcode`\^^e0=\active \catcode`\^^e1=\active \catcode`\^^e2=\active
\catcode`\^^e3=\active \catcode`\^^e4=\active \catcode`\^^e5=\active
\catcode`\^^e6=\active \catcode`\^^e7=\active \catcode`\^^e8=\active
\catcode`\^^e9=\active \catcode`\^^ea=\active \catcode`\^^eb=\active
\catcode`\^^ec=\active \catcode`\^^ed=\active \catcode`\^^ee=\active
\catcode`\^^ef=\active \catcode`\^^f0=\active \catcode`\^^f1=\active
\catcode`\^^f2=\active \catcode`\^^f3=\active \catcode`\^^f4=\active
\catcode`\^^f5=\active \catcode`\^^f6=\active \catcode`\^^f7=\active
\catcode`\^^f8=\active \catcode`\^^f9=\active \catcode`\^^fa=\active
\catcode`\^^fb=\active \catcode`\^^fc=\active \catcode`\^^fd=\active
\catcode`\^^fe=\active \catcode`\^^ff=\active
}% \AllActive
% \end{macrocode}
%
% \DescribeMacro{\AllOther}
% \begin{macrocode}
\def\AllOther{%
% \end{macrocode}
% This definition is used to save space (two digits take twice as space than and
% macro) and to clarify the meaning of catcode.
% \begin{macrocode}
\chardef\other=12\relax
\catcode`\^^80=\other \catcode`\^^81=\other \catcode`\^^82=\other
\catcode`\^^83=\other \catcode`\^^84=\other \catcode`\^^85=\other
\catcode`\^^86=\other \catcode`\^^87=\other \catcode`\^^88=\other
\catcode`\^^89=\other \catcode`\^^8a=\other \catcode`\^^8b=\other
\catcode`\^^8c=\other \catcode`\^^8d=\other \catcode`\^^8e=\other
\catcode`\^^8f=\other \catcode`\^^90=\other \catcode`\^^91=\other
\catcode`\^^92=\other \catcode`\^^93=\other \catcode`\^^94=\other
\catcode`\^^95=\other \catcode`\^^96=\other \catcode`\^^97=\other
\catcode`\^^98=\other \catcode`\^^99=\other \catcode`\^^9a=\other
\catcode`\^^9b=\other \catcode`\^^9c=\other \catcode`\^^9d=\other
\catcode`\^^9e=\other \catcode`\^^9f=\other \catcode`\^^a0=\other
\catcode`\^^a1=\other \catcode`\^^a2=\other \catcode`\^^a3=\other
\catcode`\^^a4=\other \catcode`\^^a5=\other \catcode`\^^a6=\other
\catcode`\^^a7=\other \catcode`\^^a8=\other \catcode`\^^a9=\other
\catcode`\^^aa=\other \catcode`\^^ab=\other \catcode`\^^ac=\other
\catcode`\^^ad=\other \catcode`\^^ae=\other \catcode`\^^af=\other
\catcode`\^^b0=\other \catcode`\^^b1=\other \catcode`\^^b2=\other
\catcode`\^^b3=\other \catcode`\^^b4=\other \catcode`\^^b5=\other
\catcode`\^^b6=\other \catcode`\^^b7=\other \catcode`\^^b8=\other
\catcode`\^^b9=\other \catcode`\^^ba=\other \catcode`\^^bb=\other
\catcode`\^^bc=\other \catcode`\^^bd=\other \catcode`\^^be=\other
\catcode`\^^bf=\other \catcode`\^^c0=\other \catcode`\^^c1=\other
\catcode`\^^c2=\other \catcode`\^^c3=\other \catcode`\^^c4=\other
\catcode`\^^c5=\other \catcode`\^^c6=\other \catcode`\^^c7=\other
\catcode`\^^c8=\other \catcode`\^^c9=\other \catcode`\^^ca=\other
\catcode`\^^cb=\other \catcode`\^^cc=\other \catcode`\^^cd=\other
\catcode`\^^ce=\other \catcode`\^^cf=\other \catcode`\^^d0=\other
\catcode`\^^d1=\other \catcode`\^^d2=\other \catcode`\^^d3=\other
\catcode`\^^d4=\other \catcode`\^^d5=\other \catcode`\^^d6=\other
\catcode`\^^d7=\other \catcode`\^^d8=\other \catcode`\^^d9=\other
\catcode`\^^da=\other \catcode`\^^db=\other \catcode`\^^dc=\other
\catcode`\^^dd=\other \catcode`\^^de=\other \catcode`\^^df=\other
\catcode`\^^e0=\other \catcode`\^^e1=\other \catcode`\^^e2=\other
\catcode`\^^e3=\other \catcode`\^^e4=\other \catcode`\^^e5=\other
\catcode`\^^e6=\other \catcode`\^^e7=\other \catcode`\^^e8=\other
\catcode`\^^e9=\other \catcode`\^^ea=\other \catcode`\^^eb=\other
\catcode`\^^ec=\other \catcode`\^^ed=\other \catcode`\^^ee=\other
\catcode`\^^ef=\other \catcode`\^^f0=\other \catcode`\^^f1=\other
\catcode`\^^f2=\other \catcode`\^^f3=\other \catcode`\^^f4=\other
\catcode`\^^f5=\other \catcode`\^^f6=\other \catcode`\^^f7=\other
\catcode`\^^f8=\other \catcode`\^^f9=\other \catcode`\^^fa=\other
\catcode`\^^fb=\other \catcode`\^^fc=\other \catcode`\^^fd=\other
\catcode`\^^fe=\other \catcode`\^^ff=\other
}% \AllOther
% \end{macrocode}
%
% \DescribeMacro{\MakeHyphenationLetter}
% This macro allow a special letter to be use in a \Comm{hyphenation}
% command to declare hyphenation exceptions.
% To do the hyphenation \TeX{} will transform all the characters to lowercase (by using the \Comm{lowerccase}
% primitive) and then compare the string of characters with the table of hyphenation; if a match is found
% the hyphenation could be done.
%
% The \Comm{lccode} and the \Comm{uccode} are always defined in term of code page of document
% (for instance the code page 850 of PC), but the process of
% hyphenation comes at a very late stage when all the characters are already translated in the \textsc{Dc}
% encoding. Thus a match is never possible. The macro \Comm{MakeHyphenationLetter} will then change locally the
% value of \Comm{lccode} to anticipate what it will be when the character is translated. Unfortunately this
% transformation is not one way, and different characters could give the same result, but this case is
% quite rare and a warning is issued.
%
% The two parameters for the macro are the code page of the document and the letter to be used in the
% \Comm{hyphenation} command.
% \begin{macrocode}
\def\MakeHyphenationLetter#1#2{%
\ifcase#1%
\@MakeHyphenationFourThreeSeven{#2}%
\or
\@MakeHyphenationEightFiveZero{#2}%
\or
\@MakeHyphenationLatinOne{#2}%
\or
\@MakeHyphenationMac{#2}%
\fi
}% MakeHyphenationLetter
% \end{macrocode}
%
% \DescribeMacro{\@CarSmaller}
% Macros that work only with \LaTeX, and draw character smaller (two steps less
% than current writing size ie. normalsize is set to footnotesize).
% With \TeX{} this macros does nothing.
% \begin{macrocode}
\def\@CarSmaller{\ifTeX
%Do nothing
\else
%We are in LaTeX
\ifx\@currsize\normalsize\relax
\footnotesize
\else
\ifx\@currsize\small\relax
\scriptsize
\else
\ifx\@currsize\footnotesize\relax
\tiny
\else
\ifx\@currsize\scriptsize\relax
\tiny % we cannot have less
\fi
\fi
\fi
\fi
\ifx\@currsize\large\relax
\small
\else
\ifx\@currsize\Large\relax
\normalsize
\else
\ifx\@currsize\LARGE\relax
\large
\else
\ifx\@currsize\huge\relax
\Large
\else
\ifx\@currsize\Huge\relax
\LARGE
\fi
\fi
\fi
\fi
\fi
\fi
}% \@CarSmaller
% \end{macrocode}
%
% \DescribeMacro{\@Sup}
% \begin{macrocode}
\def\@Sup#1{%
\ifmmode
^{\hbox{\@CarSmaller #1}}%
\else
$^{\hbox{\@CarSmaller #1}}$%
\fi
}%\@Sup
% \end{macrocode}
% \DescribeMacro{\@Fraction}
% Create a fraction (for one half, one quarter etc.)
% \begin{macrocode}
\def\@Fraction#1#2{%
\ifmmode
\ifTeX
#1\over#2%
\else
\frac{#1}{#2}%
\fi
\else
\ifTeX
$#1\over#2$%
\else
$\frac{#1}{#2}$%
\fi
\fi
}%\@Fraction
% \end{macrocode}
%
% \DescribeMacro{\@MathSymbol}
% MathSymbol defines its first parameter to print the mathematical
% symbol given as second parameter (given without {\tt\bslash{}})
% \begin{macrocode}
\def\@MathSymbol#1#2{%
%Do the global definitions
\gdef#1{\ifTR
\ifmmode
% Already in math ==> no $
\csname#2\endcsname
\else
$\csname#2\endcsname$%
\fi
\else
%No translation to do
\string#1%
\fi
}%
}%\@MathSymbol
% \end{macrocode}
% \DescribeMacro{\@InMath}
% @InMath write its argument in mathematical mode (given without {\tt\bslash{}})
% \begin{macrocode}
\def\@InMath#1{%
\ifmmode
% Already in math ==> no $
\csname#1\endcsname
\else
$\csname#1\endcsname$%
\fi
}%\@InMath
% \end{macrocode}
%
% \DescribeMacro{\@UC}
% \begin{macrocode}
\def\@UC#1#2#3{%
\global\uccode`#1=#2\global\lccode`#1=#3%
}%
% \end{macrocode}
%
% \DescribeMacro{\@DefaultValue}
%Define the default macro for an active character which could not be printed.
% \begin{macrocode}
\def\@DefaultValue#1{%
\ifTeX
\message{The character No #1 doesn't exist in target
font (ignored) !}%
\else
\typeout{The character No #1 doesn't exist in target
font (ignored) !}%
\fi
}%
% \end{macrocode}
% The last thing to do is to restore the value of \textbf{@} character
% \begin{macrocode}
\catcode`\@=\atcatcode \let\atcatcode\relax
%</codepage>
% \end{macrocode}
%
% \subsection{The drawing of characters (Files
% \Fich{shapecm.tex}, \Fich{shapedc.tex})}
%
%
% One file for every different possible (in \TeX{}) coding scheme is
% used. Each file should define macros to draw the characters and the
% accents in \TeX. All files should contain the same macros.
%
% \penalty -200
% Two types of macros are provided:
% \penalty 10000
% \begin{itemize}
% \item The macros prefixed with the @ character which are used to facilitate
% the drawing of some characters.
% These macros should be global and shared by all the
% active characters (thus they are declared in the file
% \Fich{codepage.tex}).
% \item The macros to define active characters. The name of
% these macro follows the Postscript conventions for
% character's name (whenever possible) and does not
% contain an @ character.
% \end{itemize}
%
% The auxiliary macros which are used are:
% \begin{description}
% \item[\Comm{@Sup}] to put its argument in superscript
% \item[\Comm{@Fraction}] to create a fraction with the first parameter over the second in
% smaller size than the current writing
% size.
% \item[\Comm{@CarSmaller}] which change the font to have
% a font two steps smaller than
% the current font (do nothing in \TeX{}).
% \item[\Comm{@MathSymbol}] draw a predefined \TeX{} math symbol.
% \item[\Comm{@UC}] just to have one macro for doing the same action
% many times.
% \end{description}
%
% \begin{macrocode}
%<*shapecm>
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
% \end{macrocode}
% \DescribeMacro{\@StartNewWord}
% This macro give the possibility to hyphenate word containing special characters between
% the syllabs containing the accented character. The trick used is to isolate a special character
% by surrounding it with ``end of word'' mark (i.e. a white space of 0pt where the hyphenation
% is prohibited).
%
% These techniques are used since many year in \TeX{} communauty.
% \begin{macrocode}
\gdef\@StartNewWord{\penalty\@M\hskip\z@skip}%
% \end{macrocode}
% \DescribeMacro{\@TreatDotLessCar}
% Change a dot character to remove the dot when used with an accented character.
% \begin{macrocode}
\gdef\@TreatDotLessCar#1#2{%
\@StartNewWord
\ifx#1i%
\csname#2\endcsname \i
\else
\ifx#1j%
\csname#2\endcsname \j
\else
\csname#2\endcsname #1%
\fi
\fi
\@StartNewWord}%
\gdef\`#1{{\@TreatDotLessCar{#1}{Grave}}}%
\gdef\^#1{{\@TreatDotLessCar{#1}{Circumflex}}}%
\gdef\~#1{{\@TreatDotLessCar{#1}{Tilda}}}%
\gdef\=#1{{\@TreatDotLessCar{#1}{OverBar}}}%
\gdef\b#1{{\underbar #1\@StartNewWord}}%
\gdef\t#1{{\@TreatDotLessCar{#1}{Join}}}%
\gdef\H#1{{\@TreatDotLessCar{#1}{HungarUmlaut}}}%
\gdef\'#1{{\@TreatDotLessCar{#1}{Acute}}}%
\gdef\"#1{{\@TreatDotLessCar{#1}{Diaresis}}}%
\gdef\u#1{{\@TreatDotLessCar{#1}{Breve}}}%
\gdef\.#1{{\@TreatDotLessCar{#1}{OverDot}}}%
\gdef\d#1{{\UnderDot #1\@StartNewWord}}%
\gdef\v#1{{\@TreatDotLessCar{#1}{Tcheche}}}%
\gdef\c#1{{\Cedille #1\@StartNewWord}}%
% \end{macrocode}
% Now we should define the definition for the french quotation marks which aren't defined
% in the \textsc{Cm} font. The code is taken from~\cite{PETIT}.
% \begin{macrocode}
\gdef\og{\leavevmode\raise.3ex\hbox{$\scriptscriptstyle\langle\!\langle\,$}}%
\gdef\fg{\leavevmode\raise.3ex\hbox{$\scriptscriptstyle\,\rangle\!\rangle$}}%
% \end{macrocode}
% This is a rudimentary code to obtain pounds sign in \TeX{} mode.
% \begin{macrocode}
\ifTeX\gdef\pounds{{\it\$}}\fi
% \end{macrocode}
%
% The macros for defining
% a active character to draw its glyph has always three parameters:
% \begin{enumerate}
% \item The character in source font (should be active before the call)
% \item The uppercase code
% \item The lowercase code
% \end{enumerate}
%
% \begin{macrocode}
\def\dieresis#1#2#3{%
% \end{macrocode}
% This macro will define an active character to draw a ``diaresis'' character.
% The first thing to do is to set the \Comm{lccode} and \Comm{uccode} to values meaningful for the
% code page of the document.
% \begin{macrocode}
\@UC{#1}{#2}{#3}%
% \end{macrocode}
% Then, depending on the \TeX{} encoding, the translation is done if the test \Comm{ifTR} is true, else
% the character is left verbatim (with \Comm{catcode=12}). When
% |\ifTR| is true, the character is written |\char "xx| for
% the \textsc{Dc} encoding and it is composed (i.e. |\'e|)
% for the \textsc{Cm} encoding.
% \begin{macrocode}
\gdef#1{\ifTR\char"7F{}\else\string#1\fi}%
}%
\def\acute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"13{}\else\string#1\fi}%
}%
\def\cedilla#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"18{}\else\string#1\fi}%
}%
\def\Agrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{A}\else\@Grave{A}\fi\else\string#1\fi}%
}%
\def\Aacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{A}\else\@Aigu{A}\fi\else\string#1\fi}%
}%
\def\Acircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{A}\else\^{A}\fi\else\string#1\fi}%
}%
\def\Atilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\tilde{A}\else\~{A}\fi\else\string#1\fi}%
}%
\def\Adieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{A}\else\"{A}\fi\else\string#1\fi}%
}%
\def\Aring#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\AA{}\else\string#1\fi}%
}%
\def\fiLigature#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{fi}\else\string#1\fi}%
}%
\def\flLigature#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{fl}\else\string#1\fi}%
}%
\def\AE#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\AE{}\else\string#1\fi}%
}%
\def\Ccedilla#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\c {C}\else\string#1\fi}%
}%
\def\Egrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{E}\else\@Grave{E}\fi\else\string#1\fi}%
}%
\def\Eacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{E}\else\@Aigu{E}\fi\else\string#1\fi}%
}%
\def\Ecircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{E}\else\^{E}\fi\else\string#1\fi}%
}%
\def\Edieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{E}\else\"{E}\fi\else\string#1\fi}%
}%
\def\Igrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{I}\else\@Grave{I}\fi\else\string#1\fi}%
}%
\def\Iacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{I}\else\@Aigu{I}\fi\else\string#1\fi}%
}%
\def\Icircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{I}\else\^{I}\fi\else\string#1\fi}%
}%
\def\Idieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{I}\else\"{I}\fi\else\string#1\fi}%
}%
\def\DBar#1#2#3{%
\@UC{#1}{#2}{#3}%
% nothing to do we use the default value
}%
\def\Ntilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\tilde{N}\else\~{N}\fi\else\string#1\fi}%
}%
\def\Ograve#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{O}\else\@Grave{O}\fi\else\string#1\fi}%
}%
\def\Oacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{O}\else\@Aigu{O}\fi\else\string#1\fi}%
}%
\def\Ocircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{O}\else\^{O}\fi\else\string#1\fi}%
}%
\def\Otilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\tilde{O}\else\~{O}\fi\else\string#1\fi}%
}%
\def\Odieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{O}\else\"{O}\fi\else\string#1\fi}%
}%
\def\Oslash#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\O{}\else\string#1\fi}%
}%
\def\Ugrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{U}\else\@Grave{U}\fi\else\string#1\fi}%
}%
\def\Uacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{U}\else\@Aigu{U}\fi\else\string#1\fi}%
}%
\def\Ucircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{U}\else\^{U}\fi\else\string#1\fi}%
}%
\def\Udieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{U}\else\"{U}\fi\else\string#1\fi}%
}%
\def\Yacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{Y}\else\@Aigu{Y}\fi\else\string#1\fi}%
}%
\def\Thorn#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in CM
}%
\def\germandbls#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{SS}\else\string#1\fi}%
}%
\def\agrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{a}\else\@Grave{a}\fi\else\string#1\fi}%
}%
\def\aacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{a}\else\@Aigu{a}\fi\else\string#1\fi}%
}%
\def\acircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{a}\else\^{a}\fi\else\string#1\fi}%
}%
\def\atilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\tilde{a}\else\~{a}\fi\else\string#1\fi}%
}%
\def\adieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{a}\else\"{a}\fi\else\string#1\fi}%
}%
\def\aring#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\aa{}\else\string#1\fi}%
}%
\def\ae#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ae{}\else\string#1\fi}%
}%
\def\ccedilla#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\c {c}\else\string#1\fi}%
}%
\def\egrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{e}\else\@Grave{e}\fi\else\string#1\fi}%
}%
\def\eacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{e}\else\@Aigu{e}\fi\else\string#1\fi}%
}%
\def\ecircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{e}\else\^{e}\fi\else\string#1\fi}%
}%
\def\edieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{e}\else\"{e}\fi\else\string#1\fi}%
}%
\def\igrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{i}\else\@Grave{i}\fi\else\string#1\fi}%
}%
\def\iacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{i}\else\@Aigu{i}\fi\else\string#1\fi}%
}%
\def\icircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{i}\else\^{i}\fi\else\string#1\fi}%
}%
\def\idieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{i}\else\"{i}\fi\else\string#1\fi}%
}%
\def\dBar#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in CM
}%
\def\ntilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\tilde{n}\else\~{n}\fi\else\string#1\fi}%
}%
\def\ograve#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{o}\else\@Grave{o}\fi\else\string#1\fi}%
}%
\def\oacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{o}\else\@Aigu{o}\fi\else\string#1\fi}%
}%
\def\ocircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{o}\else\^{o}\fi\else\string#1\fi}%
}%
\def\otilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\tilde{o}\else\~{o}\fi\else\string#1\fi}%
}%
\def\odieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{o}\else\"{o}\fi\else\string#1\fi}%
}%
\def\OE#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\OE{}\else\string#1\fi}%
}%
\def\oe#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\oe{}\else\string#1\fi}%
}%
\def\oslash#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\o{}\else\string#1\fi}%
}%
\def\ugrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\grave{u}\else\@Grave{u}\fi\else\string#1\fi}%
}%
\def\uacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{u}\else\@Aigu{u}\fi\else\string#1\fi}%
}%
\def\ucircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\hat{u}\else\^{u}\fi\else\string#1\fi}%
}%
\def\udieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{u}\else\"{u}\fi\else\string#1\fi}%
}%
\def\yacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\acute{y}\else\@Aigu{y}\fi\else\string#1\fi}%
}%
\def\thorn#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in CM
}%
\def\ydieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{y}\else\"{y}\fi\else\string#1\fi}%
}%
\def\Ydieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\ifmmode\ddot{Y}\else\"{Y}\fi\else\string#1\fi}%
}%
%
\def\alpha#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{alpha}%
}%
\def\approx#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{approx}%
}%
\def\beta#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{beta}%
}%
\def\bullet#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{bullet}%
}%
\def\cap#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{cap}%
}%
\def\cent#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in CM
% no definition in DC
}%
\def\guillemeotright#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\fg{}\else\string#1\fi}%
}%
\def\copyright#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\copyright{}\else\string#1\fi}%
}%
\def\currency#1#2#3{% character hex A4 in Iso latin set 1
\@UC{#1}{#2}{#3}%
% no definition in CM
}%
\def\degree#1#2#3{%
\@UC{#1}{#2}{#3}%
}%
\def\dag#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{dag}%
}%
\def\ddag#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{ddag}%
}%
\def\delta#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{delta}%
}%
\def\div#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{div}%
}%
\def\diamond#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Diamond}%
}%
\def\emptysetSign#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{emptyset}% is nicer than epsilon
}%
\def\section#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\S}\else\string#1\fi}%
}%
\def\epsilon#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{varepsilon}% is nicer than epsilon
}%
\def\equiv#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{equiv}%
}%
\def\ellipsis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{...}\else\string#1\fi}%
}%
\def\exclamdown#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{!`}\else\string#1\fi}%
}%
\def\ordfeminine#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\@Sup{\b{a}}\else\string#1\fi}%
}%
\def\geq#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{geq}%
}%
\def\Gamma#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Gamma}%
}%
\def\infty#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{infty}%
}%
\def\leq#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{leq}%
}%
\def\emdash#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{---}\else\string#1\fi}%
}%
\def\ordmasculine#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\@Sup{\b{o}}\else\string#1\fi}%
}%
\def\mu#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{mu}%
}%
\def\neg#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{neg}%
}%
\def\neq#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{neq}%
}%
\def\unbreakablespace#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR~\else\string#1\fi}%
}%
\def\Omega#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Omega}%
}%
\def\OneHalf#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Fraction{1}{2}}\else\string#1\fi}%
}%
\def\OneQuarter#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Fraction{1}{4}}\else\string#1\fi}%
}%
\def\guilletmotleft#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\og{}\else\string#1\fi}%
}%
\def\Pi#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Pi}%
}%
\def\pi#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{pi}%
}%
\def\pm#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{pm}%
}%
\def\ParagraphSign#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\P}\else\string#1\fi}%
}%
\def\partial#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{partial}%
}%
\def\Phi#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Phi}%
}%
\def\pounds#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\pounds{}\else\string#1\fi}%
}%
\def\powerone#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Sup{1}}\else\string#1\fi}%
}%
\def\powerthree#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Sup{3}}\else\string#1\fi}%
}%
\def\powertwo#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Sup{2}}\else\string#1\fi}%
}%
\def\questiondown#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{?`}\else\string#1\fi}%
}%
\def\register#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in CM
% no definition in DC
}%
\def\Sigma#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Sigma}%
}%
\def\sigma#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{sigma}%
}%
\def\quoteright#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{'}\else\string#1\fi}%
}%
\def\quoteleft#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{`}\else\string#1\fi}%
}%
\def\splitbar#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in CM
}%
\def\tau#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{tau}%
}%
\def\ThetaSign#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Theta}%
}%
\def\threequarter#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Fraction{3}{4}}\else\string#1\fi}%
}%
\def\times#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{times}%
}%
\def\trademark#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\@Sup{TM}\else\string#1\fi}%
}%
\def\quotedblright#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{''}\else\string#1\fi}%
}%
\def\quotedblleft#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{``}\else\string#1\fi}%
}%
\def\yen#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in CM
% no definition in DC
}%
\def\perthousand#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in CM
% no definition in DC
}%
\def\florin#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\it f}\else\string#1\fi}%
}%
\catcode`\@=\atcatcode \let\atcatcode\relax
%</shapecm>
% \end{macrocode}
%
% These macros redefines all the effect of the macros to put accents on
% characters
% in order to produce directly the character in the font \textsc{Dc}.
% The code is stolen from the file \Fich{DCLFONT.STY} from the \textsc{Nfss} distribution.
% Two reasons have dictated this choice:
% \begin{itemize}
% \item When \textsc{Nfss} is not used, the composition of character+accent
% will give directly the accented character;
% \item When \textsc{Nfss} is used, it's better to have the translation done
% in command |\char 'xxx| instead of |^^xx|. This avoid bad translation when
% an auxiliary file is reread.
% \end{itemize}
% The first thing to do is to save the catcode of @ character.
% \begin{macrocode}
%<*shapedc>
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
\global\chardef\aa="0E5%
\global\chardef\ae="0E6%
\global\chardef\l="0AA%
\global\chardef\oe="0F7%
\global\chardef\o="0F8%
\global\chardef\ss="0FF%
\global\chardef\AA="0C5%
\global\chardef\AE="0C6%
\global\chardef\L="8A%
\global\chardef\OE="0D7%
\global\chardef\O="0D8%
\global\chardef\SS="0DF%
\global\chardef\i="19%
\global\chardef\j="1A%
\global\chardef\pounds="0BF%
\gdef\hbar{{\mathchar'11\mkern-9muh}}%
\def\@accent@def#1#2#3{\expandafter\gdef
\csname @#1@\string#2@#1@\endcsname{#3}}%
\gdef\@accent@use#1#2#3{%
\expandafter\ifx \csname @#1@\string#3@#1@\endcsname \relax
{\accent#2 #3}%
\else \csname @#1@\string#3@#1@\endcsname\fi}%
\gdef\`{\@accent@use{grave}{0}}%
\let\@accii=\`%
\@accent@def{grave}{a}{\char"E0{}}%
\@accent@def{grave}{e}{\char"E8{}}%
\@accent@def{grave}{\i}{\char"EC{}}%
\@accent@def{grave}{i}{\char"EC{}}%
\@accent@def{grave}{o}{\char"F2{}}%
\@accent@def{grave}{u}{\char"F9{}}%
\@accent@def{grave}{A}{\char"C0{}}%
\@accent@def{grave}{E}{\char"C8{}}%
\@accent@def{grave}{I}{\char"CC{}}%
\@accent@def{grave}{O}{\char"D2{}}%
\@accent@def{grave}{U}{\char"D9{}}%
\gdef\'{\@accent@use{acute}{1}}%
\let\@acci=\'%
\@accent@def{acute}{n}{\char"AB{}}%
\@accent@def{acute}{l}{\char"A8{}}%
\@accent@def{acute}{r}{\char"AF{}}%
\@accent@def{acute}{s}{\char"B1{}}%
\@accent@def{acute}{z}{\char"B9{}}%
\@accent@def{acute}{a}{\char"E1{}}%
\@accent@def{acute}{e}{\char"E9{}}%
\@accent@def{acute}{\i}{\char"ED{}}%
\@accent@def{acute}{i}{\char"ED{}}%
\@accent@def{acute}{o}{\char"F3{}}%
\@accent@def{acute}{u}{\char"FA{}}%
\@accent@def{acute}{y}{\char"FD{}}%
\@accent@def{acute}{N}{\char"8B{}}%
\@accent@def{acute}{L}{\char"88{}}%
\@accent@def{acute}{R}{\char"8F{}}%
\@accent@def{acute}{S}{\char"91{}}%
\@accent@def{acute}{Z}{\char"99{}}%
\@accent@def{acute}{A}{\char"C1{}}%
\@accent@def{acute}{E}{\char"C9{}}%
\@accent@def{acute}{I}{\char"CD{}}%
\@accent@def{acute}{O}{\char"D3{}}%
\@accent@def{acute}{U}{\char"DA{}}%
\@accent@def{acute}{Y}{\char"DD{}}%
\@accent@def{acute}{c}{\char"A2{}}%
\@accent@def{acute}{C}{\char"82{}}%
\gdef\v{\@accent@use{check}{7}}%
\@accent@def{check}{c}{\char"A3{}}%
\@accent@def{check}{e}{\char"A5{}}%
\@accent@def{check}{n}{\char"AC{}}%
\@accent@def{check}{r}{\char"B0{}}%
\@accent@def{check}{s}{\char"B2{}}%
\@accent@def{check}{z}{\char"BA{}}%
\@accent@def{check}{C}{\char"83{}}%
\@accent@def{check}{D}{\char"84{}}%
\@accent@def{check}{E}{\char"85{}}%
\@accent@def{check}{N}{\char"8C{}}%
\@accent@def{check}{R}{\char"90{}}%
\@accent@def{check}{S}{\char"92{}}%
\@accent@def{check}{T}{\char"94{}}%
\@accent@def{check}{Z}{\char"9A{}}%
\gdef\u{\@accent@use{breve}{8}}%
\@accent@def{breve}{a}{\char"A0{}}%
\@accent@def{breve}{g}{\char"A7{}}%
\@accent@def{breve}{A}{\char"80{}}%
\@accent@def{breve}{G}{\char"87{}}%
\gdef\=#1{{\accent9 #1}}%
\let\@acciii=\=%
\gdef\^{\@accent@use{circflx}{2}}%
\@accent@def{circflx}{a}{\char"E2{}}%
\@accent@def{circflx}{e}{\char"EA{}}%
\@accent@def{circflx}{\i}{\char"EE{}}%
\@accent@def{circflx}{i}{\char"EE{}}%
\@accent@def{circflx}{o}{\char"F4{}}%
\@accent@def{circflx}{u}{\char"FB{}}%
\@accent@def{circflx}{A}{\char"C2{}}%
\@accent@def{circflx}{E}{\char"CA{}}%
\@accent@def{circflx}{I}{\char"CE{}}%
\@accent@def{circflx}{O}{\char"D4{}}%
\@accent@def{circflx}{U}{\char"DB{}}%
\gdef\.{\@accent@use{dot}{10}}%
\@accent@def{dot}{z}{\char"BB{}}%
\@accent@def{dot}{Z}{\char"9B{}}%
\@accent@def{dot}{I}{\char"9D{}}%
\@accent@def{dot}{i}{i}%
\gdef\H{\@accent@use{Hung}{5}}%
\@accent@def{Hung}{o}{\char"AE{}}%
\@accent@def{Hung}{u}{\char"B6{}}%
\@accent@def{Hung}{O}{\char"8E{}}%
\@accent@def{Hung}{U}{\char"96{}}%
\gdef\~{\@accent@use{tilde}{3}}%
\@accent@def{tilde}{a}{\char"E3{}}%
\@accent@def{tilde}{n}{\char"F1{}}%
\@accent@def{tilde}{o}{\char"F5{}}%
\@accent@def{tilde}{A}{\char"C3{}}%
\@accent@def{tilde}{N}{\char"D1{}}%
\@accent@def{tilde}{O}{\char"D5{}}%
\gdef\"{\@accent@use{Umlaut}{4}}%
\@accent@def{Umlaut}{a}{\char"E4{}}%
\@accent@def{Umlaut}{e}{\char"EB{}}%
\@accent@def{Umlaut}{\i}{\char"EF{}}%
\@accent@def{Umlaut}{i}{\char"EF{}}%
\@accent@def{Umlaut}{o}{\char"F6{}}%
\@accent@def{Umlaut}{u}{\char"FC{}}%
\@accent@def{Umlaut}{A}{\char"C4{}}%
\@accent@def{Umlaut}{E}{\char"CB{}}%
\@accent@def{Umlaut}{I}{\char"CF{}}%
\@accent@def{Umlaut}{O}{\char"D6{}}%
\@accent@def{Umlaut}{U}{\char"DC{}}%
\gdef\pb#1{\oalign{#1\crcr\hidewidth
\vbox to.2ex{\hbox{\char9}\vss}\hidewidth}}%
\gdef\pc#1{\expandafter\ifx
\csname @cedilla@\string#1@cedilla@\endcsname \relax
\c@dilla#1\else \csname @cedilla@\string#1@cedilla@\endcsname\fi}%
\@accent@def{cedilla}{s}{\char"B3{}}%
\@accent@def{cedilla}{t}{\char"B5{}}%
\@accent@def{cedilla}{c}{\char"E7{}}%
\@accent@def{cedilla}{S}{\char"93{}}%
\@accent@def{cedilla}{T}{\char"95{}}%
\@accent@def{cedilla}{C}{\char"C7{}}%
\gdef\c@dilla#1{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1%
\else{\ooalign{\hidewidth\char11\hidewidth\crcr\unhbox\z@}}\fi}%
%
\def\dieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char'004{}\else\string#1\fi}%
}%
\def\acute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"01{}\else\string#1\fi}%
}%
\def\cedilla#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"0D{}\else\string#1\fi}%
}%
\def\Agrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C0{}\else\string#1\fi}%
}%
\def\Aacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C1{}\else\string#1\fi}%
}%
\def\Acircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C2{}\else\string#1\fi}%
}%
\def\Atilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C3{}\else\string#1\fi}%
}%
\def\Adieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C4{}\else\string#1\fi}%
}%
\def\Aring#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C5{}\else\string#1\fi}%
}%
\def\fiLigature#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{fi}\else\string#1\fi}%
}%
\def\flLigature#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{fl}\else\string#1\fi}%
}%
\def\AE#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C6{}\else\string#1\fi}%
}%
\def\Ccedilla#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C7{}\else\string#1\fi}%
}%
\def\Egrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C8{}\else\string#1\fi}%
}%
\def\Eacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"C9{}\else\string#1\fi}%
}%
\def\Ecircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"CA{}\else\string#1\fi}%
}%
\def\Edieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"CB{}\else\string#1\fi}%
}%
\def\Igrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"CC{}\else\string#1\fi}%
}%
\def\Iacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"CD{}\else\string#1\fi}%
}%
\def\Icircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"CE{}\else\string#1\fi}%
}%
\def\Idieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"CF{}\else\string#1\fi}%
}%
\def\DBar#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"D0{}\else\string#1\fi}%
}%
\def\Ntilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"D1{}\else\string#1\fi}%
}%
\def\Ograve#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"D2{}\else\string#1\fi}%
}%
\def\Oacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"D3{}\else\string#1\fi}%
}%
\def\Ocircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"D4{}\else\string#1\fi}%
}%
\def\Otilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"D5{}\else\string#1\fi}%
}%
\def\Odieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"D6{}\else\string#1\fi}%
}%
\def\Oslash#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"D8{}\else\string#1\fi}%
}%
\def\Ugrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"D9{}\else\string#1\fi}%
}%
\def\Uacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"DA{}\else\string#1\fi}%
}%
\def\Ucircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"DB{}\else\string#1\fi}%
}%
\def\Udieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"DC{}\else\string#1\fi}%
}%
\def\Yacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"DD{}\else\string#1\fi}%
}%
\def\Thorn#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"DE{}\else\string#1\fi}%
}%
\def\germandbls#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"DF{}\else\string#1\fi}%
}%
\def\agrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E0{}\else\string#1\fi}%
}%
\def\aacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E1{}\else\string#1\fi}%
}%
\def\acircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E2{}\else\string#1\fi}%
}%
\def\atilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E3{}\else\string#1\fi}%
}%
\def\adieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E4{}\else\string#1\fi}%
}%
\def\aring#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E5{}\else\string#1\fi}%
}%
\def\ae#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E6{}\else\string#1\fi}%
}%
\def\ccedilla#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E7{}\else\string#1\fi}%
}%
\def\egrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E8{}\else\string#1\fi}%
}%
\def\eacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"E9{}\else\string#1\fi}%
}%
\def\ecircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"EA{}\else\string#1\fi}%
}%
\def\edieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"EB{}\else\string#1\fi}%
}%
\def\igrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"EC{}\else\string#1\fi}%
}%
\def\iacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"ED{}\else\string#1\fi}%
}%
\def\icircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"EE{}\else\string#1\fi}%
}%
\def\idieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"EF{}\else\string#1\fi}%
}%
\def\dBar#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"F0{}\else\string#1\fi}%
}%
\def\ntilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"F1{}\else\string#1\fi}%
}%
\def\ograve#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"F2{}\else\string#1\fi}%
}%
\def\oacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"F3{}\else\string#1\fi}%
}%
\def\ocircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"F4{}\else\string#1\fi}%
}%
\def\otilde#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"F5{}\else\string#1\fi}%
}%
\def\odieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"F6{}\else\string#1\fi}%
}%
\def\OE#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\OE{}\else\string#1\fi}%
}%
\def\oe#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\oe{}\else\string#1\fi}%
}%
\def\oslash#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"F8{}\else\string#1\fi}%
}%
\def\ugrave#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"F9{}\else\string#1\fi}%
}%
\def\uacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"FA{}\else\string#1\fi}%
}%
\def\ucircumflex#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"FB{}\else\string#1\fi}%
}%
\def\udieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"FC{}\else\string#1\fi}%
}%
\def\yacute#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"FD{}\else\string#1\fi}%
}%
\def\thorn#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"FE{}\else\string#1\fi}%
}%
\def\ydieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"B8{}\else\string#1\fi}%
}%
\def\Ydieresis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"98{}\else\string#1\fi}%
}%
%
\def\alpha#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{alpha}%
}%
\def\approx#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{approx}%
}%
\def\beta#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{beta}%
}%
\def\bullet#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{bullet}%
}%
\def\cap#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{cap}%
}%
\def\cent#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in DC
}%
\def\guillemeotright#1#2#3{%
\@UC{#1}{#2}{#3}%
% a small space is inserted before the french guillemot
% and the pre-existing space is removed
\gdef#1{\ifTR\unskip\@InMath{,}\char'024{}\else\string#1\fi}%
}%
\def\copyright#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\copyright{}\else\string#1\fi}%
}%
\def\currency#1#2#3{% character hex A4 in Iso latin set 1
\@UC{#1}{#2}{#3}%
% no definition in DC
}%
\def\degree#1#2#3{%
\@UC{#1}{#2}{#3}%
}%
\def\dag#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{dag}%
}%
\def\ddag#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{ddag}%
}%
\def\delta#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{delta}%
}%
\def\div#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{div}%
}%
\def\diamond#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Diamond}%
}%
\def\emptysetSign#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{emptyset}%
}%
\def\section#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\S}\else\string#1\fi}%
}%
\def\epsilon#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{varepsilon}%
}%
\def\equiv#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{equiv}%
}%
\def\ellipsis#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{...}\else\string#1\fi}%
}%
\def\exclamdown#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"BD{}\else\string#1\fi}%
}%
\def\ordfeminine#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\@Sup{\b{a}}\else\string#1\fi}%
}%
\def\geq#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{geq}%
}%
\def\Gamma#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Gamma}%
}%
\def\infty#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{infty}%
}%
\def\leq#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{leq}%
}%
\def\emdash#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{---}\else\string#1\fi}%
}%
\def\ordmasculine#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\@Sup{\b{o}}\else\string#1\fi}%
}%
\def\mu#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{mu}%
}%
\def\neg#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{neg}%
}%
\def\neq#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{neq}%
}%
\def\unbreakablespace#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR~\else\string#1\fi}%
}%
\def\Omega#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Omega}%
}%
\def\OneHalf#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Fraction{1}{2}}\else\string#1\fi}%
}%
\def\OneQuarter#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Fraction{1}{4}}\else\string#1\fi}%
}%
\def\guilletmotleft#1#2#3{%
\@UC{#1}{#2}{#3}%
% a small space is added after the opening guillemot
% and the pre-existing space is removed
\gdef#1{\ifTR\char"13\unskip\@InMath{,}\else\string#1\fi}%
}%
\def\Pi#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Pi}%
}%
\def\pi#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{pi}%
}%
\def\pm#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{pm}%
}%
\def\ParagraphSign#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\P}\else\string#1\fi}%
}%
\def\partial#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{partial}%
}%
\def\Phi#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Phi}%
}%
\def\pounds#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"BF{}\else\string#1\fi}%
}%
\def\powerone#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Sup{1}}\else\string#1\fi}%
}%
\def\powerthree#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Sup{3}}\else\string#1\fi}%
}%
\def\powertwo#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Sup{2}}\else\string#1\fi}%
}%
\def\questiondown#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\char"BE{}\else\string#1\fi}%
}%
\def\register#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in DC
}%
\def\Sigma#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Sigma}%
}%
\def\sigma#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{sigma}%
}%
\def\quoteright#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{'}\else\string#1\fi}%
}%
\def\quoteleft#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{`}\else\string#1\fi}%
}%
\def\splitbar#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in DC
}%
\def\tau#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{tau}%
}%
\def\ThetaSign#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{Theta}%
}%
\def\threequarter#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\@Fraction{3}{4}}\else\string#1\fi}%
}%
\def\times#1#2#3{%
\@UC{#1}{#2}{#3}%
\@MathSymbol{#1}{times}%
}%
\def\trademark#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR\@Sup{TM}\else\string#1\fi}%
}%
\def\quotedblright#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{''}\else\string#1\fi}%
}%
\def\quotedblleft#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{``}\else\string#1\fi}%
}%
\def\yen#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in DC
}%
\def\perthousand#1#2#3{%
\@UC{#1}{#2}{#3}%
% no definition in DC
}%
\def\florin#1#2#3{%
\@UC{#1}{#2}{#3}%
\gdef#1{\ifTR{\it f}\else\string#1\fi}%
}%
\catcode`\@=\atcatcode \let\atcatcode\relax
%
%</shapedc>
% \end{macrocode}
%
% \subsection{Table for the code page 850 (file:
% \Fich{code850.tex})\label{HYPHEN}}
% This file contains code to set up the table to convert the
% code page 850 to
% the DC or Cm encoding scheme (depending on the value of global
% variable \Comm{CurrentEncoding}). This file should be moved into
% \TeX's
% memory with an \Comm{input} command and all the characters above 127
% should be active before the call to the \Comm{input} command.
%
%Some normal unaccented character should be made active, just for the case
%where the \Comm{uppercase} command is used with lowercase accented character which don't
%have uppercase accented equivalent (the normal unaccented character is used).
%
%Since the \Comm{uppercase} or \Comm{lowercase} command doesn't change the catcode,
%the resulting character will have the catcode \Comm{active} (since all the characters
%above 127 are active). Thus a macro should exist !
% \begin{macrocode}
%<*codepage850>
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
{%
\catcode`\Y=\active
\gdef Y{\string Y}%
}%
% \end{macrocode}
% All the characters are assigned to a default value (each character issue a message telling it
% could not be drawn with \TeX{} commands) and a group is started (in effect
% when the file \Fich{code850.tex} is read)
% to limit the scope of macros created by the inputting
% of files \Fich{shapecm} or \Fich{shapedc}. These macros
% are used just for setting the tables and never useful
% after that.
% \begin{macrocode}
\begingroup
\input initcar %
\ifcase\CurrentEncoding
\input shapecm %
\or
\input shapedc %
\fi
\Ccedilla{^^80}{"80}{"87}%
\udieresis{^^81}{"9A}{"81}%
\eacute{^^82}{"90}{"82}%
\acircumflex{^^83}{"B6}{"83}%
\adieresis{^^84}{"8E}{"84}%
\agrave{^^85}{"B7}{"85}%
\aring{^^86}{"8F}{"86}%
\ccedilla{^^87}{"80}{"87}%
\ecircumflex{^^88}{"D2}{"88}%
\edieresis{^^89}{"D3}{"89}%
\egrave{^^8a}{"D4}{"8A}%
\idieresis{^^8b}{"D8}{"8B}%
\icircumflex{^^8c}{"D7}{"8C}%
\igrave{^^8d}{"DE}{"8D}%
\Adieresis{^^8e}{"8E}{"84}%
\Aring{^^8f}{"8F}{"86}%
\Eacute{^^90}{"90}{"82}%
\ae{^^91}{"92}{"91}%
\AE{^^92}{"92}{"91}%
\ocircumflex{^^93}{"E2}{"93}%
\odieresis{^^94}{"99}{"94}%
\ograve{^^95}{"E3}{"95}%
\ucircumflex{^^96}{"EA}{"96}%
\ugrave{^^97}{"EB}{"97}%
\ydieresis{^^98}{"59}{"98}%
\Odieresis{^^99}{"99}{"94}%
\Udieresis{^^9a}{"9A}{"81}%
\oslash{^^9b}{"9D}{"9B}%
\pounds{^^9c}{"9C}{"9C}%
\Oslash{^^9d}{"9D}{"9B}%
\times{^^9e}{"9E}{"9E}%
\florin{^^9f}{"9F}{"9F}%
\aacute{^^a0}{"B5}{"A0}%
\iacute{^^a1}{"D6}{"A1}%
\oacute{^^a2}{"E0}{"A2}%
\uacute{^^a3}{"E9}{"A3}%
\ntilde{^^a4}{"A5}{"A4}%
\Ntilde{^^a5}{"A5}{"A4}%
\ordfeminine{^^a6}{"A6}{"A6}%
\ordmasculine{^^a7}{"A7}{"A7}%
\questiondown{^^a8}{"A8}{"A8}%
\register{^^a9}{"A9}{"A9}%
\neg{^^aa}{"AA}{"AA}%
\OneHalf{^^ab}{"AB}{"AB}%
\OneQuarter{^^ac}{"AC}{"AC}%
\exclamdown{^^ad}{"AD}{"AD}%
\guilletmotleft{^^ae}{"AE}{"AE}%
\guillemeotright{^^af}{"AF}{"AF}%
\Aacute{^^b5}{"B5}{"A0}%
\Acircumflex{^^b6}{"B6}{"83}%
\Agrave{^^b7}{"B7}{"85}%
\copyright{^^b8}{"B8}{"B8}%
\cent{^^bd}{"BD}{"BD}%
\yen{^^be}{"BE}{"BE}%
\atilde{^^c6}{"C7}{"C6}%
\Atilde{^^c7}{"C7}{"C6}%
\currency{^^cf}{"CF}{"CF}%
\dBar{^^d0}{"D1}{"D0}%
\DBar{^^d1}{"D1}{"D0}%
\Ecircumflex{^^d2}{"D2}{"88}%
\Edieresis{^^d3}{"D3}{"89}%
\Egrave{^^d4}{"D4}{"8A}%
\powerone{^^d5}{"D5}{"D5}%
\Iacute{^^d6}{"D6}{"A1}%
\Icircumflex{^^d7}{"D7}{"8C}%
\Idieresis{^^d8}{"D8}{"8B}%
\splitbar{^^dd}{"DD}{"DD}%
\Igrave{^^de}{"DE}{"8D}%
\Oacute{^^e0}{"E0}{"A2}%
\beta{^^e1}{"E1}{"E1}%
\Ocircumflex{^^e2}{"E2}{"93}%
\Ograve{^^e3}{"E3}{"95}%
\otilde{^^e4}{"E5}{"E4}%
\Otilde{^^e5}{"E5}{"E4}%
\mu{^^e6}{"E6}{"E6}%
\thorn{^^e7}{"E8}{"E7}%
\Thorn{^^e8}{"E8}{"E7}%
\Uacute{^^e9}{"E9}{"A3}%
\Ucircumflex{^^ea}{"EA}{"96}%
\Ugrave{^^eb}{"EB}{"97}%
\yacute{^^ec}{"ED}{"EC}%
\Yacute{^^ed}{"ED}{"EC}%
\pm{^^f1}{"F1}{"F1}%
\threequarter{^^f3}{"F3}{"F3}%
\ParagraphSign{^^f4}{"F4}{"F4}%
\section{^^f5}{"F5}{"F5}%
\div{^^f6}{"F6}{"F6}%
\cedilla{^^f7}{"F7}{"F7}%
\degree{^^f8}{"F8}{"F8}%
\dieresis{^^f9}{"F9}{"F9}%
\bullet{^^fa}{"FA}{"FA}%
\powerone{^^fb}{"FB}{"FB}%
\powerthree{^^fc}{"FC}{"FC}%
\powertwo{^^fd}{"FD}{"FD}%
\endgroup
% \end{macrocode}
%
% \DescribeMacro{\@MakeHyphenation850}
%\Comm{@MakeHyphenationEightFiveZero} prepare a letter given as parameter
%to do a letter for hyphenation exception.
%
% The algorithm to build the exception hyphenation pattern put all the characters
% to lower case before setting up the hyphenation tables. When a string should be broken
% it is transformed in lowercase and then compared with the hyphenation pattern.
%
% Since these two transformations are performed on two different characters (the first, before
% a character from a code page was translated, the second after), a match could never occur.
%
% The aim of this macro is to adapt the value of the \Comm{lccode} of a character to be used
% in the \Comm{hyphenation} to permit a match when this character will be translated in something
% else.
%
%\textbf{Examples:}\\
% ``e grave'' (character hexa 8a) in code page 850 will be translated in \textsc{Dc}
% encoding scheme to character hexa (E8). In code page 850,
% the character hexa
% E8 will have a lowercase character hexa E7 (in code page 850). When the translated
% character ``e grave'' will be put in lowercase, his value will be hexa E7.
% From that we can deduce that to
% use \Comm{hyphenation} with ``e grave'' (character hexa 8a in code page 850), ``e grave'' should
% have \Comm{lccode="E7}.
%
% ``n tilde'' (character hexa A4 in code page 850) will be translated
% to character hexa F1 in \textsc{Dc} encoding. Character hexa F1 in code page
% 850 is ``plus-minus'' sign which has lowercase hexa F1 thus
% the \Comm{lccode} for ``n tilde'' for use with the \Comm{hyphenation} command
% should be hexa F1.
%
% This macro is meaningless with the \textsc{Cm} encoding !
% \begin{macrocode}
\ifnum\CurrentEncoding=\DC\relax
\def\@MakeHyphenationEightFiveZero#1{%
\catcode`#1=12% make character given in parameter other which is
% a legal catcode for \hyphenation
\ifnum`#1="80
%C cedilla translated in DC encoding to "D7 (which is A tilde)
%with a tilde ("d6) as lowercase
\lccode`#1="D6%
\else\ifnum`#1="81
%u dieresis --> "FC
\lccode`#1="FC%
\else\ifnum`#1="82
%e acute --> "E9 (U acute) --> u acute
\lccode`#1="A3%
\else\ifnum`#1="83
%a circumflex --> "E2 O circumflex --> o circumflex
\lccode`#1="93%
\else\ifnum`#1="84
%a dieresis --> "E4 o tilde
\lccode`#1="E4%
\@ConflictHyphenCarMsg{a dieresis ("84)}{a ring ("86)}
\else\ifnum`#1="85
%a grave --> "E O acute --> "A2 (o acute in code page 850)
\lccode`#1="A2%
\else\ifnum`#1="86
%a ring --> "E5 O tilde --> "E4
\lccode`#1="E4%
\@ConflictHyphenCarMsg{a ring ("86)}{a dieresis ("84)}
\else\ifnum`#1="87
%c cedilla --> "E7 --> "E7
\lccode`#1="E7%
\@ConflictHyphenCarMsg{c cedilla ("87)}{e grave ("8A)}
\else\ifnum`#1="88
%e circumflex --> "EA (U circumflex ---> "96
\lccode`#1="96%
\else\ifnum`#1="89
%e dieresis --> "EB U grave --> "97
\lccode`#1="97%
\else\ifnum`#1="8A
%e grave --> "E8 Thorn --> "E7
\lccode`#1="E7%
\@ConflictHyphenCarMsg{e grave ("8A)}{c cedilla ("87)}
\else\ifnum`#1="8B
%i dieresis --> "EF (acute accent)
\lccode`#1="EF%
\else\ifnum`#1="8C
%i circumflex --> "EE (BAR Accent)
\lccode`#1="EE%
\else\ifnum`#1="8D
%i grave --> "EC (y acute)
\lccode`#1="EC%
\@ConflictHyphenCarMsg{i grave ("8D)}{i acute ("A1)}
\else\ifnum`#1="8E
%A dieresis --> "C4 (semi graphical character)
\lccode`#1="C4%
\else\ifnum`#1="8F
%A ring --> "C5 (semi graphical character)
\lccode`#1="C5%
\else\ifnum`#1="90
%E acute --> "C9 (semi graphical character)
\lccode`#1="C9%
\else\ifnum`#1="91
%ae ligature --> "E6 (mu sign)
\lccode`#1="E6%
\else\ifnum`#1="92
%AE ligature --> "C6 (a tilde)
\lccode`#1="C6%
\else\ifnum`#1="93
%o circumflex --> "F4 (Paragraph Sign)
\lccode`#1="F4%
\else\ifnum`#1="94
%o dieresis --> "F6 (divide sign)
\lccode`#1="F6%
\else\ifnum`#1="95
%O grave --> "F2 (equal sign)
\lccode`#1="F2%
\else\ifnum`#1="96
%u circumflex --> "FB (Power one sign)
\lccode`#1="FB%
\else\ifnum`#1="97
%u grave --> "F9 (dieresis accent)
\lccode`#1="F9%
\else\ifnum`#1="98
%y dieresis --> "B8 (Copyright sign)
\lccode`#1="B8%
\else\ifnum`#1="99
%O dieresis --> "D6 (I acute) --> i acute
\lccode`#1="A1%
\else\ifnum`#1="9A
%U dieresis --> "DC (semi graphical sign)
\lccode`#1="DC%
\else\ifnum`#1="9B
%o slash --> "F8 (Degree sign)
\lccode`#1="F8%
\else\ifnum`#1="9D
%O slash --> "D8 (I dieresis) --> i dieresis
\lccode`#1="8B%
\else\ifnum`#1="A0
%a acute --> "E1 (Beta sign)
\lccode`#1="E1%
\else\ifnum`#1="A1
%i acute --> "ED (Y acute) --> y acute
\lccode`#1="EC%
\@ConflictHyphenCarMsg{i acute ("A1)}{i grave ("8D)}
\else\ifnum`#1="A2
%o acute --> "F3 (three quarter sign)
\lccode`#1="F3%
\else\ifnum`#1="A3
%u acute --> "FA (Bullet sign)
\lccode`#1="FA%
\else\ifnum`#1="A4
%n tilde --> "F1 (Plus minus sign)
\lccode`#1="F1%
\else\ifnum`#1="A5
%N tilde --> "D1 (D bar) --> d bar
\lccode`#1="D0%
\@ConflictHyphenCarMsg{N tilde ("A5)}{D bar ("D1)}
\else\ifnum`#1="B5
%A acute --> "C1 (semi graphical sign)
\lccode`#1="C1%
\else\ifnum`#1="B6
%A circumflex --> "C2 (semi graphical sign)
\lccode`#1="C2%
\else\ifnum`#1="B7
%A grave --> "C0 (Semi graphical sign)
\lccode`#1="C0%
\else\ifnum`#1="D0
%d bar --> "F0 (minus sign)
\lccode`#1="F0%
\else\ifnum`#1="D1
%D bar --> "D0 (d bar)
\lccode`#1="D0%
\@ConflictHyphenCarMsg{D bar ("D1)}{N tilde ("A5}
\else\ifnum`#1="D2
%E circumflex --> "CA (semi-graphical sign)
\lccode`#1="CA%
\else\ifnum`#1="D3
%E dieresis --> "CB (semi graphical sign)
\lccode`#1="CB%
\else\ifnum`#1="D4
%E grave --> "C8 (semi graphical sign)
\lccode`#1="C8%
\else\ifnum`#1="D6
%I acute --> "CD (semi graphical sign)
\lccode`#1="CD%
\else\ifnum`#1="D7
%I circumflex --> "CE (semi-graphical sign)
\lccode`#1="CE%
\else\ifnum`#1="D8
%I dieresis --> "CF (currency sign)
\lccode`#1="CF%
\else\ifnum`#1="E0
%O acute --> "D3 (E dieresis) --> e dieresis
\lccode`#1="89%
\else\ifnum`#1="E2
%O circumflex --> "D4 (E grave) --> e grave
\lccode`#1="8A%
\else\ifnum`#1="E3
%O grave --> "D2 (E circumflex) --> e circumflex
\lccode`#1="88%
\else\ifnum`#1="E4
%o tilde --> "F5 (End of flow sign)
\lccode`#1="F5%
\else\ifnum`#1="E5
%O tilde --> "D5 (Power One sign)
\lccode`#1="D5%
\else\ifnum`#1="E7
%thorn --> "FE (semi graphical sign)
\lccode`#1="FE%
\else\ifnum`#1="E8
%P like letter --> "DE (I acute) --> i acute
\lccode`#1="8D%
\else\ifnum`#1="E9
%U acute --> "DA (semi graphical sign)
\lccode`#1="DA%
\else\ifnum`#1="EA
%U circumflex --> "DB (semi graphical sign)
\lccode`#1="DB%
\else\ifnum`#1="EB
%U grave --> "D9 (semi graphical sign)
\lccode`#1="D9%
\else\ifnum`#1="EC
%y acute --> "FD (Power two sign)
\lccode`#1="FD%
\else\ifnum`#1="ED
%Y acute --> "DD (Slit vertical bar sign)
\lccode`#1="DD%
\else
%we don't have a letter (a character to form word)
\@BadHyphenCarMsg{#1}
\catcode`#1=15% make this character invalid
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi
% We must have same count of \fi than \ifnum (58)
}%\@MakeHyphenationEightFiveZero
\fi % \ifx\CurrentEncoding...
\catcode`\@=\atcatcode \let\atcatcode\relax
%</codepage850>
% \end{macrocode}
% \subsection{Table for the code page 437 (file: \Fich{code437.tex})}
% \DescribeMacro{\@FourThreeSeven}
% \begin{macrocode}
%<*codepage437>
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
\begingroup
\catcode`\A=\active
\catcode`\E=\active
\catcode`\I=\active
\catcode`\O=\active
\catcode`\U=\active
\catcode`\Y=\active
\gdef A{\string A}%
\gdef E{\string E}%
\gdef I{\string I}%
\gdef O{\string O}%
\gdef U{\string U}%
\gdef Y{\string Y}%
\endgroup
\input initcar %
\begingroup
\ifcase\CurrentEncoding
\input shapecm %
\or
\input shapedc %
\fi
\Ccedilla{^^80}{"80}{"87}%
\Adieresis{^^8e}{"8E}{"84}%
\Aring{^^8f}{"8F}{"86}%
\Eacute{^^90}{"90}{"82}%
\AE{^^92}{"92}{"91}%
\Odieresis{^^99}{"99}{"94}%
\Udieresis{^^9a}{"9A}{"81}%
\Ntilde{^^a5}{"A5}{"A4}%
\udieresis{^^81}{"9A}{"81}%
\eacute{^^82}{"90}{"82}%
\acircumflex{^^83}{"41}{"83}%
\adieresis{^^84}{"8E}{"84}%
\agrave{^^85}{"41}{"85}%
\aring{^^86}{"8F}{"86}%
\ccedilla{^^87}{"80}{"87}%
\ecircumflex{^^88}{"45}{"88}%
\edieresis{^^89}{"45}{"89}%
\egrave{^^8a}{"45}{"8A}%
\idieresis{^^8b}{"49}{"8B}%
\icircumflex{^^8c}{"49}{"8C}%
\igrave{^^8d}{"49}{"8D}%
\ae{^^91}{"92}{"91}%
\ocircumflex{^^93}{"4F}{"93}%
\odieresis{^^94}{"99}{"94}%
\ograve{^^95}{"4F}{"95}%
\ucircumflex{^^96}{"55}{"96}%
\ugrave{^^97}{"55}{"97}%
\ydieresis{^^98}{"59}{"98}%
\pounds{^^9c}{"9C}{"9C}%
\florin{^^9f}{"9F}{"9F}%
\aacute{^^a0}{"41}{"A0}%
\iacute{^^a1}{"49}{"A1}%
\oacute{^^a2}{"4F}{"A2}%
\uacute{^^a3}{"55}{"A3}%
\ntilde{^^a4}{"A5}{"A4}%
\questiondown{^^a8}{"A8}{"A8}%
\exclamdown{^^ad}{"AD}{"AD}%
\guilletmotleft{^^ae}{"AE}{"AE}%
\guillemeotright{^^af}{"AF}{"AF}%
\alpha{^^e0}{"E0}{"E0}%
\beta{^^e1}{"E1}{"E1}%
\Gamma{^^e2}{"E2}{"E2}%
\pi{^^e3}{"E3}{"E3}%
\Sigma{^^e4}{"E4}{"E4}%
\sigma{^^e5}{"E5}{"E5}%
\mu{^^e6}{"E6}{"E6}%
\tau{^^e7}{"E7}{"E7}%
\Phi{^^e8}{"E8}{"E8}%
\ThetaSign{^^e9}{"E9}{"E9}%
\Omega{^^ea}{"EA}{"EA}%
\delta{^^eb}{"EB}{"EB}%
\infty{^^ec}{"EC}{"EC}%
\emptysetSign{^^ed}{"ED}{"ED}%
\epsilon{^^ee}{"EE}{"EE}%
\cap{^^ef}{"EF}{"EF}%
\equiv{^^f0}{"F0}{"F0}%
\pm{^^f1}{"F1}{"F1}%
\geq{^^f2}{"F2}{"F2}%
\leq{^^f3}{"F3}{"F3}%
\div{^^f6}{"F6}{"F6}%
\approx{^^f7}{"F7}{"F7}%
\bullet{^^f9}{"F9}{"F9}%
\endgroup
% \end{macrocode}
% \DescribeMacro{\@MakeHyphenation437}
% \begin{macrocode}
\ifnum\CurrentEncoding=\DC\relax
\def\@MakeHyphenationFourThreeSeven#1{%
\catcode`#1=12%
\ifnum`#1="80
% C cedilla translated in DC encoding to "D7 (which is a semi graphical
% sign in code page 437)
\lccode`#1="D7%
\else\ifnum`#1="81
%u dieresis --> "FC
\lccode`#1="FC%
\else\ifnum`#1="82
%e acute --> "E9 (Theta sign)
\lccode`#1="E9%
\else\ifnum`#1="83
%a circumflex --> "E2 (Gamma sign)
\lccode`#1="E2%
\else\ifnum`#1="84
%a dieresis --> "E4 o tilde
\lccode`#1="E4%
\else\ifnum`#1="85
%a grave --> "E0 (alpha sign)
\lccode`#1="E0%
\else\ifnum`#1="86
%a ring --> "E5 (sigma sign)
\lccode`#1="E5%
\else\ifnum`#1="87
%c cedilla --> "E7 (tau sign)
\lccode`#1="E7%
\else\ifnum`#1="88
%e circumflex --> "EA (Omega sign)
\lccode`#1="EA%
\else\ifnum`#1="89
%e dieresis --> "EB (delta sign)
\lccode`#1="EB%
\else\ifnum`#1="8A
%e grave --> "E8 (Phi sign)
\lccode`#1="E8%
\else\ifnum`#1="8B
%i dieresis --> "EF (set intersection sign)
\lccode`#1="EF%
\else\ifnum`#1="8C
%i circumflex --> "EE (epsilon sign)
\lccode`#1="EE%
\else\ifnum`#1="8D
%i grave --> "EC (infinity sign)
\lccode`#1="EC%
\else\ifnum`#1="8E
%A dieresis --> "C4 (semi graphical character)
\lccode`#1="C4%
\else\ifnum`#1="8F
%A ring --> "C5 (semi graphical character)
\lccode`#1="C5%
\else\ifnum`#1="90
%E acute --> "C9 (semi graphical character)
\lccode`#1="C9%
\else\ifnum`#1="91
%ae ligature --> "E6 (mu sign)
\lccode`#1="E6%
\else\ifnum`#1="92
%AE ligature --> "C6 (semi graphical character)
\lccode`#1="C6%
\else\ifnum`#1="93
%o circumflex --> "F4 (upper part of integral sign)
\lccode`#1="F4%
\else\ifnum`#1="94
%o dieresis --> "F6 (divide sign)
\lccode`#1="F6%
\else\ifnum`#1="95
%O grave --> "F2 (greater or equal sign)
\lccode`#1="F2%
\else\ifnum`#1="96
%u circumflex --> "FB (square sign)
\lccode`#1="FB%
\else\ifnum`#1="97
%u grave --> "F9 (big bullet sign)
\lccode`#1="F9%
\else\ifnum`#1="98
%y dieresis --> "B8 (semi graphical character)
\lccode`#1="B8%
\else\ifnum`#1="99
%O dieresis --> "D6 (semi graphical character)
\lccode`#1="D6%
\else\ifnum`#1="9A
%U dieresis --> "DC (semi graphical sign)
\lccode`#1="DC%
\else\ifnum`#1="A0
%a acute --> "E1 (Beta sign)
\lccode`#1="E1%
\else\ifnum`#1="A1
%i acute --> "ED (empty set sign)
\lccode`#1="ED%
\else\ifnum`#1="A2
%o acute --> "F3 (less or equal sign)
\lccode`#1="F3%
\else\ifnum`#1="A3
%u acute --> "FA (Bullet sign)
\lccode`#1="FA%
\else\ifnum`#1="A4
%n tilde --> "F1 (Plus minus sign)
\lccode`#1="F1%
\else\ifnum`#1="A5
%N tilde --> "D1 (semi graphical character)
\lccode`#1="D1%
\else
%we don't have a letter (a character to form word)
\@BadHyphenCarMsg{#1}
\catcode`#1=15% make this character invalid
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi
% We must have same count of \fi than \ifnum (33)
}%
\fi %\ifx\CurrentEncoding...
\catcode`\@=\atcatcode \let\atcatcode\relax
%</codepage437>
% \end{macrocode}
% \subsection{Table for the code page of {\normalfont\textsc{Mc Intosh}} (file: \Fich{codemac.tex})}
% \DescribeMacro{\@CodeMac}
% \begin{macrocode}
%<*codepagemac>
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
{%
\catcode`\Y=\active
\gdef Y{\string Y}%
}%
\begingroup
\input initcar %
\ifcase\CurrentEncoding
\input shapecm %
\or
\input shapedc %
\fi
\Adieresis{^^80}{"80}{"8A}%
\Aring{^^81}{"81}{"8C}%
\Ccedilla{^^82}{"82}{"8D}%
\Eacute{^^83}{"83}{"8E}%
\Ntilde{^^84}{"84}{"96}%
\Odieresis{^^85}{"85}{"9A}%
\Udieresis{^^86}{"86}{"9F}%
\aacute{^^87}{"E7}{"87}%
\agrave{^^88}{"CB}{"88}%
\acircumflex{^^89}{"E5}{"89}%
\adieresis{^^8a}{"80}{"8A}%
\atilde{^^8b}{"CC}{"8B}%
\aring{^^8c}{"81}{"8C}%
\ccedilla{^^8d}{"82}{"8D}%
\eacute{^^8e}{"83}{"8E}%
\egrave{^^8f}{"E9}{"8F}%
\ecircumflex{^^90}{"E6}{"90}%
\edieresis{^^91}{"E8}{"91}%
\iacute{^^92}{"EA}{"92}%
\igrave{^^93}{"ED}{"93}%
\icircumflex{^^94}{"EB}{"94}%
\idieresis{^^95}{"EC}{"95}%
\ntilde{^^96}{"84}{"96}%
\oacute{^^97}{"EE}{"97}%
\ograve{^^98}{"F1}{"98}%
\ocircumflex{^^99}{"EF}{"99}%
\odieresis{^^9a}{"85}{"9A}%
\otilde{^^9b}{"CD}{"9B}%
\uacute{^^9c}{"F2}{"9C}%
\ugrave{^^9d}{"F4}{"9D}%
\ucircumflex{^^9e}{"F3}{"9E}%
\udieresis{^^9f}{"86}{"9F}%
\dag{^^a0}{"A0}{"A0}%
\degree{^^a1}{"A1}{"A1}%
\cent{^^a2}{"A2}{"A2}%
\pounds{^^a3}{"A3}{"A3}%
\section{^^a4}{"A4}{"A4}%
\bullet{^^a5}{"A5}{"A5}%
\ParagraphSign{^^a6}{"A6}{"A6}%
\beta{^^a7}{"A7}{"A7}%
\register{^^a8}{"A8}{"A8}%
\copyright{^^a9}{"A9}{"A9}%
\trademark{^^aa}{"AA}{"AA}%
\acute{^^ab}{"AB}{"AB}%
\dieresis{^^ac}{"AC}{"AC}%
\neq{^^ad}{"AD}{"AD}%
\AE{^^ae}{"AE}{"BE}%
\Oslash{^^af}{"AF}{"BF}%
\pm{^^b1}{"B1}{"B1}%
\leq{^^b2}{"B2}{"B2}%
\geq{^^b3}{"B3}{"B3}%
\yen{^^b4}{"B4}{"B4}%
\mu{^^b5}{"B5}{"B5}%
\delta{^^b6}{"B6}{"B6}%
\Sigma{^^b7}{"B7}{"B7}%
\Pi{^^b8}{"B8}{"B8}%
\pi{^^b9}{"B9}{"B9}%
\florin{^^ba}{"BA}{"BA}%
\ordfeminine{^^bb}{"BB}{"BB}%
\ordmasculine{^^bc}{"BC}{"BC}%
\Omega{^^bd}{"BD}{"BD}%
\ae{^^be}{"AE}{"BE}%
\oslash{^^bf}{"AF}{"BF}%
\questiondown{^^c0}{"C0}{"C0}%
\exclamdown{^^c1}{"C1}{"C1}%
\neg{^^c2}{"C2}{"C2}%
\approx{^^c5}{"C5}{"C5}%
\partial{^^c6}{"C6}{"C6}%
\guilletmotleft{^^c7}{"C7}{"C7}%
\guillemeotright{^^c8}{"C8}{"C8}%
\ellipsis{^^c9}{"C9}{"C9}%
\unbreakablespace{^^ca}{"CA}{"CA}%
\Agrave{^^cb}{"CB}{"88}%
\Atilde{^^cc}{"CC}{"8B}%
\Otilde{^^cd}{"CD}{"9B}%
\OE{^^ce}{"CE}{"CF}%
\oe{^^cf}{"CE}{"CF}%
\emdash{^^d1}{"D1}{"D1}%
\quotedblleft{^^d2}{"D2}{"D2}%
\quotedblright{^^d3}{"D3}{"D3}%
\quoteleft{^^d4}{"D4}{"D4}%
\quoteright{^^d5}{"D5}{"D5}%
\div{^^d6}{"D6}{"D6}%
\diamond{^^d7}{"D7}{"D7}%
\ydieresis{^^d8}{"D9}{"D8}%
\Ydieresis{^^d9}{"D9}{"D8}%
\currency{^^db}{"DB}{"DB}%
\fiLigature{^^de}{"DE}{"DE}%
\flLigature{^^df}{"DF}{"DF}%
\ddag{^^e0}{"E0}{"E0}%
\cedilla{^^e2}{"E2}{"E2}%
\perthousand{^^e4}{"E4}{"E4}%
\Acircumflex{^^e5}{"E5}{"89}%
\Ecircumflex{^^e6}{"E6}{"90}%
\Aacute{^^e7}{"E7}{"87}%
\Edieresis{^^e8}{"E8}{"91}%
\Egrave{^^e9}{"E9}{"8F}%
\Iacute{^^ea}{"EA}{"92}%
\Icircumflex{^^eb}{"EB}{"94}%
\Idieresis{^^ec}{"EC}{"95}%
\Igrave{^^ed}{"ED}{"93}%
\Oacute{^^ee}{"EE}{"97}%
\Ocircumflex{^^ef}{"EF}{"99}%
\Ograve{^^f1}{"F1}{"98}%
\Uacute{^^f2}{"F2}{"9C}%
\Ucircumflex{^^f3}{"F3}{"9E}%
\Ugrave{^^f4}{"F4}{"9D}%
\powerone{^^f5}{"F5}{"F5}%
\endgroup
% \end{macrocode}
%
% \DescribeMacro{\@MakeHyphenationMac}
% \begin{macrocode}
\ifnum\CurrentEncoding=\DC\relax
\def\@MakeHyphenationMac#1{%
\catcode`#1=12%Legal value for \hyphenation
\ifnum`#1="80
% A dieresis --> C4 (graphical symbol)
\lccode`#1="C4%
\else\ifnum`#1="81
%A ring --> "C5 (approx sign)
\lccode`#1="C5%
\else\ifnum`#1="82
%C cedilla --> "C7 (french opening guillemet)
\lccode`#1="C7%
\else\ifnum`#1="83
%E acute --> "C9 (three dot sign)
\lccode`#1="C9%
\else\ifnum`#1="84
%N tilde --> "D1 (long dash)
\lccode`#1="D1%
\else\ifnum`#1="85
%O dieresis --> "D6 (divide sign)
\lccode`#1="D6%
\else\ifnum`#1="86
%U dieresis --> "DC (graphical symbol)
\lccode`#1="DC%
\else\ifnum`#1="87
%a acute --> "E1 (graphical symbol)
\lccode`#1="E1%
\else\ifnum`#1="88
%a grave --> "E0 (double dag sign)
\lccode`#1="E0%
\else\ifnum`#1="89
%a circumflex --> "E2 (cedilla accent)
\lccode`#1="E2%
\else\ifnum`#1="8A
%a dieresis --> "E4 (graphical symbol)
\lccode`#1="E4%
\else\ifnum`#1="8B
%a tilde --> "E3 (graphical symbol)
\lccode`#1="E3%
\else\ifnum`#1="8C
%a ring --> "E5 (A circumflex) --> a circumflex
\lccode`#1="89%
\else\ifnum`#1="8D
%c cedilla --> "E7 (A acute) --> a acute
\lccode`#1="87%
\else\ifnum`#1="8E
%e acute --> "E9 (E grave) --> e grave
\lccode`#1="8F%
\else\ifnum`#1="8F
%e grave --> "E8 (E dieresis) --> e dieresis
\lccode`#1="91%
\else\ifnum`#1="90
%e circumflex --> "EA (I acute) --> i acute
\lccode`#1="92%
\else\ifnum`#1="91
%e dieresis --> "EB (I circumflex) --> i circumflex
\lccode`#1="94%
\else\ifnum`#1="92
%i acute --> "ED (I grave) --> i grave
\lccode`#1="93%
\else\ifnum`#1="93
%i grave --> "EC (I dieresis) --> i dieresis
\lccode`#1="95%
\else\ifnum`#1="94
%i circumflex --> "EE (O acute) --> o acute
\lccode`#1="97%
\else\ifnum`#1="95
%i dieresis --> "EF (O circumflex) --> o circumflex
\lccode`#1="99%
\else\ifnum`#1="96
%n tilde --> "F1 (O grave) --> o grave
\lccode`#1="98%
\else\ifnum`#1="97
%o acute --> "F3 (U circumflex) --> u circumflex
\lccode`#1="9E%
\else\ifnum`#1="98
%o grave --> "F2 (U acute) --> u acute
\lccode`#1="9C%
\else\ifnum`#1="99
%o circumflex --> "F4 (U grave) --> u grave
\lccode`#1="9D%
\else\ifnum`#1="9A
%o dieresis --> "F6 (graphical sign)
\lccode`#1="F6%
\else\ifnum`#1="9B
%o tilde --> "F5 (power one sign)
\lccode`#1="F5%
\else\ifnum`#1="9C
%u acute --> "FA (graphical sign)
\lccode`#1="FA%
\else\ifnum`#1="9D
%u grave --> "F9 (graphical sign)
\lccode`#1="F9%
\else\ifnum`#1="9E
%u circumflex --> "FB (graphical sign)
\lccode`#1="FB%
\else\ifnum`#1="9F
%u dieresis --> "FC (graphical sign)
\lccode`#1="FC%
\else\ifnum`#1="AE
%AE ligature --> "C6 (differential sign)
\lccode`#1="C6%
\else\ifnum`#1="BE
%ae ligature --> "E6 (E circumflex) --> e circumflex
\lccode`#1="90%
\else\ifnum`#1="CB
%A grave --> "C0 (Interrogation down sign)
\lccode`#1="C0%
\else\ifnum`#1="CC
%A tilde --> "C3 (graphical sign)
\lccode`#1="C3%
\else\ifnum`#1="CD
%O tilde --> "D5 (closing american quote)
\lccode`#1="D5%
\else\ifnum`#1="CE
%OE ligature --> "D7 (diamond sign)
\lccode`#1="D7%
\else\ifnum`#1="CF
%oe ligature --> "F7 (graphical sign)
\lccode`#1="F7%
\else\ifnum`#1="D8
%y dieresis --> "B8 (Pi sign)
\lccode`#1="B8%
\else\ifnum`#1="E5
%A circumflex --> "C2 (neg sign)
\lccode`#1="C2%
\else\ifnum`#1="E6
%E circumflex --> "CA (graphical sign)
\lccode`#1="CA%
\else\ifnum`#1="E7
%A acute --> "C1 (Exclam down sign)
\lccode`#1="C1%
\else\ifnum`#1="E8
%E dieresis --> "CB (A acute) --> a acute
\lccode`#1="88%
\else\ifnum`#1="E9
%E grave --> "C8 (closing french guillemet)
\lccode`#1="C8%
\else\ifnum`#1="EA
%I acute --> "CD (O tilde) --> o tilde
\lccode`#1="9B%
\else\ifnum`#1="EB
%I circumflex --> "CE (OE ligature) --> oe ligature
\lccode`#1="EF%
\@ConflictHyphenCarMsg{I circumflex ("EB)}{I dieresis ("EC)}%
\else\ifnum`#1="EC
%I dieresis --> "CF (oe ligature)
\lccode`#1="EF%
\@ConflictHyphenCarMsg{I dieresis ("EC)}{I circumflex ("EB)}%
\else\ifnum`#1="ED
%I acute --> "CC (A tilde) --> a tilde
\lccode`#1="8B%
\else\ifnum`#1="EE%
%O acute --> "D3 (closing us guillemet)
\lccode`#1="D3%
\else\ifnum`#1="EF%
%O circumflex --> "D4 (opening quote)
\lccode`#1="D4%
\else\ifnum`#1="F1%
%O grave --> "D2 (Opening US guillemets)
\lccode`#1="D2%
\else\ifnum`#1="F2%
%U acute --> "DA (graphical character)
\lccode`#1="DA%
\else\ifnum`#1="F3%
%U circumflex --> "DB (graphical character)
\lccode`#1="DB%
\else\ifnum`#1="F4%
%U grave --> "D9 (Y dieresis) --> y dieresis
\lccode`#1="D8%
\else
%we don't have a letter (a character to form word)
\@BadHyphenCarMsg{#1}
\catcode`#1=15% make this character invalid
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi
% We must have same count of \fi than \ifnum (55)
}%
\fi %\ifx\CurrentEncoding...
\catcode`\@=\atcatcode \let\atcatcode\relax
%</codepagemac>
% \end{macrocode}
% \subsection{Table for the code page of {\normalfont\textsc{Iso Latin set One}} (file: \Fich{codeiso1.tex})}
% \DescribeMacro{\@IsoLatinSetOne}
% \begin{macrocode}
%<*codepageiso1>
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
{%
\catcode`\Y=\active
\gdef Y{\string Y}%
}%
\begingroup
\input initcar %
\ifcase\CurrentEncoding
\input shapecm %
\Agrave{^^c0}{"C0}{"E0}%
\Aacute{^^c1}{"C1}{"E1}%
\Acircumflex{^^c2}{"C2}{"E2}%
\Atilde{^^c3}{"C3}{"E3}%
\Adieresis{^^c4}{"C4}{"E4}%
\Aring{^^c5}{"C5}{"E5}%
\AE{^^c6}{"C6}{"E6}%
\Ccedilla{^^c7}{"C7}{"E7}%
\Egrave{^^c8}{"C8}{"E8}%
\Eacute{^^c9}{"C9}{"E9}%
\Ecircumflex{^^ca}{"CA}{"EA}%
\Edieresis{^^cb}{"CB}{"EB}%
\Igrave{^^cc}{"CC}{"EC}%
\Iacute{^^cd}{"CD}{"ED}%
\Icircumflex{^^ce}{"CE}{"EE}%
\Idieresis{^^cf}{"CF}{"EF}%
\DBar{^^d0}{"D0}{"F0}%
\Ntilde{^^d1}{"D1}{"F1}%
\Ograve{^^d2}{"D2}{"F2}%
\Oacute{^^d3}{"D3}{"F3}%
\Ocircumflex{^^d4}{"D4}{"F4}%
\Otilde{^^d5}{"D5}{"F5}%
\Odieresis{^^d6}{"D6}{"F6}%
\times{^^d7}{"D7}{"D7}%
\Oslash{^^d8}{"D8}{"F8}%
\Ugrave{^^d9}{"D9}{"F9}%
\Uacute{^^da}{"DA}{"FA}%
\Ucircumflex{^^db}{"DB}{"FB}%
\Udieresis{^^dc}{"DC}{"FC}%
\Yacute{^^dd}{"DD}{"FD}%
\thorn{^^de}{"FE}{"DE}%
\beta{^^df}{"DF}{"DF}%
\agrave{^^e0}{"C0}{"E0}%
\aacute{^^e1}{"C1}{"E1}%
\acircumflex{^^e2}{"C2}{"E2}%
\atilde{^^e3}{"C3}{"E3}%
\adieresis{^^e4}{"C4}{"E4}%
\aring{^^e5}{"C5}{"E5}%
\ae{^^e6}{"C6}{"E6}%
\ccedilla{^^e7}{"C7}{"E7}%
\egrave{^^e8}{"C8}{"E8}%
\eacute{^^e9}{"C9}{"E9}%
\ecircumflex{^^ea}{"CA}{"EA}%
\edieresis{^^eb}{"CB}{"EB}%
\igrave{^^ec}{"CC}{"EC}%
\iacute{^^ed}{"CD}{"ED}%
\icircumflex{^^ee}{"CE}{"EE}%
\idieresis{^^ef}{"CF}{"EF}%
\dBar{^^f0}{"D0}{"F0}%
\ntilde{^^f1}{"D1}{"F1}%
\ograve{^^f2}{"D2}{"F2}%
\oacute{^^f3}{"D3}{"F3}%
\ocircumflex{^^f4}{"D4}{"F4}%
\otilde{^^f5}{"D5}{"F5}%
\odieresis{^^f6}{"D6}{"F6}%
\div{^^f7}{"F7}{"F7}%
\oslash{^^f8}{"D8}{"F8}%
\ugrave{^^f9}{"D9}{"F9}%
\uacute{^^fa}{"DA}{"FA}%
\ucircumflex{^^fb}{"DB}{"FB}%
\udieresis{^^fc}{"DC}{"FC}%
\yacute{^^fd}{"DD}{"FD}%
\Thorn{^^fe}{"DE}{"FE}%
\ydieresis{^^ff}{"59}{"FF}%
\or
\input shapedc %
% \end{macrocode}
% The following characters are in the same place in both
% (\textsc{Iso1} and \textsc{Dc}) encodings. Thus the only
% thing to do is to change the \emph{catcode} to transform
% the character in letter (can be used in control sequence, but
% this is not recommended if one want have portable documents) and
% to define good values for uppercase and lowercase characters.
% \begin{macrocode}
%Agrave
\global\catcode"C0=11\global\uccode"C0="C0\global\lccode"C0="E0%
%Aacute
\global\catcode"C1=11\global\uccode"C1="C1\global\lccode"C1="E1%
%Acircumflex
\global\catcode"C2=11\global\uccode"C2="C2\global\lccode"C2="E2%
%Atilde
\global\catcode"C3=11\global\uccode"C3="C3\global\lccode"C3="E3%
%Adieresis
\global\catcode"C4=11\global\uccode"C4="C4\global\lccode"C4="E4%
%Aring
\global\catcode"C5=11\global\uccode"C5="C5\global\lccode"C5="E5%
%AE
\global\catcode"C6=11\global\uccode"C6="C6\global\lccode"C6="E6%
%Ccedilla
\global\catcode"C7=11\global\uccode"C7="C7\global\lccode"C7="E7
%Egrave
\global\catcode"C8=11\global\uccode"C8="C8\global\lccode"C8="E8%
%Eacute
\global\catcode"C9=11\global\uccode"C9="C9\global\lccode"C9="E9%
%Ecircumflex
\global\catcode"CA=11\global\uccode"CA="CA\global\lccode"CA="EA%
%Edieresis
\global\catcode"CB=11\global\uccode"CB="CB\global\lccode"CB="EB%
%Igrave
\global\catcode"CC=11\global\uccode"CC="CC\global\lccode"CC="EC%
%Iacute
\global\catcode"CD=11\global\uccode"CD="CD\global\lccode"CD="ED%
%Icircumflex
\global\catcode"CE=11\global\uccode"CE="CE\global\lccode"CE="EE%
%Idieresis
\global\catcode"CF=11\global\uccode"CF="CF\global\lccode"CF="EF%
%DBar
\global\catcode"D0=11\global\uccode"D0="D0\global\lccode"D0="F0%
%Ntilde
\global\catcode"D1=11\global\uccode"D1="D1\global\lccode"D1="F1%
%Ograve
\global\catcode"D2=11\global\uccode"D2="D2\global\lccode"D2="F2%
%Oacute
\global\catcode"D3=11\global\uccode"D3="D3\global\lccode"D3="F3%
%Ocircumflex
\global\catcode"D4=11\global\uccode"D4="D4\global\lccode"D4="F4%
%Otilde
\global\catcode"D5=11\global\uccode"D5="D5\global\lccode"D5="F5%
%Odieresis
\global\catcode"D6=11\global\uccode"D6="D6\global\lccode"D6="F6%
\times{^^d7}{"D7}{"D7}%
%Oslash
\global\catcode"D8=11\global\uccode"D8="D8\global\lccode"D8="F8%
%Ugrave
\global\catcode"D9=11\global\uccode"D9="D9\global\lccode"D9="F9%
%Uacute
\global\catcode"DA=11\global\uccode"DA="DA\global\lccode"DA="FA%
%Ucircumflex
\global\catcode"DB=11\global\uccode"DB="DB\global\lccode"DB="FB%
%Udieresis
\global\catcode"DC=11\global\uccode"DC="DC\global\lccode"DC="FC%
%Yacute
\global\catcode"DD=11\global\uccode"DD="DD\global\lccode"DD="FD%
%thorn
\global\catcode"DE=11\global\uccode"DE="FE\global\lccode"DE="DE%
\beta{^^df}{"DF}{"DF}%
%agrave
\global\catcode"E0=11\global\uccode"E0="C0\global\lccode"E0="E0%
%aacute
\global\catcode"E1=11\global\uccode"E1="C1\global\lccode"E1="E1%
%acircumflex
\global\catcode"E2=11\global\uccode"E2="C2\global\lccode"E2="E2%
%atilde
\global\catcode"E3=11\global\uccode"E3="C3\global\lccode"E3="E3%
%adieresis
\global\catcode"E4=11\global\uccode"E4="C4\global\lccode"E4="E4%
%aring
\global\catcode"E5=11\global\uccode"E5="C5\global\lccode"E5="E5%
%ae
\global\catcode"E6=11\global\uccode"E6="C6\global\lccode"E6="E6%
%ccedilla
\global\catcode"E7=11\global\uccode"E7="C7\global\lccode"E7="E7%
%egrave
\global\catcode"E8=11\global\uccode"E8="C8\global\lccode"E8="E8%
%eacute
\global\catcode"E9=11\global\uccode"E9="C9\global\lccode"E9="E9%
%ecircumflex
\global\catcode"EA=11\global\uccode"EA="CA\global\lccode"EA="EA%
%edieresis
\global\catcode"EB=11\global\uccode"EB="CB\global\lccode"EB="EB%
%igrave
\global\catcode"EC=11\global\uccode"EC="CC\global\lccode"EC="EC%
%iacute
\global\catcode"ED=11\global\uccode"ED="CD\global\lccode"ED="ED%
%icircumflex
\global\catcode"EE=11\global\uccode"EE="CE\global\lccode"EE="EE%
%idieresis
\global\catcode"EF=11\global\uccode"EF="CF\global\lccode"EF="EF%
%dBar
\global\catcode"F0=11\global\uccode"F0="D0\global\lccode"F0="F0%
%ntilde
\global\catcode"F1=11\global\uccode"F1="D1\global\lccode"F1="F1%
%ograve
\global\catcode"F2=11\global\uccode"F2="D2\global\lccode"F2="F2%
%oacute
\global\catcode"F3=11\global\uccode"F3="D3\global\lccode"F3="F3%
%ocircumflex
\global\catcode"F4=11\global\uccode"F4="D4\global\lccode"F4="F4%
%otilde
\global\catcode"F5=11\global\uccode"F5="D5\global\lccode"F5="F5%
%odieresis
\global\catcode"F6=11\global\uccode"F6="D6\global\lccode"F6="F6%
\div{^^f7}{"F7}{"F7}%
%oslash
\global\catcode"F8=11\global\uccode"F8="D8\global\lccode"F8="F8%
%ugrave
\global\catcode"F9=11\global\uccode"F9="D9\global\lccode"F9="F9%
%uacute
\global\catcode"FA=11\global\uccode"FA="DA\global\lccode"FA="FA%
%ucircumflex
\global\catcode"FB=11\global\uccode"FB="DB\global\lccode"FB="FB%
%udieresis
\global\catcode"FC=11\global\uccode"FC="DC\global\lccode"FC="FC%
%yacute
\global\catcode"FD=11\global\uccode"FD="DD\global\lccode"FD="FD%
%Thorn
\global\catcode"FE=11\global\uccode"FE="DE\global\lccode"FE="FE%
%ydieresis
\global\catcode"FF=11\global\uccode"FF="59\global\lccode"FF="FF%
\fi %\ifcase
% \end{macrocode}
% These symbols are drawn with mathematical commands and thus are aleways
% ``active'' in both encoding
% \begin{macrocode}
\exclamdown{^^a1}{"A1}{"A1}%
\cent{^^a2}{"A2}{"A2}%
\pounds{^^a3}{"A3}{"A3}%
\currency{^^a4}{"A4}{"A4}%
\yen{^^a5}{"A5}{"A5}%
\splitbar{^^a6}{"A6}{"A6}%
\section{^^a7}{"A7}{"A7}%
\dieresis{^^a8}{"A8}{"A8}%
\copyright{^^a9}{"A9}{"A9}%
\ordfeminine{^^aa}{"AA}{"AA}%
\guilletmotleft{^^ab}{"AB}{"AB}%
\neg{^^ac}{"AC}{"AC}%
\register{^^ad}{"AD}{"AD}%
\degree{^^b0}{"B0}{"B0}%
\pm{^^b1}{"B1}{"B1}%
\powertwo{^^b2}{"B2}{"B2}%
\powerthree{^^b3}{"B3}{"B3}%
\mu{^^b5}{"B5}{"B5}%
\ParagraphSign{^^b6}{"B6}{"B6}%
\bullet{^^b7}{"B7}{"B7}%
\cedilla{^^b8}{"B8}{"B8}%
\powerone{^^b9}{"B9}{"B9}%
\ordmasculine{^^ba}{"BA}{"BA}%
\guillemeotright{^^bb}{"BB}{"BB}%
\OneQuarter{^^bc}{"BC}{"BC}%
\OneHalf{^^bd}{"BD}{"BD}%
\threequarter{^^be}{"BE}{"BE}%
\questiondown{^^bf}{"BF}{"BF}%
\endgroup
% \end{macrocode}
% \DescribeMacro{\@MakeHyphenationLatin1}
% \begin{macrocode}
\ifnum\CurrentEncoding=\DC
\def\@MakeHyphenationLatinOne#1{%
% Here we have not too much work since the character from Iso Latin set one and
% from DC encoding are the same. We just do the verification that the character
% is a letter.
\catcode`#1=12%
\ifnum`#1>"C0%
\ifnum`#1="D7% Times sign
\@BadHyphenCarMsg{#1}%
\fi
\ifnum`#1="DF% beta sign
\@BadHyphenCarMsg{#1}%
\fi
\ifnum`#1="F7% Divide sign
\@BadHyphenCarMsg{#1}%
\fi
\else
\@BadHyphenCarMsg{#1}%
\fi
}%
\fi %\ifnum\CurrentEncoding...
\catcode`\@=\atcatcode \let\atcatcode\relax
%</codepageiso1>
% \end{macrocode}
% \subsection{Default value for each character (file: \Fich{initcar.tex})}
%
% The file when inputting give a default value to each character above
% 127, and set the value for
% \Comm{lccode} and \Comm{uccode} to the character itself.
% This convention doesn't follow the normal \TeX{} convention
% (where a character without uppercase or lowercase has value zero for both code) but it
% is necessary to be able to declare hyphenation exception
% (containing character above 127) with the command \Comm{hyphenation}.
% \begin{macrocode}
%<*initcar>
\gdef^^80{\@DefaultValue{80}}\global\uccode"80="80\global\lccode"80="80%
\gdef^^81{\@DefaultValue{81}}\global\uccode"81="81\global\lccode"81="81%
\gdef^^82{\@DefaultValue{82}}\global\uccode"82="82\global\lccode"82="82%
\gdef^^83{\@DefaultValue{83}}\global\uccode"83="83\global\lccode"83="83%
\gdef^^84{\@DefaultValue{84}}\global\uccode"84="84\global\lccode"84="84%
\gdef^^85{\@DefaultValue{85}}\global\uccode"85="85\global\lccode"85="85%
\gdef^^86{\@DefaultValue{86}}\global\uccode"86="86\global\lccode"86="86%
\gdef^^87{\@DefaultValue{87}}\global\uccode"87="87\global\lccode"87="87%
\gdef^^88{\@DefaultValue{88}}\global\uccode"88="88\global\lccode"88="88%
\gdef^^89{\@DefaultValue{89}}\global\uccode"89="89\global\lccode"89="89%
\gdef^^8a{\@DefaultValue{8a}}\global\uccode"8A="8A\global\lccode"8A="8A%
\gdef^^8b{\@DefaultValue{8b}}\global\uccode"8B="8B\global\lccode"8B="8B%
\gdef^^8c{\@DefaultValue{8c}}\global\uccode"8C="8C\global\lccode"8C="8C%
\gdef^^8d{\@DefaultValue{8d}}\global\uccode"8D="8D\global\lccode"8D="8D%
\gdef^^8e{\@DefaultValue{8e}}\global\uccode"8E="8E\global\lccode"8E="8E%
\gdef^^8f{\@DefaultValue{8f}}\global\uccode"8F="8F\global\lccode"8F="8F%
\gdef^^90{\@DefaultValue{90}}\global\uccode"90="90\global\lccode"90="90%
\gdef^^91{\@DefaultValue{91}}\global\uccode"91="91\global\lccode"91="91%
\gdef^^92{\@DefaultValue{92}}\global\uccode"92="92\global\lccode"92="92%
\gdef^^93{\@DefaultValue{93}}\global\uccode"93="93\global\lccode"93="93%
\gdef^^94{\@DefaultValue{94}}\global\uccode"94="94\global\lccode"94="94%
\gdef^^95{\@DefaultValue{95}}\global\uccode"95="95\global\lccode"95="95%
\gdef^^96{\@DefaultValue{96}}\global\uccode"96="96\global\lccode"96="96%
\gdef^^97{\@DefaultValue{97}}\global\uccode"97="97\global\lccode"97="97%
\gdef^^98{\@DefaultValue{98}}\global\uccode"98="98\global\lccode"98="98%
\gdef^^99{\@DefaultValue{99}}\global\uccode"99="99\global\lccode"99="99%
\gdef^^9a{\@DefaultValue{9a}}\global\uccode"9A="9A\global\lccode"9A="9A%
\gdef^^9b{\@DefaultValue{9b}}\global\uccode"9B="9B\global\lccode"9B="9B%
\gdef^^9c{\@DefaultValue{9c}}\global\uccode"9C="9C\global\lccode"9C="9C%
\gdef^^9d{\@DefaultValue{9d}}\global\uccode"9D="9D\global\lccode"9D="9D%
\gdef^^9e{\@DefaultValue{9e}}\global\uccode"9E="9E\global\lccode"9E="9E%
\gdef^^9f{\@DefaultValue{9f}}\global\uccode"9F="9F\global\lccode"9F="9F%
\gdef^^a0{\@DefaultValue{a0}}\global\uccode"A0="A0\global\lccode"A0="A0%
\gdef^^a1{\@DefaultValue{a1}}\global\uccode"A1="A1\global\lccode"A1="A1%
\gdef^^a2{\@DefaultValue{a2}}\global\uccode"A2="A2\global\lccode"A2="A2%
\gdef^^a3{\@DefaultValue{a3}}\global\uccode"A3="A3\global\lccode"A3="A3%
\gdef^^a4{\@DefaultValue{a4}}\global\uccode"A4="A4\global\lccode"A4="A4%
\gdef^^a5{\@DefaultValue{a5}}\global\uccode"A5="A5\global\lccode"A5="A5%
\gdef^^a6{\@DefaultValue{a6}}\global\uccode"A6="A6\global\lccode"A6="A6%
\gdef^^a7{\@DefaultValue{a7}}\global\uccode"A7="A7\global\lccode"A7="A7%
\gdef^^a8{\@DefaultValue{a8}}\global\uccode"A8="A8\global\lccode"A8="A8%
\gdef^^a9{\@DefaultValue{a9}}\global\uccode"A9="A9\global\lccode"A9="A9%
\gdef^^aa{\@DefaultValue{aa}}\global\uccode"AA="AA\global\lccode"AA="AA%
\gdef^^ab{\@DefaultValue{ab}}\global\uccode"AB="AB\global\lccode"AB="AB%
\gdef^^ac{\@DefaultValue{ac}}\global\uccode"AC="AC\global\lccode"AC="AC%
\gdef^^ad{\@DefaultValue{ad}}\global\uccode"AD="AD\global\lccode"AD="AD%
\gdef^^ae{\@DefaultValue{ae}}\global\uccode"AE="AE\global\lccode"AE="AE%
\gdef^^af{\@DefaultValue{af}}\global\uccode"AF="AF\global\lccode"AF="AF%
\gdef^^b0{\@DefaultValue{b0}}\global\uccode"B0="B0\global\lccode"B0="B0%
\gdef^^b1{\@DefaultValue{b1}}\global\uccode"B1="B1\global\lccode"B1="B1%
\gdef^^b2{\@DefaultValue{b2}}\global\uccode"B2="B2\global\lccode"B2="B2%
\gdef^^b3{\@DefaultValue{b3}}\global\uccode"B3="B3\global\lccode"B3="B3%
\gdef^^b4{\@DefaultValue{b4}}\global\uccode"B4="B4\global\lccode"B4="B4%
\gdef^^b5{\@DefaultValue{b5}}\global\uccode"B5="B5\global\lccode"B5="B5%
\gdef^^b6{\@DefaultValue{b6}}\global\uccode"B6="B6\global\lccode"B6="B6%
\gdef^^b7{\@DefaultValue{b7}}\global\uccode"B7="B7\global\lccode"B7="B7%
\gdef^^b8{\@DefaultValue{b8}}\global\uccode"B8="B8\global\lccode"B8="B8%
\gdef^^b9{\@DefaultValue{b9}}\global\uccode"B9="B9\global\lccode"B9="B9%
\gdef^^ba{\@DefaultValue{ba}}\global\uccode"BA="BA\global\lccode"BA="BA%
\gdef^^bb{\@DefaultValue{bb}}\global\uccode"BB="BB\global\lccode"BB="BB%
\gdef^^bc{\@DefaultValue{bc}}\global\uccode"BC="BC\global\lccode"BC="BC%
\gdef^^bd{\@DefaultValue{bd}}\global\uccode"BD="BD\global\lccode"BD="BD%
\gdef^^be{\@DefaultValue{be}}\global\uccode"BE="BE\global\lccode"BE="BE%
\gdef^^bf{\@DefaultValue{bf}}\global\uccode"BF="BF\global\lccode"BF="BF%
\gdef^^c0{\@DefaultValue{c0}}\global\uccode"C0="C0\global\lccode"C0="C0%
\gdef^^c1{\@DefaultValue{c1}}\global\uccode"C1="C1\global\lccode"C1="C1%
\gdef^^c2{\@DefaultValue{c2}}\global\uccode"C2="C2\global\lccode"C2="C2%
\gdef^^c3{\@DefaultValue{c3}}\global\uccode"C3="C3\global\lccode"C3="C3%
\gdef^^c4{\@DefaultValue{c4}}\global\uccode"C4="C4\global\lccode"C4="C4%
\gdef^^c5{\@DefaultValue{c5}}\global\uccode"C5="C5\global\lccode"C5="C5%
\gdef^^c6{\@DefaultValue{c6}}\global\uccode"C6="C6\global\lccode"C6="C6%
\gdef^^c7{\@DefaultValue{c7}}\global\uccode"C7="C7\global\lccode"C7="C7%
\gdef^^c8{\@DefaultValue{c8}}\global\uccode"C8="C8\global\lccode"C8="C8%
\gdef^^c9{\@DefaultValue{c9}}\global\uccode"C9="C9\global\lccode"C9="C9%
\gdef^^ca{\@DefaultValue{ca}}\global\uccode"CA="CA\global\lccode"CA="CA%
\gdef^^cb{\@DefaultValue{cb}}\global\uccode"CB="CB\global\lccode"CB="CB%
\gdef^^cc{\@DefaultValue{cc}}\global\uccode"CC="CC\global\lccode"CC="CC%
\gdef^^cd{\@DefaultValue{cd}}\global\uccode"CD="CD\global\lccode"CD="CD%
\gdef^^ce{\@DefaultValue{ce}}\global\uccode"CE="CE\global\lccode"CE="CE%
\gdef^^cf{\@DefaultValue{cf}}\global\uccode"CF="CF\global\lccode"CF="CF%
\gdef^^d0{\@DefaultValue{d0}}\global\uccode"D0="D0\global\lccode"D0="D0%
\gdef^^d1{\@DefaultValue{d1}}\global\uccode"D1="D1\global\lccode"D1="D1%
\gdef^^d2{\@DefaultValue{d2}}\global\uccode"D2="D2\global\lccode"D2="D2%
\gdef^^d3{\@DefaultValue{d3}}\global\uccode"D3="D3\global\lccode"D3="D3%
\gdef^^d4{\@DefaultValue{d4}}\global\uccode"D4="D4\global\lccode"D4="D4%
\gdef^^d5{\@DefaultValue{d5}}\global\uccode"D5="D5\global\lccode"D5="D5%
\gdef^^d6{\@DefaultValue{d6}}\global\uccode"D6="D6\global\lccode"D6="D6%
\gdef^^d7{\@DefaultValue{d7}}\global\uccode"D7="D7\global\lccode"D7="D7%
\gdef^^d8{\@DefaultValue{d8}}\global\uccode"D8="D8\global\lccode"D8="D8%
\gdef^^d9{\@DefaultValue{d9}}\global\uccode"D9="D9\global\lccode"D9="D9%
\gdef^^da{\@DefaultValue{da}}\global\uccode"DA="DA\global\lccode"DA="DA%
\gdef^^db{\@DefaultValue{db}}\global\uccode"DB="DB\global\lccode"DB="DB%
\gdef^^dc{\@DefaultValue{dc}}\global\uccode"DC="DC\global\lccode"DC="DC%
\gdef^^dd{\@DefaultValue{dd}}\global\uccode"DD="DD\global\lccode"DD="DD%
\gdef^^de{\@DefaultValue{de}}\global\uccode"DE="DE\global\lccode"DE="DE%
\gdef^^df{\@DefaultValue{df}}\global\uccode"DF="DF\global\lccode"DF="DF%
\gdef^^e0{\@DefaultValue{e0}}\global\uccode"E0="E0\global\lccode"E0="E0%
\gdef^^e1{\@DefaultValue{e1}}\global\uccode"E1="E1\global\lccode"E1="E1%
\gdef^^e2{\@DefaultValue{e2}}\global\uccode"E2="E2\global\lccode"E2="E2%
\gdef^^e3{\@DefaultValue{e3}}\global\uccode"E3="E3\global\lccode"E3="E3%
\gdef^^e4{\@DefaultValue{e4}}\global\uccode"E4="E4\global\lccode"E4="E4%
\gdef^^e5{\@DefaultValue{e5}}\global\uccode"E5="E5\global\lccode"E5="E5%
\gdef^^e6{\@DefaultValue{e6}}\global\uccode"E6="E6\global\lccode"E6="E6%
\gdef^^e7{\@DefaultValue{e7}}\global\uccode"E7="E7\global\lccode"E7="E7%
\gdef^^e8{\@DefaultValue{e8}}\global\uccode"E8="E8\global\lccode"E8="E8%
\gdef^^e9{\@DefaultValue{e9}}\global\uccode"E9="E9\global\lccode"E9="E9%
\gdef^^ea{\@DefaultValue{ea}}\global\uccode"EA="EA\global\lccode"EA="EA%
\gdef^^eb{\@DefaultValue{eb}}\global\uccode"EB="EB\global\lccode"EB="EB%
\gdef^^ec{\@DefaultValue{ec}}\global\uccode"EC="EC\global\lccode"EC="EC%
\gdef^^ed{\@DefaultValue{ed}}\global\uccode"ED="ED\global\lccode"ED="ED%
\gdef^^ee{\@DefaultValue{ee}}\global\uccode"EE="EE\global\lccode"EE="EE%
\gdef^^ef{\@DefaultValue{ef}}\global\uccode"EF="EF\global\lccode"EF="EF%
\gdef^^f0{\@DefaultValue{f0}}\global\uccode"F0="F0\global\lccode"F0="F0%
\gdef^^f1{\@DefaultValue{f1}}\global\uccode"F1="F1\global\lccode"F1="F1%
\gdef^^f2{\@DefaultValue{f2}}\global\uccode"F2="F2\global\lccode"F2="F2%
\gdef^^f3{\@DefaultValue{f3}}\global\uccode"F3="F3\global\lccode"F3="F3%
\gdef^^f4{\@DefaultValue{f4}}\global\uccode"F4="F4\global\lccode"F4="F4%
\gdef^^f5{\@DefaultValue{f5}}\global\uccode"F5="F5\global\lccode"F5="F5%
\gdef^^f6{\@DefaultValue{f6}}\global\uccode"F6="F6\global\lccode"F6="F6%
\gdef^^f7{\@DefaultValue{f7}}\global\uccode"F7="F7\global\lccode"F7="F7%
\gdef^^f8{\@DefaultValue{f8}}\global\uccode"F8="F8\global\lccode"F8="F8%
\gdef^^f9{\@DefaultValue{f9}}\global\uccode"F9="F9\global\lccode"F9="F9%
\gdef^^fa{\@DefaultValue{fa}}\global\uccode"FA="FA\global\lccode"FA="FA%
\gdef^^fb{\@DefaultValue{fb}}\global\uccode"FB="FB\global\lccode"FB="FB%
\gdef^^fc{\@DefaultValue{fc}}\global\uccode"FC="FC\global\lccode"FC="FC%
\gdef^^fd{\@DefaultValue{fd}}\global\uccode"FD="FD\global\lccode"FD="FD%
\gdef^^fe{\@DefaultValue{fe}}\global\uccode"FE="FE\global\lccode"FE="FE%
\gdef^^ff{\@DefaultValue{ff}}\global\uccode"FF="FF\global\lccode"FF="FF%
%</initcar>
% \end{macrocode}
%\Finale
|