summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/engpron/engpron.dtx
blob: 40defbbfbdf8f0a0ae9c7ab718b1a5cda0cd81ab (plain)
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
% \iffalse meta-comment
%-*- coding: iso-8859-15 -*-
% Time-stamp:  <2008-08-15T10:03:33 (cest) [yvon sur hypatie]>
% --------------------------------------------------------------------
% 
% Copyright (C) 2003, 2004, 2008 by Yvon Henel 
% dit « le TeXnicien de surface » <le.texnicien.de.surface@wanadoo.fr>
%
% --------------------------------------------------------------------
% 
% --------------------------------------------------------------------
% This file may be distributed and/or modified under the conditions of
% the LaTeX Project Public License, either version 1.2 of this license
% or (at your option) any later version. The latest version of this
% license is in:  
%
%    http://www.latex-project.org/lppl.txt
%
% and version 1.2 or later is part of all distributions of LaTeX
% version 1999/12/01 or later. 
% --------------------------------------------------------------------
% \fi
%
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\def\fileversion{v2}  
%<package>\def\filedate{2008/08/15}
%<doc-sty>\def\docdate{2008/08/15}
%<package>\def\fileinfo{fichier engpron.dtx par Le TeXnicien de surface}
%<package>\ProvidesPackage{engpron}
%<package>   [\filedate\space\fileversion\space\fileinfo] 
% 
%<*driver>
\documentclass[a4paper]{ltxdoc}
\usepackage{xspace,array, fixltx2e}
\usepackage[latin9]{inputenc}
\usepackage[tame]{engpron}
\usepackage[T1]{fontenc}  
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
\usepackage[english,frenchb]{babel}
% comment out \OnlyDescription to obtain a document with the code
% commentez la ligne suivante pour avoir un document avec le code
% \OnlyDescription
% puis cherchez \StopEventually pour d'éventuels réglages
\EnableCrossrefs         
\CodelineIndex
\RecordChanges
%%% <francisation>
\makeatletter
\GlossaryPrologue{%
  \section*{{Changements}}
  \markboth{{Changements}}{{Changements}}} 
\IndexPrologue{%
  \section*{Index}\markboth{Index}{Index}%
  Les nombres en italique renvoient à la page où l'entrée est décrite;
  les nombres soulignés renvoient à la ligne de code de la définition;
  les nombres en caractères romains renvoient à la ligne de code où
  l'entrée est utilisée.} 
\def\generalname{Général}
\def\SpecialMainEnvIndex#1{\@bsphack\special@index{%
                                      #1\actualchar
                                      {\string\ttfamily\space#1} 
                                         (environnement)%
                                      \encapchar main}%
    \special@index{environnements:\levelchar#1\actualchar{%
                   \string\ttfamily\space#1}\encapchar 
           main}\@esphack}
\makeatother
%%% </francisation>
\newcommand{\TO}{\textemdash\ \ignorespaces}
\newcommand{\TF}{\unskip\ \textemdash\xspace}
\newcommand{\CAD}{c.-à-d.\xspace}
\newcommand\BOP{\discretionary{}{}{}}
\newcommand\NOUVEAU[1]{{\slshape #1}}
\newcommand\Option[1]{\textsc{#1}}
\newcommand\Pkg[1]{\textsf{#1}}

\begin{document}
\newcommand{\GBP}{\texttt{£}\xspace}
  \DocInput{engpron.dtx}
\end{document}
%</driver>
% \fi
% 
% \CheckSum{664}
%
% \CharacterTable
%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%   Digits        \0\1\2\3\4\5\6\7\8\9
%   Exclamation   \!     Double quote  \"     Hash (number) \#
%   Dollar        \$     Percent       \%     Ampersand     \&
%   Acute accent  \'     Left paren    \(     Right paren   \)
%   Asterisk      \*     Plus          \+     Comma         \,
%   Minus         \-     Point         \.     Solidus       \/
%   Colon         \:     Semicolon     \;     Less than     \<
%   Equals        \=     Greater than  \>     Question mark \?
%   Commercial at \@     Left bracket  \[     Backslash     \\
%   Right bracket \]     Circumflex    \^     Underscore    \_
%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%   Right brace   \}     Tilde         \~}
%
% \changes{v0.0}{2000/10/12}
%         {Première version pour usage personnel sous le nom de
%         tipa1.sty, sans documentation} 
% \changes{v0.1}{2003/04/21}
%         {Changement de nom et quelques nouvelles macros}
% \changes{v0.1a}{2003/04/24}
%         {Divers nettoyages de la documentation.}
% \changes{v0.1a}{2003/04/24}
%         {Changement de la fin quand tame est choisi, suppression du
%         \texttt{AtBeginDocument} et \texttt{global}-isation du
%         \texttt{let} redonnant à la livre sa valeur initiale.}
% \changes{v0.1a}{2003/04/24}
%         {Suppression d'informations redondantes en début de code.}
% \changes{v1}{2004/04/17}
%         {Nouvelle organisation de la documentation.}
% \changes{v2}{2008/05/08}
%         {Exige drac.sty pour définir des macros robustes.}
% \changes{v2}{2008/05/08}
%         {Création et utilisation de \cs{GBP} pour la documentation.}  
% \changes{v2}{2008/05/08}
%         {Utilisation de \cs{textsci} pour obtenir le i court.} 
% \changes{v2}{2008-05-08}
%         {Les macros d'accent tonique autorise la césure.}
% \changes{v2}{2008-05-08}
%         {Création de la macro de séparation des syllabes.}
% \changes{v2}{2008-05-08}
%         {Options gérant la syllabisation.}
% \changes{v2}{2008-05-08}
%         {Options déterminant le comportement des macros |£K|, |£M|
%         et |£m| lorsqu'elle sont suivies d'une \emph{mauvaise}
%         lettre.}
% \changes{v2}{2008-08-14}
%         {Ajout des options |drac| et |nodrac| et redéfinitions de la
%         livre}
% 
% \GetFileInfo{engpron.sty}
%
% \DoNotIndex{\newcommand,\newenvironment,\i,\ae,\oe,\DeclareOption,^^A
%   \ifthenelse,\if,\else,\fi,\tr@@c,\ExecuteOptions,\ProcessOptions,^^A
%   \relax,\MessageBreak,\CurrentOption,\RequirePackage,\PackageError,^^A
%   \def,\endinput,\let,\boolean,\newboolean,\setboolean,\renewcommand,^^A
%   \afterassignment,\global,\aftergroup,\bgroup,\egroup,\csname,^^A
%   \endcsname,\emph,\catcode,\space,\string,\next,\active,\rmfamily,\rule,^^A
%   \,,\`,\discretionary,\PackageWarning,\ng,\textbeltl,^^A 
%   \textepsilon,\textesh,\textlengthmark,\textopeno,\dh,^^A   
%   \textrevepsilon,\textrhookschwa,\textschwa,\textsci,^^A 
%   \texttt,\textscripta,\textsyllabic,\textyogh,^^A 
%   \textperiodcentered,\textprimstress,\textsecstress,^^A 
%   \textsubwedge,\textsuperscript,\texttheta,\textturnscripta,^^A 
%   \textturnv,\textupsilon,\ttfamily,^^A  
%   \textsl,\upshape,\pounds,\~}^^A      
% 
%
% \title{ Le module \textsf{engpron}\thanks{%
%     Ce document correspond au fichier \textsf{engpron}~\fileversion,
%     du \filedate, édition du cinquantenaire.}\\
%   The \textsf{engpron} package\thanks{%
%     This corresponds to the file \textsf{engpron}~\fileversion,
%     dated \filedate, 50th anniversary edition.}  }
% \author{Le \TeX nicien de surface\\
%   \texttt{le.texnicien.de.surface@wanadoo.fr}} \date{\filedate}
% 
% \maketitle
% \thispagestyle{empty}
% \begin{abstract}
%   Une extension pour saisir la prononciation anglaise à l'aide de
%   macros commençant par le caractère \GBP rendu actif. 
% 
%   La documentation française pour l'utilisateur de l'extension
%   \Pkg{engpron} est désormais disponible sous le nom de
%   \texttt{engpron-fr}. 
% 
%   La documentation du code est donnée en français. Comme d'habitude,
%   pour obtenir un document avec le code commenté, voir le
%   \texttt{.dtx} et chercher \cs{OnlyDescription}.
% \end{abstract}
% 
% 
% \noindent\hrulefill
%
%  
% \begin{otherlanguage}{english}
% \begin{abstract}
%   A package to type the English pronunciation with macros beginning
%   with the character \GBP made active. 
% 
%   The English documentation for the final user of the package
%   \Pkg{engpron} is available in the file \texttt{engpron-en}. 
% 
%   The code documentation is in French only. Sorry. But nonetheless,
%   in case you really want it, look at the \texttt{.dtx} file and
%   find \cs{OnlyDescription} as usual.
% \end{abstract}
% \end{otherlanguage}
% \StopEventually{}
% \tableofcontents
% \section{Le code}
% On dit bonjour, on charge les modules |tipa| et |ifthen|. On définit
% quelques variables booléennes et on fixe leur valeur par défaut. On
% traite les options et on crie si l'une d'elles n'est pas connue.
% 
% \changes{v2}{2008-05-08}
%         {Suppression du booléen |b@harraps|. L'option
%         \Option{harraps} est, désormais, simplement le contraire de
%         \Option{jones}.} 
% \iffalse
%<*package>
% \fi
%    \begin{macrocode}
\RequirePackage{tipa}[1996/06/10] 
\RequirePackage{ifthen}
\newboolean{tip@style} 
\newboolean{b@wild} 
\newboolean{b@jones}
\newboolean{b@hyphenable}
\newboolean{b@visible}
\newboolean{b@final}
\newboolean{b@nice}
\newboolean{b@drac}
\DeclareOption{tipastress}{\setboolean{tip@style}{true}}
\DeclareOption{monstress}{\setboolean{tip@style}{false}}
\DeclareOption{wild}{\setboolean{b@wild}{true}}
\DeclareOption{tame}{\setboolean{b@wild}{false}}
\DeclareOption{jones}{\setboolean{b@jones}{true}}
\DeclareOption{harraps}{\setboolean{b@jones}{false}}
\DeclareOption{hyphenable}{\setboolean{b@hyphenable}{true}}
\DeclareOption{unhyphenable}{\setboolean{b@hyphenable}{false}}
\DeclareOption{visible}{\setboolean{b@visible}{true}}
\DeclareOption{invisible}{\setboolean{b@visible}{false}}
\DeclareOption{final}{\setboolean{b@final}{true}}
\DeclareOption{draft}{\setboolean{b@final}{false}}
\DeclareOption{nice}{\setboolean{b@nice}{true}}
\DeclareOption{tough}{\setboolean{b@nice}{false}}
\DeclareOption{drac}{\setboolean{b@drac}{true}}
\DeclareOption{nodrac}{\setboolean{b@drac}{false}}
\DeclareOption*{\PackageError{engpron}{%
The option \CurrentOption\space is not known!\MessageBreak 
}{%
The possible options are (the first is the default):\MessageBreak  
<< monstress >> or << tipastress >>\MessageBreak 
<<wild>> or <<tame>>\MessageBreak 
<<jones>> or <<harraps>>\MessageBreak 
<<unhyphenable>> or <<hyphenable>>\MessageBreak 
<<visible>> or <<invisible>>.
}}
\ExecuteOptions{monstress,wild,jones,unhyphenable,visible,final,nice,drac}
\ProcessOptions\relax
%    \end{macrocode}
% \subsection{L'extension drac}
% Si l'option |drac| est choisie, comme c'est le cas par défaut, on
% charge l'extension \texttt{drac} et les définitions de la livre
% utiliseront les macros \cs{DeclareRobustActChar} et
% \cs{ReDeclareRobActChar}.  
%    \begin{macrocode}
\ifthenelse{\boolean{b@drac}}{\RequirePackage{drac}}{}
%    \end{macrocode}
% \subsection{On sauve la livre}
% On sauvegarde la définition courante de la macro \cs{pounds}, on crée
% une macro  \og cachée \fg qui active \GBP. La macro suivante l'utilise et
% donne la nouvelle définition du caractère actif \GBP.
%    \begin{macrocode}
\let\l@viellelivre=\pounds
\newcommand{\EP@ActiveL@Livre}{\catcode `\£=\active}
%    \end{macrocode}
% \begin{macro}{\ActiveLaLivre}
% \changes{v2}{2008/05/08}{Redéfinition avec \cs{ReDeclareRobActChar}}
% \changes{v2}{2008/08/14}{La définition tient compte de l'option drac/nodrac}
%    \begin{macrocode}
\ifthenelse{\boolean{b@drac}}%
  {\newcommand{\ActiveLaLivre}{\EP@ActiveL@Livre%
      \ReDeclareRobActChar{£}[1]{\csname \string£##1\endcsname}}}
  {\newcommand{\ActiveLaLivre}{\EP@ActiveL@Livre%
      \def£##1{\csname\string£##1\endcsname}}}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\makepoundletter}
% Change la catégorie de \GBP en 11 qui est la catégorie des lettres de
% \TeX{} ce qui permet de réécrire des macros \emph{débutant} par \GBP (si
% on veut étendre ce que donne ce module).
%    \begin{macrocode}
\newcommand{\makepoundletter}{\catcode`\£11\relax}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\makepoundother}
% Change la catégorie de \GBP en 12 qui est la catégorie  \og autres \fg 
% \TeX{} cela ne rend pas la livre active ! Cette macro n'a en fait
% aucun autre intérêt que de préserver une sorte de symétrie |;)|. 
%    \begin{macrocode}
\newcommand{\makepoundother}{\catcode`\£12\relax}
%    \end{macrocode}
% \end{macro}
% \begin{environment}{LivreActive}
%   Le seul environnement de ce module. Il rend la livre active. Il
%   s'utilise avec l'option \Option{tame} sinon il n'aurait pas grand chose à
%   faire si ce n'est fatiguer \TeX.
%    \begin{macrocode}
\newenvironment{LivreActive}{\ActiveLaLivre}{}
%    \end{macrocode}
% \end{environment}
% La macro suivante donne accès au glyphe de la livre sterling en
% toutes circonstances, même quand la livre est active.
%    \begin{macrocode}
\def\£{\pounds}
%    \end{macrocode}
%
% \subsection{Macros de présentation}
% On définit ici les macros qui fixent les détails de la
% présentation. 
% 
% \begin{macro}{\EPtextestyle}
%   Définit le style dans lequel sont présentés les
%   prononciations. Peut être redéfinie par l'utilisateur. On fera
%   toutefois attention que l'option \Option{jones} \TO pour les sons
%   optionnels\TF et l'option \Option{harraps} \TO pour le \og r \fg final\TF
%   utilise des caractères penchés (avec \cs{textsl}). À manier avec
%   précaution.
%    \begin{macrocode}
\newcommand{\EPtextestyle}{\rmfamily\upshape}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\EPouvrante}
%   Définit ce qui précède le texte de la prononciation. Utilisée par
%   \cs{pron} et \cs{PRON}, elle peut être redéfinie.
%    \begin{macrocode}
\newcommand{\EPouvrante}{[}
\def\EP@ouvr@nte{\bgroup\EPouvrante}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\EPfermante}
%   Définit ce qui suit le texte de la prononciation. Utilisée par
%   \cs{pron} et \cs{PRON}, elle peut être redéfinie.
%    \begin{macrocode}
\newcommand{\EPfermante}{]}
\def\EP@ferm@nte{\EPfermante\egroup}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\pron}
%   Macro de présentation de la prononciation. S'utilise n'importe où
%   avec l'option \Option{wild} activée ou bien dans un environnement
%   |LivreActive| avec l'option \Option{tame} auquel cas elle est
%   avantageusement remplacée par \cs{PRON}. Utilise les trois macros
%   précédentes.
%    \begin{macrocode}
\newcommand{\pron}[1]{{\EPouvrante\EPtextestyle #1\EPfermante}}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\Pron}
%   Le style de définition de \cs{Pron}\footnote{Définition fournie
%     gracieusement par Josselin~\textsc{Noirel}.} force, à cause du
%   |#| la présence d'une |{| pour introduire l'argument. \cs{next}
%     avale cette accolade que le \cs{bgroup} remplace ce qui active la
%     livre localement. Le groupe se termine avec l'accolade fermante
%     de l'argument et tout va bien !
%    \begin{macrocode}
\def\Pron#{\bgroup\ActiveLaLivre\let\next=}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\PRON}
%   Cette macro assure l'activation de la livre et une présentation
%   semblable à celle de \cs{pron}. Elle utilise une macro auxiliaire
%   pour placer \cs{EPfermante} après avoir traité l'argument. Elle
%   procède tout d'abord à la même man{\oe}uvre que \cs{pron}. Avec
%   \cs{EP@ouvr@nte} et \cs{EP@ferm@nte} on enferme le tout entre
%   \cs{bgroup} et \cs{egroup} ce qui assure que l'effet de
%   \cs{EPtextestyle} est local.
%    \begin{macrocode}
\def\PRON#{\EP@ouvr@nte\EPtextestyle%
  \bgroup\ActiveLaLivre\afterassignment\PRON@UX\let\next=}
\def\PRON@UX{\aftergroup\EP@ferm@nte\relax}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\EPaccentprincipal}
%   La définition du glyphe de l'accent tonique principal lorsque
%   l'option \Option{monstress} est activée.
%    \begin{macrocode}
\newcommand{\EPaccentprincipal}{\,\rule[-0.5ex]{0.5pt}{0.8ex}\,}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\EPaccentsecondaire}
%   La définition du glyphe de l'accent tonique secondaire avec
%   \Option{monstress}.
%    \begin{macrocode}
\newcommand{\EPaccentsecondaire}{\,\rule[0.5ex]{0.5pt}{0.8ex}\,}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\EPSyllabeMarque}
%   \changes{v2}{2008/05/08}{Création} C'est la macro qui définit le
%   symbole servant à indiquer la limite de syllabe.
%    \begin{macrocode}
\newcommand{\EPSyllabeMarque}{.}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\EPSyllabeCoupure}
%   \changes{v2}{2008/05/08}{Création} Avec cette macro, on marque la
%   limite de syllabe; \LaTeX\ peut couper le \og mot\fg à cet
%   endroit.
%    \begin{macrocode}
\newcommand{\EPSyllabeCoupure}{%
  \discretionary{\EPSyllabeMarque}{}{\EPSyllabeMarque}}
%    \end{macrocode}
% \end{macro}
% 
% \subsection{Macros cachées}
% Une floppée de macros cachées qui donne les définitions par défaut
% puis leur redéfinition en fonction des options. 
% 
% \begin{macro}{\EP@haut}
%   Cette macro et sa petite camarade \cs{EP@bas} placent les accents
%   toniques, principal et secondaire respectivement. Elles sont
%   définies comme \cs{EP@basSans} et \cs{EP@hautSans} \TO qui ne
%   donnent pas de point de \DescribeMacro{\EP@bas} coupure\TF si
%   l'option \Option{unhyphenable} est choisie, comme c'est le cas par
%   défaut. Avec l'option \Option{hyphenable} elles sont définies comme
%   \cs{EP@hautAvec} et \cs{EP@basAvec} qui donnent un point de
%   coupure.
%    \begin{macrocode}
\newcommand{\EP@basSans}{\EPaccentprincipal}
\newcommand{\EP@hautSans}{\EPaccentsecondaire}
\newcommand{\EP@basAvec}{%
  \discretionary{}{\EPaccentprincipal}{\EPaccentprincipal}}
\newcommand{\EP@hautAvec}{%
  \discretionary{}{\EPaccentsecondaire}{\EPaccentsecondaire}}
\ifthenelse{\boolean{b@hyphenable}}{
  \newcommand{\EP@bas}{\EP@basAvec}
  \newcommand{\EP@haut}{\EP@hautAvec}}{
  \newcommand{\EP@bas}{\EP@basSans}
  \newcommand{\EP@haut}{\EP@hautSans}}
%    \end{macrocode}
% \end{macro}
% 
% Viennent ensuite des macros qui code les abbréviations comme
% \cs{EP@djeu} que l'on sollicitera avec |£d| pour obtenir \Pron{£d}.
%    \begin{macrocode}
\newcommand{\EP@djeu}{d\textyogh}
\newcommand{\EP@icourt}{\textsci}
\newcommand{\EP@ahyi}{a\EP@icourt}
\newcommand{\EP@ehyi}{e\EP@icourt}
\newcommand{\EP@ohyi}{\textopeno\EP@icourt}
\newcommand{\EP@tcheu}{t\textesh}
\newcommand{\EP@euou}{\textschwa\textupsilon}
\newcommand{\EP@eheu}{e\textschwa}
\newcommand{\EP@iyeu}{\EP@icourt\textschwa}
\newcommand{\EP@oueu}{\textupsilon\textschwa}
\newcommand{\EP@ahou}{a\textupsilon}
\newcommand{\EP@ng@g}{\ng g}
\newcommand{\EP@il@ng}{i\textlengthmark}
\newcommand{\EP@al@ng}{\textscripta\textlengthmark}
\newcommand{\EP@ol@ng}{\textopeno\textlengthmark}
\newcommand{\EP@ul@ng}{u\textlengthmark}
\newcommand{\EP@eul@ng}{\textrevepsilon\textlengthmark}
\newcommand{\EP@syll@bicl}{\textsyllabic{l}}
\newcommand{\EP@usfl@ppedt}{\textsubwedge{t}}
\newcommand{\EP@usoou}{o\textupsilon}
\newcommand{\EP@silent@r}{\textsuperscript{r}}
%    \end{macrocode}
%
% \subsection{Macros utilisant le token suivant}
% Pour commencer, on crée une macro traitant le cas \og autre\fg dans
% les cascades de \texttt{if} qui vont suivrent. 
% 
% \begin{macro}{\EP@Erreur@Msg}
% C'est la macro qui produit, ou pas, un message d'erreur pour les
% macros sollicitées par |£X|, |£K|, |£M| et |£m|. Son comportement
% est déterminé par les options \Option{final}\slash\Option{draft} et
% \Option{nice}\slash\Option{tough}.  
%    \begin{macrocode}
\ifthenelse{\boolean{b@final}}{%
  \newcommand\EP@Erreur@InDoc[1]{\relax}}{%
  \newcommand\EP@Erreur@InDoc[1]{%
    {\ttfamily\string?\string!<#1>\string!\string?}}}
% 
\ifthenelse{\boolean{b@nice}}{%
  \newcommand\EP@Erreur@Carp{%
    \PackageWarning{engpron}{%
There is a strange character after K, M, or m 
}}}{%
\newcommand\EP@Erreur@Carp{%
  \PackageError{engpron}{%
There is a strange character after K, M, or m  
}{
The characters which can be used after a
pound-macro are\MessageBreak 
with K: X, k, K, b, B, h, and H\MessageBreak
with M or m: a, e, i, o, u
}}}
% 
\newcommand\EP@Erreur@Msg[2]{\EP@Erreur@InDoc{#1#2}\EP@Erreur@Carp} 
%    \end{macrocode}
% \end{macro} 
% 
% Les quatre macros suivantes sont toutes écrites sur le même modèle,
% elles ont donc le même type de fonctionnement et les mêmes limites. 
%
% \begin{macro}{\EP@fr@nn@s@lise}
%   Cette macro écrit les \og voyelles nasalisées \fg telles qu'elles
%   sont réalisées par un locuteur français.
% 
%   Elle fait appel à la macro auxiliaire \cs{EP@fr@nn@s@laux} qui
%   traite la lettre récupérée d'abord par \cs{tr@@c} (grâce à
%   \cs{afterassignment}). La macro auxiliaire réalise un test sur la
%   lettre qui suit\footnote{En fait \texttt{tr@@c} récupère le 1\ier
%     token et c'est pour cela que cette macro ne peut fonctionner,
%     telle qu'elle est écrite à présent, que si elle est suivie d'une
%     lettre au sens de \TeX{} \CAD un caractère compris entre a et z
%     ou A et Z.} pour écrire le bon glyphe.
%    \begin{macrocode}
\def\EP@fr@nn@s@liser{\afterassignment\EP@fr@nn@s@laux\let\tr@@c=}
\def\EP@fr@nn@s@laux{%
  \if\tr@@c i{\~\textepsilon}%
  \else \if \tr@@c a{\~\textscripta}%
  \else \if \tr@@c o{\~\textopeno}%
  \else \if \tr@@c u{\~{\oe}}%
  \else \EP@Erreur@Msg{M}{\tr@@c}%
  \fi \fi \fi \fi}
%    \end{macrocode}
% \changes{v0.1a}{2003/04/24}
%         {Renommage pour plus de régularité dans les noms des macros.}
% \end{macro} 
% 
% \begin{macro}{\EP@ngln@s@liser}
%   Cette macro écrit les mêmes \og voyelles nasalisées \fg telles
%   qu'elle sont réalisées par un locuteur anglais \TO selon
%   Jones toujours.
%    \begin{macrocode}
\def\EP@ngln@s@liser{\afterassignment\EP@ngln@s@laux\let\tr@@c=}
\def\EP@ngln@s@laux{%
  \if\tr@@c i{\~{\ae}}%
  \else \if \tr@@c a{\~\textscripta\textlengthmark}%
  \else \if \tr@@c o{\~\textopeno\textlengthmark}%
  \else \if \tr@@c u{\~\textrevepsilon\textlengthmark}%
  \else \EP@Erreur@Msg{m}{\tr@@c}%
  \fi \fi \fi \fi}
%    \end{macrocode}
% \end{macro} 
% \begin{macro}{\EP@ngln@s@liser}
%   Cette macro écrit les sons optionnels en s'appuyant sur le même
%   mécanisme. La macro auxiliaire \cs{EP@option@lsoundaux} sera
%   redéfinie si l'option \Option{harraps} a été choisie. 
%    \begin{macrocode}
\def\EP@option@lsound{\afterassignment\EP@option@lsoundaux\let\tr@@c=}
\def\EP@option@lsoundaux{%
  \if\tr@@c e\textsuperscript{\,\textschwa}%
  \else {\textsl{\tr@@c}}\fi}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\EP@Speci@l}
%   On ne change pas une équippe qui gagne, aussi, je reprends le même
%   mécanisme pour la macro qui insère les points de coupure avec ou
%   sans marque de syllabisation ou d'accent tonique quelques soient
%   les options en vigueur. Elle sera appelée par |£K|.
% \changes{v2}{2008-05-08}
%             {Création sur le modèle de \cs{EP@fr@nn@s@lise}.}
%    \begin{macrocode}
\def\EP@Speci@l{\afterassignment\EP@Speci@laux\let\tr@@c=}
\def\EP@Speci@laux{%
  \if\tr@@c k\EPSyllabeMarque%
  \else \if \tr@@c K\EPSyllabeCoupure%
  \else \if \tr@@c b\EP@basSans%
  \else \if \tr@@c B\EP@basAvec%
  \else \if \tr@@c h\EP@hautSans%
  \else \if \tr@@c H\EP@hautAvec%
  \else \if \tr@@c X\discretionary{}{}{}%
  \else \EP@Erreur@Msg{K}{\tr@@c}%
  \fi \fi \fi \fi \fi \fi \fi}
%    \end{macrocode}
% \end{macro} 
%
% On procède à des redéfinitions si l'option \Option{harraps} a été choisie.
% \begin{macro}{\EP@euou}
% Redéfinition quand l'option \Option{harraps} est choisie.
%    \begin{macrocode}
\ifthenelse{\boolean{b@jones}}{%
%    \end{macrocode}
% L'option \Option{jones} est choisie, il n'y a rien à faire! 
%    \begin{macrocode}
}{%
%    \end{macrocode}
% Cette fois-ci ce n'est pas \Option{jones} donc c'est \Option{harraps}! 
%    \begin{macrocode}
  \renewcommand{\EP@euou}{\emph{o}}
%    \end{macrocode}
% \changes{v0.1a}{2003/04/24}{Renommage pour que
% \Option{harraps} ait un effet.}  
% \end{macro}
% \begin{macro}{\EP@option@soundaux}
% Redéfinition par l'option \Option{harraps}. C'est par son intermédiaire que
% la macro \cs{EP@option@lsound} réalise la présentation des sons
% optionnels. 
%    \begin{macrocode}
  \def\EP@option@lsoundaux{(\tr@@c)}
  \renewcommand{\EP@silent@r}{\emph{r}}}
%    \end{macrocode}
%   \end{macro}
% On redéfinit certaines macros si l'option \Option{tipastress} a été
% choisie.
% \begin{macro}{\EP@bas}
% Cette commande interne réalise la marque d'accent tonique
% secondaire, elle est redéfinie par l'option \Option{tipastress}. 
%    \begin{macrocode}
\ifthenelse{\boolean{tip@style}}{%
  \renewcommand{\EP@bas}{\textsecstress}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\EP@bas}
% Cette commande interne réalise la marque d'accent tonique
% principal, elle aussi est redéfinie par l'option
% \Option{tipastress}. 
%    \begin{macrocode}
  \renewcommand{\EP@haut}{\textprimstress}}{}
%    \end{macrocode}
% \end{macro}
%
% \subsection{Les macros de redéfinition}
%
% Je range dans cette section les macros qui permettent de changer le
% comportement des marques \emph{normales} de syllabisation et accents
% toniques soumises aux options \Option{(un)hyphenable}
% et\Option{(in)visible}. Je ne fournis pas d'environnement lié à ces
% changements, on utilisera un groupe \TO avec p.~ex. \cs{bgroup}
% |...| \cs{egroup}\TF si l'on veut localiser l'effet de ces macros. 
% 
% \begin{macro}{\MakeHyphenable}
% Redéfinit les macros liées à |£H|, |£h|, |£B|, |£b| et |£k| pour
% qu'elles fournissent des marques sécables. La visibilité de |£k|
% n'est pas modifiée. 
% \changes{v2}{2008-05-08}
%         {Création.}
%    \begin{macrocode}
\newcommand\MakeHyphenable{%
  \setboolean{b@hyphenable}{true}%
  \renewcommand\EP@bas{\EP@basAvec}%
  \renewcommand\EP@haut{\EP@hautAvec}%
  \ifthenelse{\boolean{b@visible}}
     {\renewcommand\EP@SyllabeEffective{\EPSyllabeCoupure}}
     {\renewcommand\EP@SyllabeEffective{\discretionary{}{}{}}}%
} 
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\MakeUnHyphenable}
% La s½ur ennemie de la précédente. 
% \changes{v2}{2008-05-08}
%         {Création.}
%    \begin{macrocode}
\newcommand\MakeUnHyphenable{%
  \setboolean{b@hyphenable}{false}%
  \renewcommand\EP@bas{\EP@basSans}%
  \renewcommand\EP@haut{\EP@hautSans}%
  \ifthenelse{\boolean{b@visible}}
     {\renewcommand\EP@SyllabeEffective{\EPSyllabeMarque}}
     {\renewcommand\EP@SyllabeEffective{\relax}}%
} 
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\MakeVisible}
% Redéfinit la macro liée à |£k| pour
% qu'elle fournisse des marques visibles. La sécabilité de |£k|
% n'est pas modifiée.
% \changes{v2}{2008-05-08}
%         {Création.} 
%    \begin{macrocode}
\newcommand\MakeVisible{%
  \setboolean{b@visible}{true}%
  \ifthenelse{\boolean{b@hyphenable}}
     {\renewcommand\EP@SyllabeEffective{\EPSyllabeCoupure}}
     {\renewcommand\EP@SyllabeEffective{\EPSyllabeMarque}}%
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\MakeInVisible}
% L'antagoniste de la précédente. 
% \changes{v2}{2008-05-08}
%         {Création.}
%    \begin{macrocode}
\newcommand\MakeInVisible{%
  \setboolean{b@visible}{false}%
  \ifthenelse{\boolean{b@hyphenable}}
     {\renewcommand\EP@SyllabeEffective{\discretionary{}{}{}}}
     {\renewcommand\EP@SyllabeEffective{\relax}}%
}
%    \end{macrocode}
% \end{macro}
% 
% \subsection{Les macros \GBP}
% 
% On définit les macros sous la forme \GBP\meta{une lettre} en ayant
% changé le catcode de \GBP pour en faire une lettre. Puis on active
% la livre.  Le caractère actif \GBP prend un argument |arg| puis
% écrit la commande |\£arg|. Si ce qui suit est une lettre,
% p. ex. |a|, on obtient alors la macro |\£a| qui sera redéveloppée
% par \TeX{} pour donner ce à quoi |\£a| a été rendue identique
% lorsque \GBP était une lettre par \cs{def}. Le mécanisme des arguments
% de macro de \TeX{} permet de définir des macros comme |\£abc| mais
% alors il faudra taper |£{abc}| pour que le groupe |abc| soit
% considéré comme l'argument du caractère actif \GBP.
% \changes{v2}{2008/05/08} {\cs{def} remplace \cs{let} dans la
%   définition des macros à livre.}
%    \begin{macrocode}
\makepoundletter
\def\£a{\ae}                    \def\£A{\EP@al@ng}
\def\£b{\EP@bas}                \def\£B{\EP@bas}
\def\£c{\textopeno}             \def\£C{\textscripta}
\def\£d{\EP@djeu}   
%    \end{macrocode}           
% ^^A \let\£D
%    \begin{macrocode}
\def\£e{\textschwa}             \def\£E{\EP@eul@ng}
\def\£f{\texttheta}            
%    \end{macrocode}           
% ^^A \let\£F
%    \begin{macrocode}
\def\£h{\EP@haut}               \def\£H{\EP@haut}
\def\£i{\EP@icourt}             \def\£I{\EP@il@ng}
\def\£j{\textyogh}    
%    \end{macrocode}      
% ^^A \let\£J  
%    \begin{macrocode}
\def\£l{\EP@syll@bicl}          \def\£L{\textbeltl}
\def\£m{\EP@ngln@s@liser}       \def\£M{\EP@fr@nn@s@liser}
\def\£n{\ng}                    \def\£N{\EP@ng@g}
\def\£o{\textturnscripta}       \def\£O{\EP@ol@ng}
\def\£p{\EP@ahyi}               \def\£P{\EP@eheu}
\def\£q{\EP@ehyi}               \def\£Q{\EP@iyeu}
\def\£r{\EP@ohyi}               \def\£R{\EP@oueu}
\def\£s{\textesh}   
%    \end{macrocode}  
% ^^A \let\£S
%    \begin{macrocode}
\def\£t{\EP@tcheu}              \def\£T{\EP@usfl@ppedt}
\def\£u{\textupsilon}           \def\£U{\EP@ul@ng}
\def\£v{\textturnv}             \def\£V{\EP@usoou}
\def\£w{\EP@euou}               \def\£W{\EP@ahou}
\def\£x{\textrevepsilon}        \def\£X{\EP@option@lsound}
\def\£y{\textrhookschwa}       
%    \end{macrocode}
% ^^A \let\£Y 
%    \begin{macrocode}
\def\£z{\dh}                    \def\£Z{\EP@silent@r}
%    \end{macrocode}
% ^^A  some other free slots *** quelques cases libres
% ^^A \let\£g                    %\let\£G 
% 
%   Cette macro est liée à \cs{EP@SyllabeEffective} qui est gouvernée
%   par les options \Option{hyphenable}\slash\Option{unhyphenable} et
%   \Option{visible}\slash\Option{invisible}. Avec
%   \Option{hyphenable}, elle insère un point de coupure. Avec 
%   \Option{visible}, elle insère la marque de syllabisation définie
%   par \cs{EPSyllabeMarque}.
%    \begin{macrocode}
\ifthenelse{\boolean{b@visible}}{%
%    \end{macrocode}
% La marque doit être visible.
%    \begin{macrocode}
  \ifthenelse{\boolean{b@hyphenable}}{%
    \newcommand\EP@SyllabeEffective{\EPSyllabeCoupure}}{%
    \newcommand\EP@SyllabeEffective{\EPSyllabeMarque}}}{%
%    \end{macrocode}
% La marque doit être invisible.
%    \begin{macrocode}
  \ifthenelse{\boolean{b@hyphenable}}{%
    \newcommand\EP@SyllabeEffective{\discretionary{}{}{}}}{%
    \newcommand\EP@SyllabeEffective{\relax}}
}
\def\£k{\EP@SyllabeEffective}
%    \end{macrocode}
%    \begin{macrocode}
\def\£K{\EP@Speci@l}
%    \end{macrocode}
% 
% \changes{v2}{2008/05/08}
%         {Redéfinition de la livre avec \cs{ReDeclareRobActChar}.} 
% \changes{v2}{2008/08/14}
%         {Redéfinition en tenant compte de l'option drac/nodrac.}
%    \begin{macrocode}
\catcode `\£=\active
\ifthenelse{\boolean{b@drac}}
  {\DeclareRobustActChar{£}[1]{\csname \string£#1\endcsname}}
  {\def£#1{\csname \string£#1\endcsname}}
%    \end{macrocode}
% 
% \subsection{Parce que tout finit un jour\dots}
% 
% Enfin on redéfinit le caractère actif \GBP comme à l'entrée si
% l'option \Option{tame} a été choisie. Et le reste est une autre
% histoire. 
%    \begin{macrocode}
\ifthenelse{\boolean{b@wild}}{}{%
\EP@ActiveL@Livre \global\let£=\l@viellelivre\relax
}
%    \end{macrocode}
% \iffalse
%</package>
% \fi
% \Finale\PrintChanges\PrintIndex
% \iffalse
%<*doc-sty>
\ProvidesPackage{engpron-tools}
\RequirePackage[a4paper,%
                inner=5cm,%
                outer=2cm,%
                marginparwidth=5cm]{geometry}
\RequirePackage{fancyvrb}
\AtBeginDocument{\DefineShortVerb{\|}}
\newcommand\BOP{\discretionary{}{}{}}
\newcommand\Option[1]{\textsc{#1}}
\newcommand\Pkg[1]{\textsf{#1}}
\newcommand{\TO}{\textemdash\ \ignorespaces}
\newcommand{\TF}{\unskip\ \textemdash\xspace}
\newcommand{\CAD}{c.-à-d.\xspace}
\newcommand\NOUVEAU[1]{{\slshape #1}}
\newcommand\Sourire{\texttt{\string;-)}}
%%% piqué dans doc.sty
\DeclareRobustCommand\meta[1]{%
     \ensuremath\langle
     \ifmmode \expandafter \nfss@text \fi
     {%
      \meta@font@select
      \edef\meta@hyphen@restore
        {\hyphenchar\the\font\the\hyphenchar\font}%
      \hyphenchar\font\m@ne
      \language\l@nohyphenation
      #1\/%
      \meta@hyphen@restore
     }\ensuremath\rangle
}
\def\meta@font@select{\itshape}

\def\GetFileInfo#1{%
  \def\filename{#1}%
  \def\@tempb##1 ##2 ##3\relax##4\relax{%
    \def\filedate{##1}%
    \def\fileversion{##2}%
    \def\fileinfo{##3}}%
  \edef\@tempa{\csname ver@#1\endcsname}%
  \expandafter\@tempb\@tempa\relax? ? \relax\relax}

%%% piqué dans ltxdoc.cls
\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
\providecommand\marg[1]{%
  {\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}}
\providecommand\oarg[1]{%
  {\ttfamily[}\meta{#1}{\ttfamily]}}
\providecommand\parg[1]{%
  {\ttfamily(}\meta{#1}{\ttfamily)}}

%%% redéfinitions et définitions
\newcommand\PrintDescribeMacro[1]{\cs{#1}}
\newcommand\PrintDescribePoundMacro[1]{\texttt{£#1}}
\def\DescribePoundMacro{\leavevmode\@bsphack
   \begingroup\Describe@PoundMacro}
\def\Describe@PoundMacro#1{\endgroup
  \marginpar{\raggedleft\PrintDescribePoundMacro{#1}}%
  \index{£#1@\PrintDescribePoundMacro{#1}}\@esphack\ignorespaces}
\def\DescribeMacro{\leavevmode\@bsphack
   \begingroup\Describe@Macro}
\def\Describe@Macro#1{\endgroup
  \marginpar{\raggedleft\PrintDescribeMacro{#1}}%
  \index{#1@\PrintDescribeMacro{#1}}\@esphack\ignorespaces} 
\newcommand\DescribeOption[1]{\@bsphack 
  \marginpar{\raggedleft\textsc{#1}}%
  \index{#1@\Option{#1} (option)}%
  \index{option!\Option{#1}}\@esphack\ignorespaces} 
\newcommand\DescribeEnv[1]{\@bsphack 
  \marginpar{\raggedleft\texttt{#1}}%
  \index{#1@\texttt{#1} (environnement)}%
  \index{environnement!\texttt{#1}}\@esphack\ignorespaces} 
\reversemarginpar
%</doc-sty>
% \fi
% \iffalse
%<*exemple>
\documentclass[a4paper]{article}
\usepackage{array,xspace}
\usepackage[latin1]{inputenc}
\usepackage[tame,hyphenable]{engpron}[2008/08/15]
\usepackage[T1]{fontenc}
\usepackage{lmodern}
%<fr>\usepackage[english, frenchb]{babel}
%<en>\usepackage[frenchb, english]{babel}
\setlength{\parindent}{0pt}
\newcommand\BOP{\discretionary{}{}{}}
\newcommand{\TO}{\textemdash\ \ignorespaces}
\newcommand{\TF}{\unskip\ \textemdash\xspace}
\newcommand\Pkg[1]{\textsf{#1}}
\newcommand\Option[1]{\textsc{#1}}
%<fr>\newcommand{\CAD}{c.-à-d.\xspace}
\begin{document}
\begin{center}\LARGE
%<fr> Utilisation du module \Pkg{engpron}
%<en> Usage of the \Pkg{engpron} package
\end{center}
%<*fr>
Voici quelques exemples d'utilisation des macros avec \texttt{£}. Le
module \verb+engpron+ est chargé avec les options \Option{jones},
\Option{monstress}, \Option{unhyphenable}, \Option{visible},
\Option{nice} et \Option{final} \TO options par défaut\TF et l'option
explicite \Option{tame} qui remplace l'option par défaut
\Option{wild}.
%</fr>
%<*en>
Here are some examples of the usage of the \texttt{£}-macros. The
\verb+engpron+ package is loaded whith the options \Option{jones},
\Option{monstress}, \Option{unhyphenable}, \Option{visible},
\Option{nice}, and \Option{final} \TO default options\TF and the
explicit option \Option{tame} which replaces the default option
\Option{wild}.
%</en>
%<*fr>
\paragraph{Macro \texttt{£X}} Cette macro \emph{doit} être suivie d'une
lettre seule. Elle note les sons optionnels à la manière de
Jones~\cite{jones15}, avec l'option \Option{jones}, ou à la manière du
Harraps~\cite{harraps}, avec l'option \Option{harraps}. 

On aura par exemple
\verb!\PRON{!\texttt{£e£h£Xt£s£U£kli£k£en}\verb!}! 
qui donnera \PRON{£e£h£Xt£s£U£kli£k£en}.  

Suivie de la lettre \og e \fg elle donne \Pron{£Xe}
(\verb+\Pron{£Xe}+) comme dans \PRON{£B£af£kek£Ht£q£k£s£Xen} qui 
s'obtient avec \verb+\PRON{£B£af£kek£Ht£q£k£s£Xen}+.
%</fr>
%<*en>
\paragraph{The \texttt{£X} macro} This macro \emph{must} be 
followed by a single letter. It notes the optional sounds the way
Jones~\cite{jones15} does if option \Option{jones} has been chosen,
or,  the Harraps~\cite{harraps} does if option \Option{harraps} has
been chosen. 

One would type for example
\verb!\PRON{!\texttt{£e£h£Xt£s£U£kli£k£en}\verb!}! 
to obtain \PRON{£e£h£Xt£s£U£kli£k£en}.  

Followed by the letter `e' it gives \Pron{£Xe}
(\verb+\Pron{£Xe}+) as in \PRON{£B£af£kek£Ht£q£k£s£Xen} one can 
obtain with \verb+\PRON{£B£af£kek£Ht£q£k£s£Xen}+.
%</en>
%<*fr>
\paragraph{Macros \texttt{£M} et \texttt{£m}} Elles permettent
d'obtenir les voyelles nasalisés, à la mode française pour la 1\iere
et à la mode anglaise pour la 2\up{de}. Se reporter à la 2\ieme
table. Elles doivent être suivies d'une des lettres : a, i, o,
u. Penser à \og ban \fg, \og vin \fg, \og long \fg et \og parfum \fg
(dans la prononciation très correcte du français soutenu).
%</fr>
%<*en>
\paragraph{\texttt{£M} and \texttt{£m} macros} They give the French
nasalised vowels, French way for the 1rst one and English way for the
2nd. See the 2nd table. They must be followed by one of the following
letters: a, i, o, u. One may think to the French
`restaur\textbf{ant}', `v\textbf{in}', `b\textbf{on} marché',
`Verd\textbf{un}'.
%</en>
%<*fr>
\paragraph{Macro \texttt{£Z}} Elle note le \og r \fg final qui n'est
prononcé qu'en cas de liaison. On a, p. ex. \Pron{£H£akt£e£Z} avec
\verb+\Pron{£H£akt£e£Z}+.
%</fr>
%<*en>
\paragraph{Macro \texttt{£Z}} It notes the final `r' which is only
pronunced when followed by a vowel. One has e.g. \Pron{£H£akt£e£Z} with
\verb+\Pron{£H£akt£e£Z}+.
%</en>
%<*fr>
\paragraph{Macro \texttt{£k}} Son comportement est déterminée par les
options \Option{hyphenable} \TO qui s'oppose à
\Option{unhyphenable}\TF et \Option{visible} \TO qui s'oppose à
\Option{invisible}. Elle sert à marquer les limites de syllabes. 
 
Avec l'option \Option{visible}, option par défaut, on obtient une
marque qui est par défaut [.] et est définie par la
macro \verb+\EPSyllabeMarque+. Cette dernière peut être redéfinie à
l'aide de \verb+\renewcommand+.  Avec l'option \Option{invisible},
\verb+£k+ ne produit aucun glyphe.

Avec l'option \Option{hyphenable}, \verb+£k+ permet la césure mais
l'interdit avec l'option \Option{unhyphenable} qui est l'option par 
défaut. 
%</fr>
%<*en>
\paragraph{Macro \texttt{£k}} Its beheviour is controlled by the
options \Option{hyphenable} \TO which is the contrary of
\Option{unhyphenable}\TF and \Option{visible} \TO contrary of
\Option{invisible}. It is used to mark the syllable limits.

With the default option \Option{visible} it produces a glyph which is
by default [.] and defined by the macro
\verb+\EPSyllabeMarque+.  This macro can be redefined with a
\verb+\renewcommand+ if necessary. With option \Option{invisible} \verb+£k+
doesn't produce any glyph. 

With option \Option{hyphenable} \verb+£k+ allows a break but prevent it
with \Option{unhyphenable} which is the default.
%</en>
%<*fr>
\paragraph{Macro \texttt{£K}} Son comportement est déterminée par la
lettre suivante. \texttt{X} donne un point de césure invisible,
\texttt{k} une marque insécable et visible de syllabisation,
\texttt{K} une marque \emph{sécable} et visible de syllabisation,
\texttt{b} une marque d'accent tonique secondaire insécable,
\texttt{B} une marque d'accent tonique secondaire \emph{sécable},
\texttt{h} une marque d'accent tonique principal insécable et, enfin,
\texttt{H} une marque d'accent tonique principal \emph{sécable}. Son
comportement \textbf{ne dépend pas} des options en vigueur.
%</fr>
%<*en>
\paragraph{Macro \texttt{£K}} Its behaviour is determined by the
following letter. \texttt{X} gives an invisible breakable point,
\texttt{k} a visible unbreakable mark of syllable limit, \texttt{K} a
visible \emph{breakable} mark of syllable limit, \texttt{b} an
unbreakable mark of secondary stress, \texttt{B} a \emph{breakable}
mark of secondary stress, \texttt{h} an unbreakable mark of primary
stress, and, avant last, \texttt{H} a \emph{breakable} mark of primary
stress. Its behaviour \textbf{doesn't depend} on the enforced options.
%</en>
\vspace*{\stretch{1}} 

\begin{thebibliography}{99}
\bibitem{jones15} Daniel~\textsc{Jones} \dag.
\emph{English Pronouncing Dictionary}.
15th Edition. This major new edition edited by Peter Roach \& James
Hartman. 
Cambridge University Press, 1997.
\textsc{isbn} : \texttt{0-521-45903-6}
\bibitem{harraps} J. E. \textsc{Manson}, M.A.
\emph{Harrap's New Shorter French And English Dictionary.}
Revised edition \copyright{} George G. Harrap \&
Co. Ltd. \oldstylenums{1967}. 
Bordas diffuseur, \oldstylenums{1980}.
\textsc{isbn} : \texttt{0 245 59062 5}
\end{thebibliography}
\newpage

\vspace*{\stretch{1}}

\begin{LivreActive}\Large
\hspace*{\stretch{1}}
\begin{tabular}[c]{|>{\ttfamily }c|c||>{\ttfamily }c|c||>{\ttfamily
    }c|c||>{\ttfamily }c|c||>{\ttfamily }c|c|}\hline
\multicolumn{10}{|c|}{
%<fr>Classement par ordre alphabétique
%<en>The macros in alphabetic order
}\\
\multicolumn{10}{|c|}{
%<fr>L'étoile renvoie aux explications ci-dessus
%<en>The star refers to the preceding explanations
}\\ \hline
\£a & £a & \£b & £b & \£c & £c & \£d & £d & \£e  & £e \\ \hline
\£f & £f & \£g & £g & \£h & £h & \£i & £i & \£j  & £j \\ \hline
\£k & $\ast$ & \£l & £l & \£m & $\ast$ & \£n & £n & \£o  & £o \\ \hline
\£p & £p & \£q & £q & \£r & £r & \£s & £s & \£t  & £t \\ \hline
\£u & £u & \£v & £v & \£w & £w & \£x & £x & \£y  & £y \\ \hline
\£z & £z &     &    &     &    &     &    &      &    \\ \hline
\£A & £A & \£B & £B & \£C & £C & \£D & £D & \£E  & £E \\ \hline
\£F & £F & \£G & £G & \£H & £H & \£I & £I & \£J  & £J \\ \hline
\£K & $\ast$ & \£L & £L & \£M & $\ast$ & \£N & £N & \£O  & £O \\ \hline
\£P & £P & \£Q & £Q & \£R & £R & \£S & £S & \£T  & £T \\ \hline
\£U & £U & \£V & £V & \£W & £W & \£X & $\ast$ & \£Y  & £Y \\ \hline
\£Z & £Z &     &    &     &    &     &    &      &    \\ \hline
\end{tabular}
\hspace*{\stretch{1}}
\end{LivreActive}

\vspace*{\stretch{1}}
\newpage
\thispagestyle{empty}

\vspace*{\stretch{1}}
\begin{LivreActive}
\hspace*{\stretch{1}}
{\Large
\begin{tabular}[c]{|>{\ttfamily }c|c||>{\ttfamily }c|c||>{\ttfamily
    }c|c||>{\ttfamily }c|c|}\hline
\multicolumn{8}{|c|}{
%<fr>Voyelles
%<en>Vowels
}\\ \hline
\£a & £a & \£A & £A & \£e & £e & \£E & £E \\ \hline
\£i & £i & \£I & £I & \£o & £o & \£O & £O \\ \hline
\£u & £u & \£U & £U & \£v & £v & \£x & £x \\ \hline
\£c & £c & \£C & £C & \£y & £y &     &    \\ \hline
\multicolumn{8}{|c|}{
%<fr>Diphtongues
%<en>Diphtongs
}\\ \hline
\£p & £p & \£q & £q & \£r & £r & \£P & £P\\ \hline
\£Q & £Q & \£R & £R & \£w & £w & \£W & £W\\ \hline
\£V & £V &     &    &     &    &     &   \\ \hline
\multicolumn{8}{|c|}{
%<fr>Consonnes
%<en>Consonants
}\\ \hline
\£d & £d & \£f & £f & \£j & £j & \£l & £l \\ \hline
\£n & £n & \£s & £s & \£t & £t & \£z & £z \\ \hline
\£T & £T & \£L & £L &     &    &     &    \\ \hline
\multicolumn{8}{|c|}{
%<fr>Accents toniques
%<en>Stress
}\\ \hline
\£b & £b & \£B & £B & \£h & £h & \£H & £H \\ \hline
\£Kb & £Kb & \£KB & £KB & \£Kh & £Kh & \£KH & £KH \\ \hline
\multicolumn{8}{|c|}{
%<fr>Voyelles nasalisées
%<en>Nasalised vowels
}\\
\multicolumn{8}{|c|}{
%<fr>prononciation française
%<en>French pronunciation
}\\ \hline
\£Ma & £Ma & \£Mi & £Mi & \£Mo & £Mo & \£Mu & £Mu \\ \hline
\multicolumn{8}{|c|}{
%<fr>prononciation anglaise
%<en>English pronunciation
}\\ \hline
\£ma & £ma & \£mi & £mi & \£mo & £mo & \£mu & £mu \\ \hline
\multicolumn{8}{|c|}{
%<fr>Syllabisation
%<en>Syllables marking
}\\ \hline
\£k & £k & \£Kk & £Kk & \£KK & £KK & \£KX& £KX\\ \hline
\end{tabular}}
\hspace*{\stretch{1}}
\vspace*{\stretch{4}}

{\footnotesize 
%<*fr>
Le tableau ci-dessus est écrit dans un environnement
\verb+LivreActive+ et l'on doit utiliser la macro \verb+\+\texttt{\£}
pour obtenir le caractère \£. Mais on peut écrire \og £a \fg
directement avec \og \texttt{\£a} \fg.

Lorsque l'on se trouve dans l'environnement \verb+LivreActive+, on
obtient \pron{£H£akt£e£Z} avec
\verb+\pron{+\texttt{\£H}\BOP\texttt{\£akt}\BOP\texttt{\£e}\BOP%
  \texttt{\£Z}\verb+}+ mais on remarquera, en lisant ce fichier
\texttt{engpron-ex-fr.tex} ce qu'il faut faire comme \og gymnastique \fg
pour obtenir un semblant de \texttt{verbatim}.
%</fr>
%<*en>
The preceding table is written in a \verb+LivreActive+-environment and
one must use the \verb+\+\texttt{\£}-macro to obtain the character
\£. But one can type `£a' with a straightforward `\texttt{\£a}'.

Inside a \verb+LivreActive+-environment, one obtains \pron{£H£akt£e£Z}
with \verb+\pron{+\texttt{\£H}\BOP\texttt{\£akt}\BOP\texttt{\£e}\BOP%
\texttt{\£Z}\verb+}+ but one will notice by reading the present
\texttt{engpron-ex-en.tex} file what is required to obtain a semblance of
\texttt{verbatim}.
%</en>
}

\vspace{2\baselineskip}
\newlength{\montruc}\settowidth{\montruc}{Yvon \textsc{Henel}, \TeX
  nicien de surface.} 
\hspace*{\stretch{1}}\makebox[\montruc][c]{Yvon \textsc{Henel}, \TeX
  nicien de surface.}\\[.5\baselineskip] 
\hspace*{\stretch{1}}\makebox[\montruc][c]{2008-07-15}

\vspace*{\stretch{1}}
\end{LivreActive}
\end{document}
%</exemple>
% \fi
% \iffalse
%<*doc>
\documentclass[a4paper]{article}
\usepackage{xspace,array}
\usepackage[latin1]{inputenc}
\usepackage[tame,hyphenable]{engpron}
\usepackage[T1]{fontenc}
%<fr>\usepackage[english,frenchb]{babel}
%<en>\usepackage[frenchb,english]{babel}
\usepackage{engpron-tools}
\usepackage{makeidx}
\usepackage[colorlinks=true,
            linkcolor=blue,
            urlcolor=blue,
            citecolor=blue]{hyperref}
\makeindex
\begin{document}
\GetFileInfo{engpron.sty}
\newcommand{\GBP}{\texttt{£}\xspace}
%<*fr>
\title{Documentation française de l'extension
  \textsf{engpron}\thanks{% 
  Ce document correspond au fichier
  \textsf{engpron}~\fileversion, 
  du \filedate, édition du cinquantenaire.}}
%</fr>
%<*en>
\title{The English documentation of the package
  \textsf{engpron}\thanks{This document corresponds to the file
    \textsf{engpron}~\fileversion, dated \filedate.}}
%</en>
\author{Le \TeX nicien de surface\\ 
        \href{mailto:le.texnicien.de.surface@wanadoo.fr}% 
        {le.texnicien.de.surface@wanadoo.fr}}
\date{\docdate}

\maketitle

%<*fr>
\begin{abstract}
  Ce module n'est qu'une petite poignée fixée tant bien que mal sur
  le module \Pkg{tipa} dont je tiens à remercier l'auteur,
  \textsc{Fukui}~Rei, très cordialement. Je remercie également
  T.~\textsc{Lachand-Robert} pour son ouvrage~\cite{tlachand} sans
  lequel je ne serais que peu de chose |;)| et
  Josselin~\textsc{Noirel} pour ses conseils sur
  \url{fr.comp.text.tex} ainsi que pour \og notre \fg module
  \Pkg{drac}.

  Ce module fournit des macros\footnote{appelées ensuite \og macros
    en \GBP \fg.} commençant par le caractère \GBP, rendu actif, qui
  permettent d'écrire la prononciation de l'anglais britannique ou
  américain à l'aide de l'API telle qu'on la trouve dans le \og
  English Pronouncing Dictionary \fg de Daniel~\textsc{Jones}. Une
  option permet d'obtenir le style adopté par le
  Harraps~\cite{harraps}.

  Le module \Pkg{engpron} utilise, si l'option \Option{drac} est
  choisie comme c'est le cas par défaut, le module \Pkg{drac} pour
  faire de \GBP un caractère actif robuste, ce qui permet d'utiliser
  les macros en \GBP dans des arguments \og mobiles \fg au sens de
  \LaTeX.

  On trouvera en fin de document (page~\pageref{latable}) une table
  des commandes commençant par un \GBP dans la configuration par
  défaut : \Option{monstress} et \Option{jones}.
\end{abstract}
%</fr> 
%<*en> 
\begin{abstract}
  This package is a tiny handle hardly correctly sewn on the package
  |tipa| the author of which, \textsc{Fukui}~Rei, I thank very much. I
  also wish to thank T.~\textsc{Lachand-Robert} for his
  book~\cite{tlachand}, without which I would far less able than I am
  (poorly) nowadays, and Josselin~\textsc{Noirel} for his invaluable
  pieces of advice with which he provided me on
  \url{fr.comp.text.tex}.

  This new (2) version can use the package \texttt{drac} created by
  Josselin~\textsc{Noirel} if the relevant option is choosen as it is
  the case by default. 

  This package provides macros beginning with the \GBP character, made
  active, which enable us to write the British or American English
  pronunciation as one can find it in the ``English Pronouncing
  Dictionary'' by Daniel~Jones. There is an option to typeset the
  pronunciation in the style of the Harrap's~\cite{harraps}.

  I provide a table (page~\pageref{latable}) at the end of this
  document in which one could find the macros beginning with a
  \texttt{£} and their effect when the options by default
  |monstress| and |jones| are enforced.
\end{abstract}
%</en>

\tableofcontents

%<fr>\section{Utilisation}
%<en>\section{Usage}

%<*fr>
Ce module charge \Pkg{tipa}, merveilleux module qui permet
d'écrire en API, alphabet phonétique international, avec
\LaTeX{}. Il fournit quelques macros qui permettent de reprendre la
prononciation de l'anglais britannique et américain telle qu'on la
trouve dans le \textsc{Jones}~\cite{jones15} ou dans~\cite{jones}.

L'extension \Pkg{drac} est utilisé, par défaut, pour faire de \GBP un
caractère actif robuste au sens de \LaTeX.
%</fr>
%<*en>
This package loads \Pkg{tipa}, with which one can write with the
API\footnote{Alphabet Phonétique International} through \LaTeX. It
provides some macros which enable one to typeset the British or
American English pronunciation \emph{à la}
\textsc{Jones}~\cite{jones15} (default) or as
\textsc{Harrap}~\cite{harraps} with the package option
\Option{harraps}.

The \Pkg{drac} package is used by default to make of \GBP a robust (in
\LaTeX\ parlance) active character.
%</en>

%<fr>\subsection{Le module et ses options}
%<en>\subsection{The Package and its Options}

%<*fr>
On présente ici les options de \Pkg{engpron}. On chargera
\Pkg{engpron} avec, p.~ex.,
\cs{usepackage}|[|\BOP|wild|\BOP|]|\BOP|{|\BOP|engpron|\BOP|}|. 

J'ai tenté de regrouper les options par rapport à leurs effets.  
%</fr>
%<*en>
Here come the options of \Pkg{engpron}. You can load
\Pkg{engpron} with
e.~g.\ \cs{usepackage}|[|\BOP|wild|\BOP|]|\BOP|{|\BOP|engpron|\BOP|}|. 

I have tried to group the options according to their effect. 
%</en>

%<fr>\subsubsection{Comportement de \GBP} 
%<en>\subsubsection{\GBP's Behaviour} 

%<*fr>
Par défaut, ou explicitement avec l'option \Option{wild}, ce module
rend le caractère \GBP actif et le redéfinit de manière à
\DescribeOption{wild} permettre la définition de macros comme
|£a| et leur utilisation dans tout le texte. Il permet également
d'obtenir une présentation uniforme de la prononciation à l'aide de
la macro \cs{pron}\marg{texte en API}.
%</fr>
%<*en>
By default or with the option \Option{wild} this package makes the
\DescribeOption{wild}
character \GBP active et redefines it to enable the definition of
macros such as |£a| and their usage in all the text. It also enables
us to obtain a uniform presentation of the pronunciation with the
macro \cs{pron}\marg{text in API}. 
%</en>
%<*fr>
Si l'on préfère, on peut choisir l'option \Option{tame}
qui rétablit le caractère \GBP dans sa catégorie dans le
\DescribeOption{tame}
codage fournit par |fontenc|\oarg{T1} et donc le rend actif et lui
permet d'écrire le symbole de la livre sterling. Il faudra alors
utiliser soit la macro \cs{Pron}\marg{texte en API}, soit
\cs{PRON}\marg{texte en API}  \TO et obtenir ainsi la présentation
donnée par \cs{pron}\TF soit enfin l'environnement |LivreActive| dans
lequel \GBP est activé. 
%</fr>
%<*en>
If you prefer, you can chose the option \Option{tame} which
reestablish the character \GBP in its usual category in the 
\DescribeOption{tame}
encoding given by |fontenc|\oarg{T1} i.~e.\ makes it active and makes
it print the symbol of the pound. You will have to use either the
macro \cs{Pron}\marg{text in API} or \cs{PRON}\marg{text in API} \TO and
thus obtain the presentation ensured by \cs{pron}\TF or the
environment |LivreActive| in which \GBP is active.
%</en>

%<*fr>
Par défaut, ou explicitement avec l'option \Option{drac}, ce module
\DescribeOption{drac}
utilise l'extension \Pkg{drac} pour faire de \GBP un caractère
actif et \emph{robuste} au sens des arguments mouvants de \LaTeX. 
\DescribeOption{nodrac}
L'option opposée est \Option{nodrac} qui ne charge pas l'extension
\Pkg{drac} est conserve les définitions de \GBP données par la
version~1. 
%</fr>
%<*en>
By default or explicitly with option \Option{drac} this package
\DescribeOption{drac}
uses the \Pkg{drac} package to turn \GBP into a \emph{robust} active
character where \emph{robust} has the meaning it has in the context of
\LaTeX{} moving arguments. 
\DescribeOption{nodrac}
The opposite option is \Option{nodrac} with which \Pkg{drac} is not
loaded and \GBP keeps the definition given in the version~1. 
%</en>


%<fr>\subsubsection{Aspect du texte}
%<en>\subsubsection{The Look of the Text}

%<*fr>
Par défaut \Pkg{engpron} active l'option \Option{jones} qui
\DescribeOption{jones} permet d'obtenir une présentation du \og r \fg
final \PRON{a£Z} et des sons optionnels conforme à~\cite{jones15}. On
obtient \PRON{n£Xen} pour le \og schwa \Pron{£e} \fg et \PRON{a£Xt£sa}
pour un \og t \fg optionnel.
%</fr>
%<*en>
By default \Pkg{engpron} enforces the option \Option{jones} and so
\DescribeOption{jones} gives the presentation of the final ``r''
\PRON{a£Z} and of the optional sounds according to~\cite{jones15}. You
then obtain \PRON{n£Xen} for the ``schwa \Pron{£e}'' and
\PRON{a£Xt£sa} for optional ``t''.
%</en>

%<*fr>
\Pkg{engpron} propose également l'option \Option{harraps} qui permet
d'obtenir \DescribeOption{harraps}\label{harrapsrfin} alors une
présentation conforme à~\cite{harraps} \CAD que les sons optionnels
sont représentés entre parenthèses et que le \og r \fg final se
présente comme ceci : \textsl{r}. De plus \pron{\textsl{o}} note ce
que Jones~\cite{jones15} écrit \PRON{£w}.
%</fr>
%<*en>
There is also the option \Option{harraps} which then gives the
presentation \DescribeOption{harraps}\label{harrapsrfin} which you
find in~\cite{harraps}: the optional sounds are given in parenthesis
and the final ``r'' looks like this \textsl{r}. Moreover
\pron{\textsl{o}} denotes what Jones~\cite{jones15} writes \PRON{£w}. 
%</en>

%<fr>\subsubsection{Syllabisation et accents toniques}
%<en>\subsubsection{The Syllable Divisions and the Stresses}

%<*fr>
Le module propose plusieurs options gérant la syllabisation. Avec
\Option{hyphenable} on \DescribeOption{hyphenable} autorise \LaTeX\ à
couper\index{coupure} sur les marques explicites de
syllabisation\index{syllabisation} \TO voir plus loin |£k|,
page~\pageref{livrek}\TF et sur les marques d'accents
toniques\index{accent tonique} \TO |£b|, |£B|, |£h| et |£H|. On dira
alors que les marques de syllabisation et d'accents toniques sont
\emph{sécables}\index{sécable}.
%</fr>
%<*en>
The package offers many options supporting the syllable division. With
option \Option{hyphenable} you allow \LaTeX\ to cut\index{hyphenation}
words on the explicit marks of syllable division\index{syllable
  division} \TO see below |£k|, page~\pageref{livrek} \TF and on the
marks of primary or secondary stresses\index{stress} \TO |£b|, |£B|,
|£h| et |£H|. In such a case I will say that the marks of syllable
divisions and of stresses ar \emph{cuttable}\index{cuttable}.
%</en>

%<*fr>
Avec l'option \Option{unhyphenable}, on interdit la coupure des mots
sur ces marques. Les marques sont dites alors
\emph{insécables}\index{insécable}. \DescribeOption{unhyphenable} Pour
conserver le comportement des versions précédentes, c'est l'option
\Option{unhyphenable} qui est choisie par défaut.
%</fr>
%<*en>
With the option \Option{unhyphenable} you forbid the cutting of words
on those marks. Those marks are then said to be
\emph{uncuttable}\index{uncuttable}.  \DescribeOption{unhyphenable} To
keep the behaviour of the preceding version, the option
\Option{unhyphenable} is the default.
%</en>

\vspace{\baselineskip}

%<*fr>
On peut choisir entre l'option \Option{visible} et l'option
\Option{invisible}. Avec la première, \Option{visible}, la marque de
\DescribeOption{visible} syllabisation, |£k|, produit un glyphe qui
est défini par \cs{EPSyllabeMarque} \TO macro que l'on peut redéfinir
à coup de \cs{renewcommand} et qui, par défaut, donne un simple
point. Lorsque l'option \Option{invisible} est en vigueur, la macro
\DescribeOption{invisible} |£k| ne produit aucun glyphe mais la césure
y reste possible si l'option \Option{hyphenable} est en vigueur.
%</fr>
%<*en>
You can chose between option \Option{visible} and option
\DescribeOption{visible} \Option{invisible}. With the first,
\Option{visible}, the macro of syllable division |£k| produces a glyph
which is defined by \cs{EPSyllabeMarque} \TO macro that you can
redefine with \cs{renewcommand} and which by default gives a plain
dot. When you enforce option \Option{invisible}, the macro |£k|
produces no glyph but is un\slash cuttable according to the chosen
option between \Option{hyphenable} and \Option{unhyphenable}.
%</en>

\vspace{\baselineskip}

%<*fr>
\Pkg{engpron} propose deux autres options : \Option{monstress},
\DescribeOption{monstress} option par défaut, et
\Option{tipastress}. Elles sont exclusives l'une de l'autre et
définissent les glyphes représentant les accents toniques principaux
et secondaires. L'utilisateur peut \DescribeOption{tipastress}
redéfinir à sa convenance les deux macros utilisées par défaut
\cs{EPaccentprincipal} et \cs{EPaccent}\BOP|secondaire| et remplacer
ainsi les \og glyphes \fg que je fournis par défaut.  Avec la
première, on obtient \Pron{£h} et \Pron{£b} comme marque d'accent
tonique principal et secondaire respectivement et avec la deuxième
\textprimstress{} et \textsecstress{} respectivement, glyphes fournis
par \Pkg{tipa}.
%</fr>
%<*en>
\Pkg{engpron} offers two other options: \Option{monstress} which is
\DescribeOption{monstress} the default and \Option{tipastress}. They
are mutually exclusive and set the glyphs which present the primary
and secondary stresses. The \DescribeOption{tipastress} user can
redefine with \cs{renewcommand} the macros used by default \TO
\cs{EPaccentprincipal} and \cs{EPaccentsecondaire}\TF and thus replace
the default glyphs I provide. With the first, and default, option you
obtain \Pron{£h} and \Pron{£b} as glyphs of primary and secondary
stress respectively; with the second option you obtain
\textprimstress{} and \textsecstress{} respectively, glyphs provided
by \Pkg{tipa}.
%</en>


%<fr>\subsubsection{Brouillon et erreur}
%<en>\subsubsection{Draft and Error}

%<*fr>
Certaines macros, à savoir |£K|, |£m| et |£M|, attendent une lettre
pour déterminer ce qu'elles ont à faire. Cependant toutes les lettres
ne conviennent pas. Avec l'option \Option{final},
\DescribeOption{final}qui s'oppose à \Option{draft}, \Pkg{engpron} ne
produit rien dans le document mais émet un \DescribeOption{draft}
avertissement dont on trouve la trace dans le fichier |.log|, avec
l'option \Option{nice}, ou s'arrête sur une erreur
\DescribeOption{nice} avec l'option \Option{tough}. Avec
\Option{draft}, on lit le texte suivant dans le document produit:
\texttt{\string?\string!<*>\string!\string?} où \DescribeOption{tough}
\texttt{*} tient ici la place du caractère \emph{erroné}.
%</fr>
%<*en>
Some macros, \emph{viz.} |£K|, |£m|, and |£M|, await a letter to
\DescribeOption{final} determine what they have to do. However all the
letters are not suitable. With option \Option{final} which is the
opposite of \DescribeOption{draft} \Option{draft} \Pkg{engpron}
doesn't produce anything in the document but emits a warning you can
find in the |.log| file if you \DescribeOption{nice} have choosen
option \Option{nice} or stops on an error if option
\DescribeOption{tough} \Option{tough} is enforced. With option
\Option{draft} you can read, in the document, the following
``message'' \texttt{\string?\string!<*>\string!\string?} where
\texttt{*} plays here the role of the \emph{erroneous} character.
%</en>

%<fr>\subsubsection{Résumé des options disponibles}
%<en>\subsubsection{Summary of Available Options}

%<*fr>
Bref, pour résumer: 
\nopagebreak{}\par\nopagebreak{}
\noindent
\begin{tabular}{*{2}{>{\scshape}l} l}
  \multicolumn{1}{l}{L'option par défaut} &   
  \multicolumn{1}{l}{et l'option opposée} &
  agissent sur\\
  wild & tame & activité de \GBP\\
  drac & nodrac & robustesse de \GBP\\
  jones & harraps & notation de la prononciation\\
  monstress & tipastress & notation des accents toniques\\
  unhyphenable & hyphenable & création de points de césure\\
  visible & invisible & visibilité de la syllabisation\\
  \multicolumn{3}{l}{\emph{En cas d'erreur avec} \texttt{£K},
    \texttt{£M} \emph{ou} \texttt{£m}}\\ 
  final & draft & trace \og écrite\fg \\
  nice & tough & avertissement ou message d'erreur
\end{tabular}
%</fr>
%<*en>
To sum it up: 
\nopagebreak{}\par\nopagebreak{}
\noindent
\begin{tabular}{*{2}{>{\scshape}l} l}
  \multicolumn{1}{l}{The default option} &   
  \multicolumn{1}{l}{and the opposite option} &
  act on\\
  wild & tame & active status of \GBP\\
  drac & nodrac & robustness of \GBP\\
  jones & harraps & notation of the pronunciation\\
  monstress & tipastress & notation of stresses\\
  unhyphenable & hyphenable & creation of discretionary break\\
  visible & invisible & visibility of syllable divisions\\
  \multicolumn{3}{l}{\emph{In case of an error with} \texttt{£K},
    \texttt{£M}, \emph{or} \texttt{£m}}\\ 
  final & draft & written trace in the doc \\
  nice & tough & \TeX\ warning or error
\end{tabular}
%</en>

%<fr>\subsection{Les macros \og \GBP \fg}
%<en>\subsection{The \GBP Macros}
\label{sec:macrospound}

%<fr>Nous allons maintenant présenter les macros commençant par \GBP.
%<en>I will now present the macros the name of which begins with \GBP. 

%<*fr>
Pour réaliser ces macros, je me suis appuyé une fois encore sur
T.~\textsc{Lachand-Robert} dans~\cite{tlachand}. C'est son exemple
de macros utilisant |§| pour écrire les lettres grecques qui m'a
donné l'idée de faire pareil pour pouvoir noter la phonétique
anglaise, ce dont j'avais besoin pour mes classes\footnote{On finit
  par faire des choses étranges lorsque l'on enseigne les
  mathématiques \emph{en anglais} en section européenne de
  lycée\Sourire.}.  Et c'est en piochant de ci de là que j'ai trouvé
les techniques pour réaliser les macros comme \cs{EP@haut}.
%</fr>
%<*en>
To create these macros I used once again the book~\cite{tlachand} by
T.~\textsc{Lachand-Robert}. It's from its example of macros using |§|
to write greek letters that came the idea of doing something on the
same line to denote the pronunciation of English words. I needed that
then for I was teaching maths in English to French pupils in ``Euro''
section. I found bits every now and then which gave me the means of
creating macros such as \cs{EP@haut}. 
%</en>
 
%<*fr>
Je ne présente dans cette section que quelques unes des macros
reprises dans la table située page~\pageref{latable}.
%</fr>
%<*en>
In this section I present just some of the macros which are all given
in the table on page~\pageref{latable}.
%</en>
 
%<fr>\subsubsection{Accents toniques}
%<en>\subsubsection{The Stress Marks}
 
%<*fr>
On obtient les accents toniques \TO tels que définit par l'option
\DescribePoundMacro{h} \Option{tipastress} ou \Option{monstress}\TF
avec, pour l'accent tonique principal\index{accent
principal}\index{accent tonique}, \DescribePoundMacro{H} |£h| \TO |h|
comme \emph{haut}\TF ou encore, pour des raisons de commodités de
frappe au clavier, par |£H|. \DescribePoundMacro{b}Pour l'accent
tonique secondaire\index{accent secondaire}, on utilisera 
\DescribePoundMacro{B}
indifféremment soit |£b| soit |£B| \TO |b| pour \emph{bas}. 
%</fr>
%<*en>
You will obtain the stress marks \TO as defined by the option
\DescribePoundMacro{h}
\Option{tipastress} or \Option{monstress}\TF with, for the primary
\DescribePoundMacro{H}
stress |£h| or |£H| and for the secondary stress with |£b| or |£B|. 
\DescribePoundMacro{b}
\DescribePoundMacro{b} The ``rationale'' for them are, in French, |h| for
\DescribePoundMacro{B}
\emph{haut} and |b| for \emph{bas} but I think it is safe to think to
\emph{high} and \emph{below}. 
%</en>
 
%<*fr>
\NOUVEAU{Désormais, quand l'option \Option{hyphenable} est choisie, les
  marques d'accents toniques fournissent à \TeX\ des points de
  coupure de mot \TO \emph{césure}. Ils sont sécables.}
%</fr>
%<*en>
\NOUVEAU{From version~2, when option \Option{hyphenable} have been
  chosen these stress marks are cuttable i.~e.\ they give \TeX\
  discretionary breaks.}
%</en>
 
%<fr>\subsubsection{Syllabisation}
%<en>\subsubsection{Syllable Division}
 
%<*fr>
\NOUVEAU{Ce qui concerne la \emph{syllabisation}, \CAD l'indication
  des limites de syllabes, est introduit par la version~2 du
  module.}
%</fr>
%<*en>
\NOUVEAU{What pertains to syllable division, i.~e.\ marking the limits
  of the syllables, is introduced in version~2 of the package.}
%</en>
 
%<*fr>
On peut avoir envie, ou besoin, d'indiquer la limite des syllabes
des mots, comme on le voit dans le Jones~\cite{jones15}. Pour ce
faire, le module fournit une seule macro \cs{EPSyllabeCoupure}
\DescribeMacro{EPSyllabeCoupure} rattachée à la macro\label{livrek}
|£k|\DescribePoundMacro{k}. Son comportement est contrôlé par les
couples d'options \Option{hyphenable}\slash \Option{unhyphenable} et
\Option{visible}\slash \Option{invisible}.  Avec
\Option{hyphenable}, elle indique à \LaTeX\ un point de coupure de
mot, ce qu'elle ne fait pas avec \Option{unhyphenable}. Avec
\Option{visible}, elle place un glyphe dont \cs{EPSyllabeMarque}
\DescribeMacro{EPSyllabeMarque} détermine 
l'aspect. Avec \Option{invisible}, elle ne produit rien.
%</fr>
%<*en>
You may want, or need, to show the limits of the syllables of words as
\DescribeMacro{EPSyllabeCoupure}
you can see it in the Jones~\cite{jones15}. To this effect, the
package provides one macro \cs{EPSyllabeCoupure} linked to the
|£k|~macro.\label{livrek} Its behaviour is controlled by the following
pairs of opposite options: \Option{hyphenable}\slash
\Option{unhyphenable} and \Option{visible}\slash
\Option{invisible}. With \Option{hyphenable} the macro gives \TeX\ a
discretionary break which it doesn't with option
\Option{unhyphenable}. With option \Option{visible} |£k| produces the
\DescribeMacro{EPSyllabeMarque}
glyph determined by \cs{EPSyllabeMarque} whereas with
\Option{invisible} it produces nothing. 
%</en>
 
%<*fr>
Par défaut, \cs{EPSyllabeMarque} est définie comme un bête point. On
prendra garde au fait que, \cs{EPSyllabeMarque} intervenant comme
argument de \cs{discretionary}, elle est soumise à certaines
restrictions comme, p.~ex. le fait de ne pas pouvoir contenir de
mathématiques.
%</fr>
%<*en>
By default, \cs{EPSyllabeMarque} is equal to a period (full stop). You
should take care of the fact that, for \cs{EPSyllabeMarque} is an
argument of \cs{discretionary}, it suffers some restrictions such as
e.~g.\ to not contain maths. 
%</en>
 
%<*fr>
Quelles que soient les options en vigueur, on peut
toujours\label{livreK} indiquer un point de coupure possible à l'aide
de |£KX|, dans ce cas aucun glyphe n'est \DescribePoundMacro{KX}
produit et le point est \emph{invisible}. Avec |£KB| et |£KH| on
produit un \DescribePoundMacro{KB} \DescribePoundMacro{KH} accent
tonique secondaire ou principal \emph{sécable}. Avec |£Kb| ou |£Kh|,
les accents toniques sont \emph{insécables}.  Avec |£Kk|, on place une
marque de syllabisation toujours visible et toujours
insécable. \DescribePoundMacro{Kk} Enfin, |£KK|
\DescribePoundMacro{KK} produit toujours une marque de syllabisation
visible et sécable. L'aspect des marques de syllabisation est, bien
entendu, fixé par \cs{EPSyllabeMarque}.  On aura remarqué que les
minuscules sont liées à des objets \emph{insécables} et les capitales
à des objets \emph{sécables}\footnote{Si c'est pas du souci du détail
  et de la systématique!}. Je n'ai pas éprouvé le besoin de fournir un
|£Kx| qui ne ferait strictement rien: une chaine de caractères vide me
semble faire tout aussi bien l'affaire.
%</fr>
%<*en>
Whatever are the enforced options, you can always give \TeX\ a
\DescribePoundMacro{KX} discretionary break with |£KX| which doesn't
produce any glyph so |£KX| is cuttable and invisible. With |£KB| and
|£KH| you get \DescribePoundMacro{KB}\DescribePoundMacro{KH}
respectively primary and secondary \emph{cuttable} stress marks. With
|£Kk| you get an always \emph{visible} and \emph{uncuttable} syllable
division mark. Lastly |£KK| \DescribePoundMacro{KK} produces an always
visible and cuttable syllable division mark. The look of the marks is
as a matter of course set by \cs{EPSyllabeMarque}. You will have
remarked that lower case letters are linked to \emph{uncuttable} marks
and upper case letters to \emph{cuttable} ones. I have feel no urge to
provide a |£Kx| which would have done strictly nothing, I tend to
believe that then a void string is largely enough.
%</en>
 
%<fr>\subsubsection{Sons optionnels}
%<en>\subsubsection{Optional Sounds}
 
%<*fr>
Pour indiquer les sons optionnels \DescribePoundMacro{X} on
utilisera la macro |£X|\meta{une lettre} qui \textbf{doit} être suivie
d'\emph{une lettre}. La macro ne fonctionne pas si elle est suivie
d'un groupe\footnote{Peut-être pour la prochaine version, qui sait ?}.
Cette macro fournit normalement ce qu'il faut pour les sons optionnels
de l'anglais. Elle traite différemment (avec l'option \Option{jones})
la lettre \og e \fg qui donne \PRON{£Xe} et les autres comme \og t \fg
qui donne \PRON{£Xt} avec |£Xe| et |£Xt| respectivement.
%</fr>
%<*en>
To note optional sounds \DescribePoundMacro{X} you will use the |£X|
macro as in |£X|\meta{one letter} for |£X| \textbf{must} be followed
by \textbf{a single letter}. The macro doesn't work if followed by a
group. It normally can deal with the optional sounds of the English
language. It makes the difference, when option \Option{jones} is
enforced, between the letter ``e'' which gives \PRON{£Xe} and the
others such as ``t'' which gives \PRON{£Xt} with |£Xe| and |£Xt|
respectively. 
%</en>
 
%<*fr>
Pour noter le \og r \fg final qui n'est prononcé qu'en cas de liaison,
on \DescribePoundMacro{Z} utilisera |£Z| qui est redéfinit lors du
choix de l'option \Option{harraps} \TO voir~\ref{harrapsrfin}.
%</fr>
%<*en>
To denote the final and \TO to use Jones' term\TF potential ``r''
which is pronounced, in British English, when followed by a word
beginning by a vowel, you will use \DescribePoundMacro{Z} |£Z| which is
redefined when option \Option{harraps} is chosen,
see~\ref{harrapsrfin}.  
%</en>
 
%<fr>\subsection{Autres macros et un environnement}
%<en>\subsection{Other Macros and one Environment}
 \label{sec:autresmacros}
 
%<*fr>
L'utilisateur a accès \TO facilement\TF à un certain nombres de
commandes qui permettent de régler des détails de présentation. Il
peut les redéfinir par \cs{renewcommand} et obtenir ainsi son propre
style.
%</fr>
%<*en>
I give the user an easy access to some macros which enable us to set
some details of presentation. You can redefine them with
\cs{renewcommand} and so doing obtain your own style. 
%</en>
 
%<*fr>
Comme indiquée ci-dessus, cf. \Option{monstress}, les macros
\cs{EPaccentprincipal} et \cs{EPaccent}\BOP|secondaire| définissent
les glyphes obtenus par |£H| et |£B| respectivement.
%</fr>
%<*en> 
As already said above \TO see \Option{monstress} \TF the macros
\cs{EPaccentprincipal} and \cs{EPaccentsecondaire} define the glyphs
obtained with |£H| and |£B| respectively. 
%</en> 
 
%<*fr>
\NOUVEAU{Apparue avec la version~2}, la macro \cs{EPAccentCoupure}
\DescribeMacro{EPAccentCoupure} définit le comportement des marques
d'accents toniques en cas de césure. Par défaut, la marque d'accent
tonique passe à la ligne avec la syllabe qui porte l'accent, autrement
dit, \Pron{£Bh£p£kf£Xen£H£q£k£s£Xen} est coupé, si nécessaire, en
\Pron{£Bh£p£kf£Xen}\verb+|+\Pron{£H£q£k£s£Xen}.
%</fr>
%<*en>
\NOUVEAU{Since version~2} the \cs{EPAccentCoupure} macro set the
\DescribeMacro{EPAccentCoupure}
behaviour of the stress marks when there is a break. The default is to
keep the stress mark with the text which begins the new line
i.~e.\ \Pron{£Bh£p£kf£Xen£H£q£k£s£Xen} is cut, if necessary, as
\Pron{£Bh£p£kf£Xen}\verb+|+\Pron{£H£q£k£s£Xen}. 
%</en>
 
%<*fr>
\NOUVEAU{Depuis la version~2}, la macro \cs{EPSyllabeMarque} définit
la marque de limite de syllabe et \cs{EPSyllabeCoupure} définit le
comportement de la coupure sur une telle marque. Par défaut,
\DescribeMacro{EPSyllabeCoupure} la césure sur \Pron{£Hh£p£kf£Xen}
donne \Pron{£Hh£p£k}\verb+|+\Pron{f£Xen}, autrement dit, la marque
de syllabisation est conservée avant le saut de ligne.
%</fr>
%<*en>
\NOUVEAU{Since version~2} the \cs{EPSyllabeMarque} set the mark for
syllable division and \cs{EPSyllabe}\BOP|Coupure| defines the
behaviour of \DescribeMacro{EPSyllabeCoupure} the mark in case of
break. Default is to keep the mark at the end of the line so
\Pron{£Hh£p£kf£Xen} is cut in \Pron{£Hh£p£k}\verb+|+\Pron{f£Xen}.
%</en>
  
%<*fr>
Les macros \cs{EPouvrante}, \cs{EPfermante} et \cs{EPtextestyle}
définissent \DescribeMacro{EPouvrante} ce qui entoure la
prononciation et, pour la troisième, le style du
\DescribeMacro{EPfermante} texte de cette prononciation. Par
défaut, les deux première donnent \EPouvrante{}
\DescribeMacro{EPtextestyle} et \EPfermante{} et \cs{EPtextestyle}
est définie comme |\rmfamily\upshape|.
%</fr>
%<*en>
The macros \cs{EPouvrante} (\emph{opening}) and \cs{EPfermante}
(\emph{closing}) define \DescribeMacro{EPouvrante} what precedes and
follows the pronunciation. The macro \cs{EPtextestyle} defines the
style of the \DescribeMacro{EPfermante} text of the pronunciation. By
default, the first two macros give \EPouvrante{} and
\EPfermante{}; \DescribeMacro{EPtextestyle} \cs{EPtextestyle} is
defined as |\rmfamily\upshape|.
%</en>
  
%<*fr>
Pour ce qui suit je noterai que \og la livre est active
\fg\index{livre!active} pour signifier que le
caractère \GBP est actif et \textbf{n'est pas} défini pour donner le
glyphe de la livre sterling mais bien pour renvoyer la macro
commençant par \GBP. J'écrirai que \og la livre est
inactive\index{livre!inactive} \fg dans tous les
autres cas.
%</fr>
%<*en>
In what follows I will write that ``the pound is
active''\index{pound!active} to mean that the
character \GBP is active and \textbf{is not} defined to produce the
glyph of the pound sterling but to give the macro beginning with
\GBP. In all other cases I will write that ``the pound is
inactive''\index{pound!inactive}.
%</en>
  
%<*fr>
Ces trois macros sont utilisée par \cs{pron} et \cs{PRON} pour
permettre \DescribeMacro{pron} l'obtention d'une présentation uniforme
quelque soit le contexte et l'activité de la livre.  La macro
\cs{pron}\marg{texte} permet d'obtenir une présentation de la
prononciation comme on la trouve habituellement après un mot dans un
texte au long. On l'utilise lorsque \og la livre est
active\index{livre!active} \fg.  On écrira alors
|\pron{ma£i}| pour obtenir \PRON{ma£i}.
%</fr>
%<*en>
Those three macros are used by \cs{pron} and \cs{PRON} to produce a
\DescribeMacro{pron} uniform presentation whatever the contexte and
the activity of the pound. The macro \cs{pron}\marg{text} produces a
presentation of the pronunciation as you can find it usually after a
word in a text. You will use it when ``the pound is
active\index{pound!active}.'' You will then write |\pron{ma£i}| to
obtain \PRON{ma£i}.
%</en>
  
%<*fr>
Lorsque \og la livre est inactive\index{livre!inactive} \fg, on
utilisera \DescribeMacro{PRON} \cs{PRON}\marg{texte} pour obtenir le
même résultat. En fait, comme dans ce document je charge le module
\Pkg{engpron} avec l'option \Option{tame} j'ai obtenu, au paragraphe
précédent, \PRON{ma£i} avec |\PRON{ma£i}|. Et là je vous ai tout dit !
%</fr>
%<*en>
When ``the pound is inactive\index{pound!inactive}'' you will use
\DescribeMacro{PRON} \cs{PRON}\marg{text} to obtain the same
result. In fact as in this document I've loaded the package
\Pkg{engpron} with option \Option{tame} I've obtained, in the
preceding paragraph, \PRON{ma£i} with |\PRON{ma£i}|. And now I've said
it all!
%</en>
  
%<*fr>
Enfin, la livre étant inactive\index{livre!inactive},
\cs{Pron}\marg{texte} fournit le \DescribeMacro{Pron} moyen de taper
de l'API sans la présentation donnée par \cs{pron}. En tapant
|\Pron{£Hf£in£k£i£kg£en}| on obtiendra simplement
\Pron{£Hf£in£k£i£kg£en} sans \og décoration \fg.
%</fr>
%<*en>
Lastly when the pound is inactive\index{pound!inactive},
\cs{Pron}\marg{text} give the means of enter API without the
presentation given by \cs{pron}. With |\Pron{£Hf£in£k£i£kg£en}| you
will simply obtain \Pron{£Hf£in£k£i£kg£en} without ``decoration.''
%</en>
  
%<*fr>
La macro \cs{ActiveLaLivre} \DescribeMacro{ActiveLaLivre} rend la
livre active\index{livre!active}, elle est utilisée par \cs{Pron},
\cs{PRON} et l'environnement qui suit. On peut l'utiliser dans un
tableau \TO avec le module \Pkg{array}\TF pour obtenir la livre active
dans une colonne, par exemple.
%</fr>
%<*en>
The macro \cs{ActiveLaLivre} \DescribeMacro{ActiveLaLivre} makes the
pound active\index{pound!active}, it is used by \cs{Pron}, \cs{PRON},
and the following environment. You can use it for example in a array
\TO with the package \Pkg{array}\TF to make the pound active in a
column.
%</en>
  
%<*fr>
L'environnement \DescribeEnv{LivreActive} fait ce que son
nom indique et active la livre. C'est tout ce qu'il fait. On pourra
donc taper l'horrible \\[2pt] 
|\begin{LivreActive} \pron{£Hstj£U£kp£id} \end{LivreActive}|\\[2pt]
au lieu de |\PRON{£Hklev£k£E£Z}|. On aura compris qu'il s'utilise pour
de long texte, des tables\dots
%</fr>
%<*en>

%</en>
%<*doc> 

\vspace{\baselineskip}

  
%<*fr>
\NOUVEAU{Pour finir}, avec les macros antagonistes
\DescribeMacro{MakeHyphenable} \cs{MakeHyphenable}\slash
\cs{MakeUnHyphenable} on peut contrarier l'effet des options
\Option{hyphenable}\slash\Option{unhyphenable}
\DescribeMacro{MakeUnHyphenable}\index{coupure}.
%</fr>
%<*en>
\NOUVEAU{To conclude}, with the antagonistic macros
\DescribeMacro{MakeHyphenable} \cs{MakeHyphenable}\slash
\cs{MakeUnHyphenable} you can thwart the effect of options
\Option{hyphenable}\slash\Option{unhyphenable}
\DescribeMacro{MakeUnHyphenable}\index{hyphenation}.
%</en>
  
%<*fr>
\cs{MakeHyphenable} redéfinit les macros liées à |£H|, |£h|, |£B|,
|£b| et |£k|\index{accent tonique}\index{syllabisation} pour qu'elles
fournissent des marques
sécables\index{marque!sécable}\index{sécable}. \cs{MakeUnHyphenable} les
redéfinit pour que les marques soient
insécables\index{marque!insécable}\index{insécable}. La
visibilité\index{marque!visibilité}\index{visibilité} de |£k| n'est
pas modifiée.
%</fr>
%<*en>
\cs{MakeHyphenable} redefines the macros linked to |£H|, |£h|, |£B|,
|£b|, and |£k|\index{stress}\index{syllable division} in order that
they produce cuttable\index{mark!cuttable}\index{cuttable}
marks. \cs{MakeUnHyphenable} redefines them to obtain uncuttable
marks\index{mark!uncuttable}\index{uncuttable}. The
visibility\index{mark!visibility}\index{visibility} of |£k| is not
modified.
%</en>
  
%<*fr>
Autre couple de macros opposées: \DescribeMacro{MakeVisible}
\cs{MakeVisible}\slash\cs{MakeInVisible}.  La macro
\cs{Make}\BOP|Vi|\BOP|si|\BOP|ble| redéfinit la macro liée à
|£k|\index{syllabisation}\index{visibilité} pour qu'elle fournisse des
marques visibles\index{marque!visible},
\cs{MakeInVisible}\index{marque!visible} fait le
\DescribeMacro{MakeInVisible} contraire. La
sécabilité\index{sécabilité} de |£k| n'est pas modifiée.
%</fr>
%<*en>
Other pair of opposite macros: \DescribeMacro{MakeVisible}
\cs{MakeVisible}\slash\cs{MakeInVisible}. The macro
\cs{Make}\BOP|Vi|\BOP|sible| redefines the macro linked to
|£k|\index{syllable division}\index{visibility} to make it produce
visible marks\index{mark!visible}, \cs{MakeInVisible} does the
opposite\index{mark!invisible}\DescribeMacro{MakeInVisible}. The
cuttability\index{cuttability} of |£k| is not modified.
%</en>

\subsection{Conclusion}
\label{sec:conclusion}

%<*fr>
On remarquera en regardant la table~\ref{latable} ou le code de
l'extension qu'il reste de la place pour définir d'autres macros
utilisant la livre active.
%</fr>
%<*en>
You will notice, if you look at the table~\ref{latable} or the code of
this package, that there remain place to define other macros using
an active pound. 
%</en>
  
%<*fr>
Tout d'abord quelques lettres ne sont pas employées et, par exemple,
|£S| ne fait rien. Par ailleurs, on peut définir d'autre macros avec
plus d'une lettre derrière le \GBP mais on devra alors taper
|£{aeiou}| pour utiliser en fait la macro |\£aeiou|. Je pense qu'il
faudrait réserver cela à des macros ayant un effet substantiel
\Sourire.
%</fr>
%<*en>
First of all some letters are not used and e.~g.\ |£S| does nothing. On
the other hand, you can define other macros with more than one letter
behind \GBP but you will have to type |£{aeiou}| to use a macro the
true name of which would be |\£aeiou|. I do believe it should be kept
for macros with a substantial effect \Sourire.
%</en>
  
%<*fr>
En dernier lieu, j'avouerais que le codage
choisi n'est pas forcément optimal. En fait, je l'ai élaboré au fur
à mesure des besoins et il n'y a pas de règle générale
d'organisation. Toutefois on pourra remarquer quelques efforts de
système.
%</fr>
%<*en>
As a conclusion, I will freely admit that the chosen code is not
necessarily optimal. Actually, I have made it along in view of my
needs and I cannot say that there is a general rule for
organization. Nevertheless you will be able to notice some efforts
made towards systematization. 
%</en>
  
%<*fr>
L'utilisateur devrait se sentir libre d'effectuer les changements
qu'il souhaite \TO mais dans ce cas, conformément à la licence sous
laquelle est publié ce module, on devra en changer le nom\TF ou,
s'il le préfère me demander de les mettre en \oe uvre. Je ne fais
cependant aucune promesse quant à la rapidité à laquelle
j'interviendrais.
%</fr>
%<*en>
You should feel free to make changes you want as long as \TO in accord
with the license under which this package is made available\TF you
change its name. You can, if you prefer, ask for modification and I
will try to make it according to your requirement if feasible but I
make \textbf{no} promise to be quick and clever.
%</en>

\begin{thebibliography}{99}
%<en>\addcontentsline{toc}{section}{Bibliography}
%<fr>\addcontentsline{toc}{section}{Bibliographie}
\bibitem{jones15} Daniel~\textsc{Jones} \dag.
\emph{English Pronouncing Dictionary}.
15th Edition. This major new edition edited by Peter Roach \& James 
Hartman. 
Cambridge University Press, \oldstylenums{1997}.\\                                                
\textsc{isbn} : \texttt{0-521-45903-6}
\bibitem{jones} Daniel~\textsc{Jones} \dag.
\emph{English Pronouncing Dictionary}.
Cambridge University Press, \oldstylenums{1991}.
\bibitem{tlachand} T.~\textsc{Lachand-Robert}.
\emph{La maîtrise de \TeX{} et \LaTeX{}}.
Masson, Paris, Milan, Barcelone, \oldstylenums{1995}.\\
\textsc{isbn} : \texttt{2-225-84832-7}.
\bibitem{harraps} J. E. \textsc{Manson}, M.A.
\emph{Harrap's New Shorter French And English Dictionary.}
Revised edition \copyright{} George G. Harrap \&
Co. Ltd. \oldstylenums{1967}. 
Bordas diffuseur, \oldstylenums{1980}.\\
\textsc{isbn} : \texttt{0 245 59062 5}
\end{thebibliography}

\newpage

%<fr>\section{Table des macros \GBP}
%<en>\section{Table of the \GBP Macros}

\thispagestyle{empty}{\LARGE
\vspace*{\stretch{1}}
\begin{LivreActive}
\noindent
\begin{tabular}[l]{|>{\ttfamily }c|>{\ActiveLaLivre }c||>{\ttfamily
}c|c||>{\ttfamily }c|c||>{\ttfamily}c|c|}\hline
%<fr>\multicolumn{8}{|c|}{Voyelles}\\ \hline
%<en>\multicolumn{8}{|c|}{Vowels}\\ \hline
\£a & £a & \£A & £A & \£e & £e & \£E & £E \\ \hline
\£i & £i & \£I & £I & \£o & £o & \£O & £O \\ \hline
\£u & £u & \£U & £U & \£v & £v & \£x & £x \\ \hline
\£c & £c & \£C & £C & \£y & £y &     &    \\ \hline
%<fr>\multicolumn{8}{|c|}{Diphtongues}\\ \hline
%<en>\multicolumn{8}{|c|}{Diphthongs}\\ \hline
\£p & £p & \£q & £q & \£r & £r & \£P & £P\\ \hline
\£Q & £Q & \£R & £R & \£w & £w & \£W & £W\\ \hline
\£V & £V &     &    &     &    &     &   \\ \hline
%<fr>\multicolumn{8}{|c|}{Consonnes}\\ \hline
%<en>\multicolumn{8}{|c|}{Consonants}\\ \hline
\£d & £d & \£f & £f & \£j & £j & \£l & £l \\ \hline
\£n & £n & \£s & £s & \£t & £t & \£z & £z \\ \hline
\£T & £T & \£L & £L &     &    &     &    \\ \hline
%<fr>\multicolumn{8}{|c|}{Accents toniques}\\ \hline
%<en>\multicolumn{8}{|c|}{Stresses}\\ \hline
\£b & £b & \£B & £B & \£h & £h & \£H & £H \\ \hline
\£Kb & £Kb & \£KB & £KB & \£Kh & £Kh & \£KH & £KH \\ \hline
%<fr>\multicolumn{8}{|c|}{Syllabisation}\\ \hline
%<en>\multicolumn{8}{|c|}{Syllable division}\\ \hline
\£k & £k & \£Kk & £Kk & \£KK & £KK & \£KX & £KX \\ \hline
%<fr>\multicolumn{8}{|c|}{Voyelles nasalisées}\\
%<en>\multicolumn{8}{|c|}{French nasalised vowels}\\
%<fr>\multicolumn{8}{|c|}{prononciation française}\\ \hline
%<en>\multicolumn{8}{|c|}{French pronunciation}\\ \hline
\£Ma & £Ma & \£Mi & £Mi & \£Mo & £Mo & \£Mu & £Mu \\ \hline
%<fr>\multicolumn{8}{|c|}{prononciation anglaise}\\ \hline
%<en>\multicolumn{8}{|c|}{English pronunciation}\\ \hline
\£ma & £ma & \£mi & £mi & \£mo & £mo & \£mu & £mu \\ \hline
\end{tabular}\label{latable}
\end{LivreActive}
\vspace*{\stretch{1}}
}

\printindex
\end{document}
%</doc> 
% \fi
\endinput
% \iffalse
%%% Local Variables: 
%%% mode: doctex
%%% TeX-master: t
%%% fill-column: 70
%%% End: 
% \fi