summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/babel-contrib/hebrew/hebrew.fdd
blob: f61d06f430e59d51ebeb0c52c57f5ecdf1f5e274 (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
% \iffalse meta-comment
%
% Copyright 1989-2005 Johannes L. Braams and any individual authors
% listed elsewhere in this file.  All rights reserved.
% 
% This file is part of the Babel system.
% --------------------------------------
% 
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% 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.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
% 
% This work has the LPPL maintenance status "maintained".
% 
% The Current Maintainer of this work is Johannes Braams.
% 
% The list of all files belonging to the Babel system is
% given in the file `manifest.bbl. See also `legal.bbl' for additional
% information.
% 
% The list of derived (unpacked) files belonging to the distribution
% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
% \fi
% \CheckSum{610}
%
% \iffalse meta-comment
%% File `hebrew.fdd' for installing the Hebrew encodings and fonts.
%% Copyright (C) 1997 -- 2005 Boris Lavva.
%
%% Babel package for LaTeX version 2e
%% Copyright (C) 1989 -- 2005 by Johannes Braams,
%%                            TeXniek
%%                            All rights reserved.
% \fi
% \iffalse
%<LHEenc>\ProvidesFile{lheenc.def}
%<LHEcmr>\ProvidesFile{lhecmr.fd}
%<LHEcmss>\ProvidesFile{lhecmss.fd}
%<LHEcmtt>\ProvidesFile{lhecmtt.fd}
%<LHEclas>\ProvidesFile{lheclas.fd}
%<LHEshold>\ProvidesFile{lheshold.fd}
%<LHEshscr>\ProvidesFile{lheshscr.fd}
%<LHEshstk>\ProvidesFile{lheshstk.fd}
%<LHEfr>\ProvidesFile{lhefr.fd}
%<LHEcrml>\ProvidesFile{lhecrml.fd}
%<LHEredis>\ProvidesFile{lheredis.fd}
%<HE8enc>\ProvidesFile{HE8enc.def}
%<HE8cmr>\ProvidesFile{HE8cmr.fd}
%<HE8cmss>\ProvidesFile{HE8cmss.fd}
%<HE8cmtt>\ProvidesFile{HE8cmtt.fd}
% The recoded Omega font (only Hebrew glyphs. Lacks other glyphs)
%<HE8OmegaHebrew>\ProvidesFile{HE8OmegaHebrew.fd}
% The culmus fonts:
%<HE8aharoni>\ProvidesFile{HE8aharoni.fd}
%<HE8david>\ProvidesFile{HE8david.fd}
%<HE8drugulin>\ProvidesFile{HE8drugulin.fd}
%<HE8ellinia>\ProvidesFile{HE8ellinia.fd}
%<HE8frankruehl>\ProvidesFile{HE8frankruehl.fd}
%<HE8yad>\ProvidesFile{HE8yad.fd}
%<HE8miriam>\ProvidesFile{HE8miriam.fd}
%<HE8nachlieli>\ProvidesFile{HE8nachlieli.fd}
% The IBM Type1 fonts (not freely distributable
%<HE8CourierShalom>\ProvidesFile{HE8CourierShalom.fd}
%<HE8HelveticaNarkissTam>\ProvidesFile{HE8HelveticaNarkissTam.fd}
%<HE8TimesNarkissim>\ProvidesFile{HE8TimesNarkissim.fd}
% Placeholders for windows fonts:
%<HE8mfdavid>\ProvidesFile{HE8mfdavid.fd}
%<HE8mffrank>\ProvidesFile{HE8mffrank.fd}
%<HE8mffrankthick>\ProvidesFile{HE8mffrankthick.fd}
%<HE8mffrankthin>\ProvidesFile{HE8mffrankthin.fd}
%<HE8mfmiriam>\ProvidesFile{HE8mfmiriam.fd}
%<HE8mfmiriamwide>\ProvidesFile{HE8mfmiriamwide.fd}
%<HE8mfnarkistam>\ProvidesFile{HE8mfnarkistam.fd}
%<hebfont>\ProvidesPackage{hebfont}
%<*driver>
\ProvidesFile{hebrew.drv}
%</driver>
% \fi
% \ProvidesFile{hebrew.fdd}
        [2005/05/20 v1.2c %
% \iffalse
%<LHEenc>         7-bit Hebrew font encoding
%<LHEcmr>         Hebrew default font
%<LHEcmss>         Hebrew sans-serif font
%<LHEcmtt>         Hebrew typewriter font
%<LHEclas>         Hebrew classic font (by Joel M. Hoffman)
%<LHEshold>         Hebrew shalom old font (by Jonathan Brecher)
%<LHEshscr>         Hebrew shalom script font (by Jonathan Brecher)
%<LHEshstk>         Hebrew shalom stick font (by Jonathan Brecher)
%<LHEfr>         Hebrew frank-ruehl font
%<LHEcrml>         Hebrew carmel font (by Dr. Samy Zafrany)
%<LHEredis>         Hebrew redis font (by Prof. Jacques J. Goldberg)
%<HE8enc>                 8-bit Hebrew font encoding
%<HE8cmr>                 Hebrew default font
%<HE8cmss>                Hebrew sans-serif font
%<HE8cmtt>                Hebrew typewriter font
%<HE8OmegaHebrew>         Hebrew font from the Omega project (by ???)
%<HE8aharoni>             Hebrew sans-serif font (Culmus)
%<HE8david>               Hebrew serif font (Culmus)
%<HE8drugulin>            Hebrew old serif font (Culmus)
%<HE8ellinia>             Hebrew sans-serif font (Culmus)
%<HE8frankruehl>          Hebrew serif font (Culmus)
%<HE8yad>                 Hebrew handwriting font (Culmus)
%<HE8miriam>              Hebrew monospaced font (Culmus)
%<HE8nachlieli>           Hebrew sans-serif font (Culmus)
%<HE8CourierShalom>       Hebrew Shalom (Courier) font (by IBM)
%<HE8HelveticaNarkissTam> Hebrew NarkisTam (Helvetica) (by Zvi Narkis)
%<HE8TimesNarkissim>      Hebrew Narkissim (Times) (by Zvi Narkis) 
%<HE8mfdavid>             Hebrew David font (by ???)
%<HE8mffrank>             Hebrew Frank-Ruehl font (by ??)
%<HE8mffrankthick>        Hebrew Frank-Ruehl (thick) font (by ??)
%<HE8mffrankthin>         Hebrew Frank-Ruehl (thin) font (by ??)
%<HE8mfmiriam>            Hebrew Miriam font (by ???)
%<HE8mfmiriamwide>        Hebrew Miriam (wide) font (by ???)
%<HE8mfnarkistam>         Hebrew Narkis Tam font (by ???)
%<hebfont>         Hebrew font switching commands
%<driver>         Driver file for hebrew.fdd file
% \fi
%         Hebrew font encodings support
         (test version: still liable to change)]
%
% \font\manual=logo10
% \providecommand\MF{{\manual META}\-{\manual FONT}}
% \providecommand\PS{\textsc{PostScript}}
% \providecommand\dst{\textsc{docstrip}}
% \providecommand\LHE{\texttt{LHE}}
% \providecommand\HEH{\texttt{HE8}}
% \providecommand\file[1]{\texttt{#1}}
% \providecommand\pkg[1]{\texttt{#1}}
% \GetFileInfo{hebrew.fdd}
%
% \changes{hebfdd-1.0a}{1998/01/01}{%
%    Initial version. Supports only 7-bit LHE font encoding and all
%    available Hebrew \TeX\ fonts (by Boris Lavva)}
% \changes{hebfdd-1.0b}{2001/08/16}{%
%    fixed lhecmr.fd to use oldjaf10 for a slanted font
%    available Hebrew \TeX\ fonts (by Tzafrir Cohen)}
% \changes{hebfdd-1.1a}{2001/08/16}{%
%    Adding 8-bit HE8 fonts. Note that most of them cannot be distributed
%    with heb\LaTeX\ (by Tzafrir Cohen)}
% \changes{hebfdd-1.2a}{2003/08/19}{%
%    Adding configurations for the Culmus fonts, currently 0.90
%    (by Tzafrir Cohen)}
% \changes{hebfdd-1.2b}{2004/02/20}{Reinstated the test whether LHE or
%    HE8 is to be used}
%
% \changes{hebrew-1.2c}{2005/05/18}{Typo's in the docstrip guards made
%    HE8nachlieli.fd unusable} 
% \section{Hebrew font encodings}\label{sec:hebfdd}
%
%    % Don't forget to update the docs...
%    \subsection{THIS SECTION IS OUT OF DATE. UPDATE DOCS TO MATCH HE8
%    ENCODING}
%
%    The file \file{\filename}\footnote{The files described in this
%    section have version number \fileversion{} and were last revised
%    on \filedate.} contains the Local Hebrew Encoding (\LHE)
%    definition, the external font information needed to use the
%    Hebrew 7-bit fonts (old code fonts) and \pkg{hebfont} package
%    that provides Hebrew font switching commands.
%
%    Using this file as an input, |lheenc.def| encoding definition
%    file, all |.fd| files (font definition files) and font switching
%    package for available Hebrew fonts are generated. We chose to use
%    7-bit encoding as default font encoding, because: 
%    \begin{enumerate}
%    \item There are many 7-bit encoded Hebrew fonts available, more
%          then for any other encoding.
%    \item Available \TeX{} Hebrew fonts do not include latin
%          alphabet, and we can safely map Hebrew glyphs to the
%          \texttt{ASCII} positions (0 -- 127).
%    \end{enumerate}
%    
%    Current definition of the \LHE{} encoding supports only Hebrew
%    letters (|\hebalef|--|\hebtav|), but not Hebrew points, such as
%    |\hebdagesh|, |\hebqamats|, |\hebpatah|, |\hebshindot|, etc. We 
%    are working now on such addition.
%
% \StopEventually{}
%
% \iffalse
% \subsection{A driver for this document}
%
% The next bit of code contains the documentation driver file for
% \TeX{}, i.e., the file that will produce the documentation you are
% currently reading. It will be extracted from this file by the \dst{}
%  program.
%
%    \begin{macrocode}
%<*driver>
\documentclass{ltxdoc}
\title{Hebrew font encodings for use with \LaTeXe}
\author{Boris Lavva}
\date{Printed \today}
\begin{document}
   \maketitle
   \DocInput{hebrew.fdd}
\end{document}
%</driver>
%    \end{macrocode}
% \fi
%
% \subsection{The {\normalfont\dst{}} modules}
%
%    The following modules are used in the implementation to direct
%    \dst{} in generating external files:
% \begin{center}
% \begin{tabular}{@{}ll}
%   driver    & produce a documentation driver file \\[4pt]
%   HE8enc  & produce the encoding definition for CodePage 1255
%                (\HEH)\\[4pt]
%   HE8cmr  & make Hebrew default font in \HEH\\
%   HE8cmss & make Hebrew sans-serif font in \HEH\\
%   HE8cmtt & make Hebrew typewriter font in \HEH\\
%   HE8OmegaHebrew &        Hebrew font from the Omega project (by ???)\\
%   HE8aharoni  &           Hebrew sans-serif font (Culmus)\\
%   HE8david  &             Hebrew serif font (Culmus)\\
%   HE8drugulin  &          Hebrew old serif font (Culmus)\\
%   HE8ellinia  &           Hebrew isans-serif font (Culmus)\\
%   HE8frankruehl  &        Hebrew serif font (Culmus)\\
%   HE8KtavYad  &           Hebrew handwriting font (Culmus)\\
%   HE8MiriamMono  &        Hebrew monospaced font\\
%   HE8Nachlieli  &         Hebrew sans-serif font (Culmus)\\
%   HE8CourierShalom &      Hebrew Shalom (Courier) font (by IBM)\\
%   HE8HelveticaNarkissTam &Hebrew NarkisTam (Helvetica) (by Zvi Narkis)\\
%   HE8TimesNarkissim &     Hebrew Narkissim (Times) (by Zvi Narkis) \\
%   HE8mfdavid &            Hebrew David font (by ???)\\
%   HE8mffrank &            Hebrew Frank-Ruehl font (by ??)\\
%   HE8mffrankthick &       Hebrew Frank-Ruehl (thick) font (by ??)\\
%   HE8mffrankthin &        Hebrew Frank-Ruehl (thin) font (by ??)\\
%   HE8mfmiriam &           Hebrew Miriam font (by ???)\\
%   HE8mfmiriamwide &       Hebrew Miriam (wide) font (by ???)\\
%   HE8mfnarkistam &        Hebrew Narkis Tam font (by ???)\\
%   LHEenc    & produce the encoding definition for Local Hebrew
%               Encoding (\LHE)\\[4pt]
%   LHEcmr    & make Hebrew default font in \LHE\\
%   LHEcmss   & make Hebrew sans-serif font in \LHE\\
%   LHEcmtt   & make Hebrew typewriter font in \LHE\\
%   LHEclas   & make Hebrew classic font (by Joel M.~Hoffman) in \LHE\\
%   LHEshold  & make Hebrew shalom old font (by Jonathan Brecher)
%               in \LHE\\
%   LHEshscr  & make Hebrew shalom script font (by Jonathan Brecher)
%               in \LHE\\
%   LHEshstk  & make Hebrew shalom stick font (by Jonathan Brecher)
%               in \LHE\\
%   LHEfr     & make Hebrew frank-ruehl font in \LHE\\
%   LHEcrml   & make Hebrew carmel font (by Dr. Samy Zafrany) in \LHE\\
%   LHEredis  & make Hebrew redis font (by Prof. Jacques J.~Goldberg)
%               in \LHE\\[4pt]
%   nowarn    & option for font definition files, that used\\
%             & to produce ``silent'' font substitutions without
%               giving warnings\\[4pt]
%   hebfont   & create Hebrew font switching commands package
% \end{tabular}
% \end{center}
%    A typical \dst{} command file would then have entries like:
%\begin{verbatim}
%\generateFile{lhecmr.fd}{t}{\from{hebrew.fdd}{LHEcmr,nowarn}}
%\end{verbatim}
%
%  \subsection{The \LHE encoding definition file}
%
%    The Hebrew font encoding \LHE{} is based upon the old-code encoding
%    also known as the Israeli Standard SI-960. Many Hebrew \TeX{}
%    fonts from the Hebrew University of Jerusalem are encoded
%    in this encoding. It only uses the lower 128 positions of the font
%    table. As local encoding its name start with the letter `L'. 
%
%    First we define the Local Hebrew Encoding; specify a default
%    for the font substitution process for the \LHE{} encoding and
%    supply a font to be used when all else fails.
%
%    \begin{macrocode}
%<*LHEenc>
\DeclareFontEncoding{LHE}{}{}
\DeclareFontSubstitution{LHE}{cmr}{m}{n}
\DeclareErrorFont{LHE}{cmr}{m}{n}{10}
%</LHEenc>
%    \end{macrocode}
%    Then we define a few commands in the \LHE{} encoding.
%    \begin{macrocode}
%<*LHEenc>
\ProvideTextCommand{\textcopyright}{LHE}{\textcircled{\@latin{c}}}
\ProvideTextCommand{\textregistered}{LHE}{\textcircled{\scshape%
                                          \@latin{r}}}
\ProvideTextCommand{\texttrademark}{LHE}{\textsuperscript{\@latin{TM}}}
%</LHEenc>
%    \end{macrocode}
%
%    Because not everyone can input Hebrew input text directly from
%    the keyboard we need to define control sequences for all the
%    Hebrew glyphs in the fonts. In addition, we want to support
%    many input encodings for Hebrew and to keep the language
%    definition file (|hebrew.ldf|) independent of the
%    encoding. Therefore, we exploit the standard \LaTeXe{} font
%    encoding mechanism to define control sequences for all the Hebrew
%    glyphs in the fonts in encoding-specific way. The language
%    definition file uses only the control sequences and doesn't need
%    to check the current font or input encoding. 
%
%    In the \LHE{} encoding (7-bit encoding) all the Hebrew glyphes 
%    reside in the \emph{lower} half of the font. Currently, only the
%    Hebrew letters are supported. They use the same positions as the
%    latin small letters in |ASCII| encoding and the position of |`|.
%
%    The symbol |`| (glyph 96) is used by Hebrew letter \emph{Alef},
%    so we need to define its |lccode| to allow hyphenation. All other
%    letters retain the same |lccode|s as their latin counterparts.
%    \begin{macrocode}
%<+LHEenc>\lccode``=``
%    \end{macrocode}
%    Hebrew letters occupy the positions 96--122 in \LHE{} encoding:
%    \begin{macrocode}
%<*LHEenc>
\DeclareTextSymbol{\hebalef}{LHE}{96}
\DeclareTextSymbol{\hebbet}{LHE}{97}
\DeclareTextSymbol{\hebgimel}{LHE}{98}
\DeclareTextSymbol{\hebdalet}{LHE}{99}
\DeclareTextSymbol{\hebhe}{LHE}{100}
\DeclareTextSymbol{\hebvav}{LHE}{101}
\DeclareTextSymbol{\hebzayin}{LHE}{102}
\DeclareTextSymbol{\hebhet}{LHE}{103}
\DeclareTextSymbol{\hebtet}{LHE}{104}
\DeclareTextSymbol{\hebyod}{LHE}{105}
\DeclareTextSymbol{\hebfinalkaf}{LHE}{106}
\DeclareTextSymbol{\hebkaf}{LHE}{107}
\DeclareTextSymbol{\heblamed}{LHE}{108}
\DeclareTextSymbol{\hebfinalmem}{LHE}{109}
\DeclareTextSymbol{\hebmem}{LHE}{110}
\DeclareTextSymbol{\hebfinalnun}{LHE}{111}
\DeclareTextSymbol{\hebnun}{LHE}{112}
\DeclareTextSymbol{\hebsamekh}{LHE}{113}
\DeclareTextSymbol{\hebayin}{LHE}{114}
\DeclareTextSymbol{\hebfinalpe}{LHE}{115}
\DeclareTextSymbol{\hebpe}{LHE}{116}
\DeclareTextSymbol{\hebfinaltsadi}{LHE}{117}
\DeclareTextSymbol{\hebtsadi}{LHE}{118}
\DeclareTextSymbol{\hebqof}{LHE}{119}
\DeclareTextSymbol{\hebresh}{LHE}{120}
\DeclareTextSymbol{\hebshin}{LHE}{121}
\DeclareTextSymbol{\hebtav}{LHE}{122}
%</LHEenc>
%    \end{macrocode}
%    Letter |\hebsin| is defined as a synonym of |\hebshin|:
%    \begin{macrocode}
%<+LHEenc>\let\hebsin=\hebshin
%    \end{macrocode}
%
% \subsection{The font definition files (in \LHE{} encoding)}
%
% \subsubsection{Hebrew default font}
%
%    It uses \emph{Jerusalem} font for regular font, \emph{Old
%    Jaffa} font for italic shape and small-caps, \emph{Dead Sea} 
%    font for bold face, and \emph{Tel-Aviv} for bold-italic
%    \begin{macrocode}
%<*LHEcmr>
\DeclareFontFamily{LHE}{cmr}{\hyphenchar\font45}
\DeclareFontShape{LHE}{cmr}{m}{n}
      {<-> jerus10 }{}
%%%%%%% Italicized shape
\DeclareFontShape{LHE}{cmr}{m}{it}
      {<-> oldjaf10 }{}
\DeclareFontShape{LHE}{cmr}{m}{sl}
      {<-> oldjaf10 }{}
\DeclareFontShape{LHE}{cmr}{m}{sc}
      {<-> oldjaf10 }{}
%%%%%%% Bold extended series
\DeclareFontShape{LHE}{cmr}{bx}{n}
      {<-> deads10 }{}
\DeclareFontShape{LHE}{cmr}{b}{n}
      {<-> deads10 }{}
%%%%%%% Bold extended (Italic)  series
\DeclareFontShape{LHE}{cmr}{bx}{sl}
      {<-> telav10 }{}
\DeclareFontShape{LHE}{cmr}{bx}{it}
      {<-> telav10 }{}
%</LHEcmr>
%    \end{macrocode}
%
% \subsubsection{Hebrew sans-serif font}
%
%    We use \emph{Tel Aviv} font for the Sans family. \emph{Old
%    Jaffa} font is used for italic shape and \emph{Dead Sea}
%    used for bold face.
%    \begin{macrocode}
%<*LHEcmss>
\DeclareFontFamily{LHE}{cmss}{\hyphenchar\font45}
\DeclareFontShape{LHE}{cmss}{m}{n}
      {<-> telav10 }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{cmss}{m}{sc}
%<-nowarn>  {<->sub * cmss/m/n}{}
%<+nowarn>  {<->ssub * cmss/m/n}{}
%%%%%%% Italicized shape
\DeclareFontShape{LHE}{cmss}{m}{it}
      {<-> oldjaf10 }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{cmss}{m}{sl}
%<-nowarn>  {<->sub * cmss/m/it}{}
%<+nowarn>  {<->ssub * cmss/m/it}{}
%%%%%%% Bold extended series
\DeclareFontShape{LHE}{cmss}{bx}{n}
      {<-> deads10 }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{cmss}{b}{n}
%<-nowarn>  {<->sub * cmss/bx/n}{}
%<+nowarn>  {<->ssub * cmss/bx/n}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{cmss}{bx}{sl}
%<-nowarn>  {<->sub * cmss/bx/n}{}
%<+nowarn>  {<->ssub * cmss/bx/n}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{cmss}{bx}{it}
%<-nowarn>  {<->sub * cmss/bx/n}{}
%<+nowarn>  {<->ssub * cmss/bx/n}{}
%</LHEcmss>
%    \end{macrocode}
%
% \subsubsection{Hebrew typewriter font}
%
%    We use \emph{Tel Aviv} font as the typewriter font. \emph{Old
%    Jaffa} font is used for italic shape and \emph{Dead Sea}
%    used for bold face.
%    \begin{macrocode}
%<*LHEcmtt>
\DeclareFontFamily{LHE}{cmtt}{\hyphenchar \font\m@ne}
\DeclareFontShape{LHE}{cmtt}{m}{n}
      {<-> telav10 }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{cmtt}{m}{sc}
%<-nowarn>  {<->sub * cmtt/m/n}{}
%<+nowarn>  {<->ssub * cmtt/m/n}{}
%%%%%%% Italicized shape
\DeclareFontShape{LHE}{cmtt}{m}{it}
      {<-> oldjaf10 }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{cmtt}{m}{sl}
%<-nowarn>  {<->sub * cmtt/m/it}{}
%<+nowarn>  {<->ssub * cmtt/m/it}{}
%%%%%%% Bold extended series
\DeclareFontShape{LHE}{cmtt}{bx}{n}
      {<-> deads10 }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{cmtt}{bx}{it}
%<-nowarn>  {<->sub * cmtt/bx/n}{}
%<+nowarn>  {<->ssub * cmtt/bx/n}{}
%</LHEcmtt>
%    \end{macrocode}
%
% \subsubsection{Hebrew classic font}
%
%    \emph{Hclassic} and \emph{hcaption} fonts are distributed freely
%    from |CTAN| sites and copyrighted by Joel M.~Hoffman, of 19
%    Hillcrest Lane, Rye, NY 10580 USA, e-mail:
%    |72700.402@compuserve.com|.
%    
%    Hclassic is a modernized Classical Hebrew font (in the same way
%    that Knuth's |cmr| family is a modernized Roman font --- but his
%    fonts are much nicer). Hcaption is a slanted version of hclassic
%    font. Both fonts contain all of the Hebrew consonants,
%    the (rarely used) ligature \emph{alef-lamed} and two versions of
%    the letter \emph{ayin} for use with and without
%    vowels. Hclassic also contains all of the vowels found in Hebrew,
%    a symbol for \emph{meteg}, and dots for use as a \emph{dagesh}
%    and for differentiating \emph{shin} and \emph{sin} letters.
%
%    Currently, only the Hebrew consonants (\emph{hebalef} -- \emph{hebtav})
%    from these fonts are supported by \LaTeXe{}, however one can use
%    vowels and dots directly with \PlainTeX{} macros. We are working
%    on generic vowels and dots support for \LaTeXe.
%
%    \begin{macrocode}
%<*LHEclas>
\DeclareFontFamily{LHE}{clas}{}
\DeclareFontShape{LHE}{clas}{m}{n}
      {<-> s * [0.83345] hclassic }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{clas}{m}{sc}
%<-nowarn>  {<->sub * clas/m/n}{}
%<+nowarn>  {<->ssub * clas/m/n}{}
%%%%%%% Slanted shape
\DeclareFontShape{LHE}{clas}{m}{sl}
      {<-> s * [0.69389] hcaption }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{clas}{m}{it}
%<-nowarn>  {<->sub * clas/m/sl}{}
%<+nowarn>  {<->ssub * clas/m/sl}{}
%</LHEclas>
%    \end{macrocode}
%
% \subsubsection{Hebrew shalom fonts}
%
%    All three shalom fonts (\emph{ShalomScript10},
%    \emph{ShalomStick10} and \emph{ShalomOldStyle10}) have been
%    created by Jonathan Brecher, of 9 Skyview Road, Lexington, MA
%    02173-1112 USA, e-mail: |brecher@husc.harvard.edu|.
%
%    All shalom fonts have been written in \PS{} via Fontographer on a
%    Mac. The fonts have been converted to \MF{} by Rama Porrat
%    (e-mail: |rama@cc.huji.ac.il|), using
%    the utility typo, a font editor + converter between font formats
%    (a commercial product). |ShalomScript10.mf| is the \MF{}
%    equivalent of |ShalomScript.ps|, |ShalomStick10.mf| came from
%    |ShalomStick.ps| and |ShalomOldStyle10.mf| originated in
%    |ShalomOldStyle.ps|. 
%
%    The fonts differ in the letters' style. ShalomScript10 contains
%    hand writing Hebrew letters; ShalomStick10 contains sans-serif
%    letters, and ShalomOldStyle10 contains old style letters. All
%    three fonts contain vowels and dots (nikud). While converting to
%    \MF{}, letters and symbols within the fonts have been arranged
%    so as to get a usable font for writing Hebrew documents in \TeX{}
%    or \LaTeX{}, with as well as without vowels.
%    
%    Currently, only the Hebrew consonants (\emph{hebalef} -- \emph{hebtav})
%    from these fonts are supported by \LaTeXe{}, however one can use
%    vowels and dots directly with \PlainTeX{} macros. We are working
%    on generic vowels and dots support for \LaTeXe.
%
%    \begin{macrocode}
%<*LHEshold>
\DeclareFontFamily{LHE}{shold}{}
\DeclareFontShape{LHE}{shold}{m}{n}
      {<-> shold10 }{}
%</LHEshold>
%<*LHEshscr>
\DeclareFontFamily{LHE}{shscr}{}
\DeclareFontShape{LHE}{shscr}{m}{n}
      {<-> shscr10 }{}
%</LHEshscr>
%<*LHEshstk>
\DeclareFontFamily{LHE}{shstk}{}
\DeclareFontShape{LHE}{shstk}{m}{n}
      {<-> shstk10 }{}
%</LHEshstk>
%    \end{macrocode}
%
% \subsubsection{Hebrew frank-ruehl font}
%
%    \emph{Frank Ruehl} font was written in \MF{} and includes three
%    shapes: regular, bold extaneded and slanted.
%
%    \begin{macrocode}
%<*LHEfr>
\DeclareFontFamily{LHE}{fr}{}
\DeclareFontShape{LHE}{fr}{m}{n}
      {<-> fr }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{fr}{m}{sc}
%<-nowarn>  {<->sub * fr/m/n}{}
%<+nowarn>  {<->ssub * fr/m/n}{}
%%%%%%% Slanted shape
\DeclareFontShape{LHE}{fr}{m}{sl}
      {<-> frsl }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{fr}{m}{it}
%<-nowarn>  {<->sub * fr/m/sl}{}
%<+nowarn>  {<->ssub * fr/m/sl}{}
%%%%%%% Bold extended series
\DeclareFontShape{LHE}{fr}{bx}{n}
      {<-> frbx }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{fr}{b}{n}
%<-nowarn>  {<->sub * fr/bx/n}{}
%<+nowarn>  {<->ssub * fr/bx/n}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{fr}{bx}{sl}
%<-nowarn>  {<->sub * fr/bx/n}{}
%<+nowarn>  {<->ssub * fr/bx/n}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{fr}{bx}{it}
%<-nowarn>  {<->sub * fr/bx/n}{}
%<+nowarn>  {<->ssub * fr/bx/n}{}
%</LHEfr>
%    \end{macrocode}
%
% \subsubsection{Hebrew carmel font}
%
%    \emph{Carmel} font includes regular and slanted shapes. It was
%    created by Dr.~Samy Zafrany of the Technion, Haifa, Israel with
%    the intention of making nice fonts for headers and emphasized
%    text.
%
%    \begin{macrocode}
%<*LHEcrml>
\DeclareFontFamily{LHE}{crml}{}
\DeclareFontShape{LHE}{crml}{m}{n}
      {<-> crml10 }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{crml}{m}{sc}
%<-nowarn>  {<->sub * crml/m/n}{}
%<+nowarn>  {<->ssub * crml/m/n}{}
%%%%%%% Slanted shape
\DeclareFontShape{LHE}{crml}{m}{sl}
      {<-> crmlsl10 }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{crml}{m}{it}
%<-nowarn>  {<->sub * crml/m/sl}{}
%<+nowarn>  {<->ssub * crml/m/sl}{}
%</LHEcrml>
%    \end{macrocode}
%
% \subsubsection{Hebrew redis font}
%
%    \emph{Redis} font has been created by Prof.~Jacques J.~Goldberg
%    of the Technion. Haifa, Israel. The font is available in regular,
%    slanted and bold extanded shapes. This font contains a full set
%    of Hebrew letters in a ``sans-serif vectorized'' style, and
%    selected punctuation.
%
%    \begin{macrocode}
%<*LHEredis>
\DeclareFontFamily{LHE}{redis}{}
\DeclareFontShape{LHE}{redis}{m}{n}{%
  <5> <6> redis7
  <7> <8> <9> <10> <12> gen * redis
  <10.95> redis10
  <14.4> redis12
  <17.28> <20.74> <24.88> redis17}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{redis}{m}{sc}
%<-nowarn>  {<->sub * redis/m/n}{}
%<+nowarn>  {<->ssub * redis/m/n}{}
%%%%%%% Slanted shape
\DeclareFontShape{LHE}{redis}{m}{sl}{%
  <5> <6> <7> rediss8
  <8> <9> <10> <12> gen * rediss
  <10.95> rediss10
  <14.4> <17.28> <20.74> <24.88> rediss12}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{redis}{m}{it}
%<-nowarn>  {<->sub * redis/m/sl}{}
%<+nowarn>  {<->ssub * redis/m/sl}{}
%%%%%%% Bold extended series
\DeclareFontShape{LHE}{redis}{bx}{n}{%
  <5> <6> <7> <8> <9> <10> <10.95> <12>
  <14.4> <17.28> <20.74> <24.88> redisb10}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{redis}{b}{n}
%<-nowarn>  {<->sub * redis/bx/n}{}
%<+nowarn>  {<->ssub * redis/bx/n}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{redis}{bx}{sl}
%<-nowarn>  {<->sub * redis/bx/n}{}
%<+nowarn>  {<->ssub * redis/bx/n}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{LHE}{redis}{bx}{it}
%<-nowarn>  {<->sub * redis/bx/n}{}
%<+nowarn>  {<->ssub * redis/bx/n}{}
%</LHEredis>
%    \end{macrocode}
%
%  \subsection{The \HEH encoding definition file}
%
%    The Hebrew font encoding \HEH{} is based upon an extention by
%    Microsoft to the ISO-8859-8 standard.  This is an 8bit encoding. The
%    extentions include hebrew points (``Nikud'').
%
%    First we define the Codepage 1255; specify a default
%    for the font substitution process for the \HEH{} encoding and
%    supply a font to be used when all else fails.
%
%    \begin{macrocode}
%<*HE8enc>
\DeclareFontEncoding{HE8}{}{}
\DeclareFontSubstitution{HE8}{cmr}{m}{n}
\DeclareErrorFont{HE8}{cmr}{m}{n}{10}
%</HE8enc>
%    \end{macrocode}
%    Then we define a few commands in the \HEH{} encoding.
%    \begin{macrocode}
%<*HE8enc>
\ProvideTextCommand{\textcopyright}{HE8}{\textcircled{\@latin{c}}}
\ProvideTextCommand{\textregistered}{HE8}{\textcircled{\scshape%
                                          \@latin{r}}}
\ProvideTextCommand{\texttrademark}{HE8}{\textsuperscript{\@latin{TM}}}
%</HE8enc>
%    \end{macrocode}
%
%    \subsubsection{CHECK HERE FOR HE8 UPDATES}
%
%    Because not everyone can input Hebrew input text directly from
%    the keyboard we need to define control sequences for all the
%    Hebrew glyphs in the fonts. In addition, we want to support
%    many input encodings for Hebrew and to keep the language
%    definition file (|hebrew.ldf|) independent of the
%    encoding. Therefore, we exploit the standard \LaTeXe{} font
%    encoding mechanism to define control sequences for all the Hebrew
%    glyphs in the fonts in encoding-specific way. The language
%    definition file uses only the control sequences and doesn't need
%    to check the current font or input encoding. 
%
%    % In the \LHE{} encoding (7-bit encoding) all the Hebrew glyphes 
%    % reside in the \emph{lower} half of the font. Currently, only the
%    % Hebrew letters are supported. They use the same positions as the
%    % latin small letters in |ASCII| encoding and the position of |`|.
%
%    Some general symbols:
%    \begin{macrocode}
%<*HE8enc>
\ProvideTextCommand{\textcopyright}{HE8}{\textcircled{\@latin{c}}}
\ProvideTextCommand{\textregistered}{HE8}{\textcircled{\scshape%
                                          \@latin{r}}}
\ProvideTextCommand{\texttrademark}{HE8}{\textsuperscript{\@latin{TM}}}
%</HE8enc>
%    \end{macrocode}
%
%    The hebrew points:
%    \begin{macrocode}
%<*HE8enc>
\DeclareTextSymbol{\sheva}{HE8}{192}
\DeclareTextSymbol{\hatafsegol}{HE8}{193}
\DeclareTextSymbol{\hatafpatah}{HE8}{194}
\DeclareTextSymbol{\hatafqamats}{HE8}{195}
\DeclareTextSymbol{\hiriq}{HE8}{196}
\DeclareTextSymbol{\tsere}{HE8}{197}
\DeclareTextSymbol{\segol}{HE8}{198}
\DeclareTextSymbol{\patah}{HE8}{199}
\DeclareTextSymbol{\qamats}{HE8}{200}
\DeclareTextSymbol{\holam}{HE8}{201}
\DeclareTextSymbol{\qubuts}{HE8}{203}
\DeclareTextSymbol{\dagesh}{HE8}{204}
\DeclareTextSymbol{\meteg}{HE8}{205}
\DeclareTextSymbol{\maqaf}{HE8}{206}
\DeclareTextSymbol{\rafe}{HE8}{207}
\DeclareTextSymbol{\paseq}{HE8}{208}
\DeclareTextSymbol{\shindot}{HE8}{209}
\DeclareTextSymbol{\sindot}{HE8}{210}
\DeclareTextSymbol{\sofpasuq}{HE8}{211}
\DeclareTextSymbol{\doublevav}{HE8}{212}
\DeclareTextSymbol{\vavyod}{HE8}{213}
\DeclareTextSymbol{\doubleyod}{HE8}{214}
%</HE8enc>
%    \end{macrocode}
%
%    Hebrew letters occupy the positions 224--250 in \HEH{} encoding [WHAT
%    ABOUT OTHER MARKS]:
%    \begin{macrocode}
%<*HE8enc>
% \lccode``=`` % probably not needed (Tzafrir)
\DeclareTextSymbol{\hebalef}{HE8}{224}
\DeclareTextSymbol{\hebbet}{HE8}{225}
\DeclareTextSymbol{\hebgimel}{HE8}{226}
\DeclareTextSymbol{\hebdalet}{HE8}{227}
\DeclareTextSymbol{\hebhe}{HE8}{228}
\DeclareTextSymbol{\hebvav}{HE8}{229}
\DeclareTextSymbol{\hebzayin}{HE8}{230}
\DeclareTextSymbol{\hebhet}{HE8}{231}
\DeclareTextSymbol{\hebtet}{HE8}{232}
\DeclareTextSymbol{\hebyod}{HE8}{233}
\DeclareTextSymbol{\hebfinalkaf}{HE8}{234}
\DeclareTextSymbol{\hebkaf}{HE8}{235}
\DeclareTextSymbol{\heblamed}{HE8}{236}
\DeclareTextSymbol{\hebfinalmem}{HE8}{237}
\DeclareTextSymbol{\hebmem}{HE8}{238}
\DeclareTextSymbol{\hebfinalnun}{HE8}{239}
\DeclareTextSymbol{\hebnun}{HE8}{240}
\DeclareTextSymbol{\hebsamekh}{HE8}{241}
\DeclareTextSymbol{\hebayin}{HE8}{242}
\DeclareTextSymbol{\hebfinalpe}{HE8}{243}
\DeclareTextSymbol{\hebpe}{HE8}{244}
\DeclareTextSymbol{\hebfinaltsadi}{HE8}{245}
\DeclareTextSymbol{\hebtsadi}{HE8}{246}
\DeclareTextSymbol{\hebqof}{HE8}{247}
\DeclareTextSymbol{\hebresh}{HE8}{248}
\DeclareTextSymbol{\hebshin}{HE8}{249}
\DeclareTextSymbol{\hebtav}{HE8}{250}
%</HE8enc>
%    \end{macrocode}
%    Letter |\hebsin| is defined as a synonym of |\hebshin|:
%    \begin{macrocode}
%<+HE8enc>\let\hebsin=\hebshin
%    \end{macrocode}
%
% \subsection{The font definition files (in \HEH{} encoding)}
%
% \subsubsection{Hebrew default font}
%
%    It uses \emph{OmegaHebrew} font for regular font, \emph{Old
%    Jaffa} font for italic shape and small-caps, \emph{Dead Sea} 
%    font for bold face, and \emph{Tel-Aviv} for bold-italic
%    \begin{macrocode}
%<*HE8cmr>
\DeclareFontFamily{HE8}{cmr}{\hyphenchar\font45}
\DeclareFontShape{HE8}{cmr}{m}{n}
      {<-> david }{}
%%%%%%% Italicized shape
\DeclareFontShape{HE8}{cmr}{m}{it}
      {<-> davidi }{}
\DeclareFontShape{HE8}{cmr}{m}{sl}
      {<-> davidi }{}
\DeclareFontShape{HE8}{cmr}{m}{sc}
      {<-> david }{}
%%%%%%% Bold extended series
\DeclareFontShape{HE8}{cmr}{bx}{n}
      {<-> davidb }{}
\DeclareFontShape{HE8}{cmr}{b}{n}
      {<-> davidb }{}
%%%%%%% Bold extended (Italic)  series
\DeclareFontShape{HE8}{cmr}{bx}{sl}
      {<-> davidbi }{}
\DeclareFontShape{HE8}{cmr}{bx}{it}
      {<-> davidbi }{}
%</HE8cmr>
%    \end{macrocode}
%
% \subsubsection{Hebrew sans-serif font}
%
%    Until we have a real sans-serif font in this distribution, this file 
%    will remain a copy of the roman fonts definitons above.
%    \begin{macrocode}
%<*HE8cmss>
\DeclareFontFamily{HE8}{cmss}{\hyphenchar\font45}
\DeclareFontShape{HE8}{cmss}{m}{n}
      {<-> nachlieli }{}
%%%%%%% Italicized shape
\DeclareFontShape{HE8}{cmss}{m}{it}
      {<-> nachlieli }{}
\DeclareFontShape{HE8}{cmss}{m}{sl}
      {<-> nachlieli }{}
\DeclareFontShape{HE8}{cmss}{m}{sc}
      {<-> nachlieli }{}
%%%%%%% Bold extended series
\DeclareFontShape{HE8}{cmss}{bx}{n}
      {<-> nachlieli }{}
\DeclareFontShape{HE8}{cmss}{b}{n}
      {<-> nachlieli }{}
%%%%%%% Bold extended (Italic)  series
\DeclareFontShape{HE8}{cmss}{bx}{sl}
      {<-> nachlieli }{}
\DeclareFontShape{HE8}{cmss}{bx}{it}
      {<-> nachlieli }{}
%</HE8cmss>
%    \end{macrocode}
%
% \subsubsection{Hebrew typewriter font}
%
%    Until we have a real sans-serif font in this distribution, this file 
%    will remain a copy of the roman fonts definitons above.
%    \begin{macrocode}
%<*HE8cmtt>
\DeclareFontFamily{HE8}{cmtt}{\hyphenchar\font45}
\DeclareFontShape{HE8}{cmtt}{m}{n}
      {<-> miriam }{}
%%%%%%% Italicized shape
\DeclareFontShape{HE8}{cmtt}{m}{it}
      {<-> miriam }{}
\DeclareFontShape{HE8}{cmtt}{m}{sl}
      {<-> miriam }{}
\DeclareFontShape{HE8}{cmtt}{m}{sc}
      {<-> miriam }{}
%%%%%%% Bold extended series
\DeclareFontShape{HE8}{cmtt}{bx}{n}
      {<-> miriam }{}
\DeclareFontShape{HE8}{cmtt}{b}{n}
      {<-> miriam }{}
%%%%%%% Bold extended (Italic)  series
\DeclareFontShape{HE8}{cmtt}{bx}{sl}
      {<-> miriam }{}
\DeclareFontShape{HE8}{cmtt}{bx}{it}
      {<-> miriam }{}
%</HE8cmtt>
%    \end{macrocode}
%
% \subsubsection{8Bit OmegaHebrew font}
%
%    \emph{OmegaHebrew} is a serif hebrew font created by the omega project
%    [FILL IN CREDITS]
%    [FILL IN GENERAL SHAPE DESCRIPTION]
%    shapes: [FILL IN]
%
%    \begin{macrocode}
%<*HE8OmegaHebrew>
\def\OmegaHebrewscale{0.9}
\DeclareFontFamily{HE8}{OmegaHebrew}{\hyphenchar\font45}
\DeclareFontShape{HE8}{OmegaHebrew}{m}{n}{<-> [\OmegaHebrewscale] OmegaHebrew }{}
%\endinput % is it needed [tzafrir]
%</HE8OmegaHebrew>
%    \end{macrocode}
%
%
% \subsubsection{8Bit Aharoni font}
%
%    \emph{Aharoni} is a serif hebrew font created by the omega project
%    [FILL IN CREDITS]
%    [FILL IN GENERAL SHAPE DESCRIPTION]
%    shapes: [FILL IN]
%
%    \begin{macrocode}
%<*HE8aharoni>
\def\Aharoniscale{1.0}
\DeclareFontFamily{HE8}{aharoni}{\hyphenchar\font45}
\DeclareFontShape{HE8}{aharoni}{m}{n}   {<-> [\Aharoniscale] aharoni}{}
\DeclareFontShape{HE8}{aharoni}{m}{it}  {<-> [\Aharoniscale] aharonii}{}
\DeclareFontShape{HE8}{aharoni}{m}{sl}  {<-> [\Aharoniscale] aharonii}{}
\DeclareFontShape{HE8}{aharoni}{b}{n}   {<-> [\Aharoniscale] aharonib}{}
\DeclareFontShape{HE8}{aharoni}{bx}{n}  {<-> [\Aharoniscale] aharonib}{}
\DeclareFontShape{HE8}{aharoni}{bx}{it} {<-> [\Aharoniscale] aharonibi}{}

%\endinput % is it needed [tzafrir]
%</HE8aharoni>
%    \end{macrocode}
%
%
% \subsubsection{8Bit David font}
%
%    \emph{David} is a serif hebrew font created by the omega project
%    [FILL IN CREDITS]
%    [FILL IN GENERAL SHAPE DESCRIPTION]
%    shapes: [FILL IN]
%
%    \begin{macrocode}
%<*HE8david>
\def\Davidscale{1.0}
\DeclareFontFamily{HE8}{david}{\hyphenchar\font45}

\DeclareFontShape{HE8}{david}{m}{n}   {<-> [\Davidscale] david}{}
\DeclareFontShape{HE8}{david}{m}{it}  {<-> [\Davidscale] davidi}{}
\DeclareFontShape{HE8}{david}{m}{sl}  {<-> [\Davidscale] davidi}{}
\DeclareFontShape{HE8}{david}{b}{n}   {<-> [\Davidscale] davidb}{}
\DeclareFontShape{HE8}{david}{bx}{n}  {<-> [\Davidscale] davidb}{}
\DeclareFontShape{HE8}{david}{bx}{it} {<-> [\Davidscale] davidbi}{}


%\endinput % is it needed [tzafrir]
%</HE8david>
%    \end{macrocode}
%
%
% \subsubsection{8Bit Drugulin font}
%
%    \emph{Drugulin} is a serif hebrew font created by the omega project
%    [FILL IN CREDITS]
%    [FILL IN GENERAL SHAPE DESCRIPTION]
%    shapes: [FILL IN]
%
%    \begin{macrocode}
%<*HE8drugulin>
\def\Drugulinscale{1.0}
\DeclareFontFamily{HE8}{drugulin}{\hyphenchar\font45}
\DeclareFontShape{HE8}{drugulin}{m}{n}   {<-> [\Drugulinscale] drugulinb}{}
\DeclareFontShape{HE8}{drugulin}{m}{it}  {<-> [\Drugulinscale] drugulinbi}{}
\DeclareFontShape{HE8}{drugulin}{m}{sl}  {<-> [\Drugulinscale] drugulinbi}{}
\DeclareFontShape{HE8}{drugulin}{b}{n}   {<-> [\Drugulinscale] drugulinb}{}
\DeclareFontShape{HE8}{drugulin}{bx}{n}  {<-> [\Drugulinscale] drugulinb}{}
\DeclareFontShape{HE8}{drugulin}{bx}{it} {<-> [\Drugulinscale] drugulinbi}{}
%\endinput % is it needed [tzafrir]
%</HE8drugulin>
%    \end{macrocode}
%
%
% \subsubsection{8Bit Ellinia font}
%
%    \emph{Ellinia} is a sans-serif hebrew font created by the omega project
%    [FILL IN CREDITS]
%    [FILL IN GENERAL SHAPE DESCRIPTION]
%    shapes: [FILL IN]
%
%    \begin{macrocode}
%<*HE8ellinia>
\def\Elliniascale{1.0}
\DeclareFontFamily{HE8}{ellinia}{\hyphenchar\font45}
\DeclareFontShape{HE8}{ellinia}{m}{n}   {<-> [\Elliniascale] ellinia}{}
\DeclareFontShape{HE8}{ellinia}{m}{it}  {<-> [\Elliniascale] elliniai}{}
\DeclareFontShape{HE8}{ellinia}{m}{sl}  {<-> [\Elliniascale] elliniai}{}
\DeclareFontShape{HE8}{ellinia}{b}{n}   {<-> [\Elliniascale] elliniab}{}
\DeclareFontShape{HE8}{ellinia}{bx}{n}  {<-> [\Elliniascale] elliniab}{}
\DeclareFontShape{HE8}{ellinia}{bx}{it} {<-> [\Elliniascale] elliniabi}{}
%\endinput % is it needed [tzafrir]
%</HE8ellinia>
%    \end{macrocode}
%
%
% \subsubsection{8Bit FrankRuehl font}
%
%    \emph{FrankRuehl} is a serif hebrew font created by the omega project
%    [FILL IN CREDITS]
%    [FILL IN GENERAL SHAPE DESCRIPTION]
%    shapes: [FILL IN]
%
%    \begin{macrocode}
%<*HE8frankruehl>
\def\FrankRuehlscale{1.0}
\DeclareFontFamily{HE8}{frank}{\hyphenchar\font45}
\DeclareFontShape{HE8}{frank}{m}{n}   {<-> [\FrankRuehlscale] frank}{}
\DeclareFontShape{HE8}{frank}{m}{it}  {<-> [\FrankRuehlscale] franki}{}
\DeclareFontShape{HE8}{frank}{m}{sl}  {<-> [\FrankRuehlscale] franki}{}
\DeclareFontShape{HE8}{frank}{b}{n}   {<-> [\FrankRuehlscale] frankb}{}
\DeclareFontShape{HE8}{frank}{bx}{n}  {<-> [\FrankRuehlscale] frankb}{}
\DeclareFontShape{HE8}{frank}{bx}{it} {<-> [\FrankRuehlscale] frankbi}{}
%\endinput % is it needed [tzafrir]
%</HE8frankruehl>
%    \end{macrocode}
%
%
% \subsubsection{8Bit KtavYad font}
%
%    \emph{KtavYad} is a serif hebrew font created by the omega project
%    [FILL IN CREDITS]
%    [FILL IN GENERAL SHAPE DESCRIPTION]
%    shapes: [FILL IN]
%
%    \begin{macrocode}
%<*HE8yad>
\def\KtavYadscale{1.0}
\DeclareFontFamily{HE8}{yad}{\hyphenchar\font45}
\DeclareFontShape{HE8}{yad}{m}{n} {<-> [\KtavYadscale] yadi}{}
\DeclareFontShape{HE8}{yad}{m}{it} {<-> [\KtavYadscale] yadi}{}
\DeclareFontShape{HE8}{yad}{m}{sl} {<-> [\KtavYadscale] yadi}{}
\DeclareFontShape{HE8}{yad}{b}{n} {<-> [\KtavYadscale] yadbi}{}
\DeclareFontShape{HE8}{yad}{bx}{n} {<-> [\KtavYadscale] yadbi}{}
\DeclareFontShape{HE8}{yad}{bx}{it} {<-> [\KtavYadscale] yadbi}{}
%\endinput % is it needed [tzafrir]
%</HE8yad>
%    \end{macrocode}
%
% \subsubsection{8Bit MiriamMono font}
%
%    \emph{MiriamMono} is a serif hebrew font created by the omega project
%    [FILL IN CREDITS]
%    [FILL IN GENERAL SHAPE DESCRIPTION]
%    shapes: [FILL IN]
%
%    \begin{macrocode}
%<*HE8miriam>
\def\MiriamMonoscale{1.0}
\DeclareFontFamily{HE8}{miriam}{\hyphenchar\font45}
\DeclareFontShape{HE8}{miriam}{m}{n}   {<-> [\MiriamMonoscale] miriam}{}
\DeclareFontShape{HE8}{miriam}{m}{it}  {<-> [\MiriamMonoscale] miriami}{}
\DeclareFontShape{HE8}{miriam}{m}{sl}  {<-> [\MiriamMonoscale] miriami}{}
\DeclareFontShape{HE8}{miriam}{b}{n}   {<-> [\MiriamMonoscale] miriamb}{}
\DeclareFontShape{HE8}{miriam}{bx}{n}  {<-> [\MiriamMonoscale] miriamb}{}
\DeclareFontShape{HE8}{miriam}{bx}{it} {<-> [\MiriamMonoscale] miriambi}{}

%\endinput % is it needed [tzafrir]
%</HE8miriam>
%    \end{macrocode}
%
%
% \subsubsection{8Bit Nachlieli font}
%
%    \emph{Nachlieli} is a serif hebrew font created by the omega project
%    [FILL IN CREDITS]
%    [FILL IN GENERAL SHAPE DESCRIPTION]
%    shapes: [FILL IN]
%
%    \begin{macrocode}
%<*HE8nachlieli>
\def\Nachlieliscale{1.0}
\DeclareFontFamily{HE8}{nachlieli}{\hyphenchar\font45}
\DeclareFontShape{HE8}{nachlieli}{m}{n}   {<-> [\Nachlieliscale] nachlieli}{}
\DeclareFontShape{HE8}{nachlieli}{m}{it}  {<-> [\Nachlieliscale] nachlielii}{}
\DeclareFontShape{HE8}{nachlieli}{m}{sl}  {<-> [\Nachlieliscale] nachlielii}{}
\DeclareFontShape{HE8}{nachlieli}{b}{n}   {<-> [\Nachlieliscale] nachlielib}{}
\DeclareFontShape{HE8}{nachlieli}{bx}{n}  {<-> [\Nachlieliscale] nachlielib}{}
\DeclareFontShape{HE8}{nachlieli}{bx}{it} {<-> [\Nachlieliscale] nachlielibi}{}
%\endinput % is it needed [tzafrir]
%</HE8nachlieli>
%    \end{macrocode}
%
%
% \subsubsection{Hebrew font switching commands}
%
%    The \pkg{hebfont} package defines a number of high-level commands
%    (all starting with |\text..| similar to the standard \LaTeXe{}
%    font-change commands, for example |\textbf|) that have one
%    argument and typeset this argument in the requested way. These
%    commands are defined for all available Hebrew fonts defined above
%    and change only font parameters but not direction.
%
%    For example, to use Hebrew Classic font family, the following
%    sequence of commands should be included in a \LaTeXe{} document:
%    \begin{quote}
%    |\sethebrew|\\
%    |\textclas{Hebrew text printed with Classic fonts}|
%    \end{quote}
%    or to use Hebrew with Classic fonts locally:
%    \begin{quote}
%    |\R{\textclas{Hebrew text printed with Classic fonts}}|
%    \end{quote}
%
%    \begin{table}[t]
%    \begin{center}
%    \begin{tabular}{lll}
%    \textit{Command} & \textit{Corresponds to} & 
%                     \textit{Font family} \\[4pt]
%    |\textjm{..}| & |\rmfamily| & Jerusalem font \\
%    |\textds{..}| & |\bfseries| & Dead Sea font \\ 
%    |\textoj{..}| & |\itshape|  & Old Jaffa font \\
%                  & |\slshape|  & \\
%                  & |\emph|     & \\
%    |\textta{..}| & |\sffamily| & Tel-Aviv font \\
%                  & |\ttfamily| & \\[2pt]
%    |\textcrml{..}| & |\fontfamily{crml}| & Carmel fonts \\[2pt]
%    |\textfr{..}| & |\fontfamily{fr}| & Frank-Ruehl fonts \\[2pt]
%    |\textredis{..}| & |\fontfamily{redis}| & Redis fonts \\[2pt]
%    |\textclas{..}| & |\fontfamily{redis}| & Classic fonts \\[2pt]
%    |\textshold{..}| & |\fontfamily{shold}| & Shalom Old Style font \\
%    |\textshscr{..}| & |\fontfamily{shscr}| & Shalom Script font \\
%    |\textshstk{..}| & |\fontfamily{shstk}| & Shalom Stick font
%    \end{tabular}
%    \end{center}
%    \caption{Hebrew font-change commands with arguments}
%    \label{tab:fntcmds}
%    \begin{quote}
%    The font change commands provided here all start with |\text..|
%    to emphasize that they are for use in normal text and to be
%    easily memorable.
%    \end{quote}
%    \end{table}
%
%    We declare \LaTeXe{} font commands, e.g.\ |\textjm{|\ldots|}|
%    for all available fonts. Table~\ref{tab:fntcmds} shows the
%    meanings of all these new high-level commands.
%
%  \begin{macro}{\textjm}
%    Switches to \emph{Jerusalem} font which is default regular Hebrew
%    font (``roman'' family). Commands |\textrm{|\ldots|}| and
%    old-style |{\rm |\ldots|}| will produce the same result.
%    \begin{macrocode}
%<*hebfont>
\def\ivritex@tmp{HE8}
\ifx\ivritex@tmp\HeblatexEncoding %
  % compatibility with hebfonts:
  \DeclareTextFontCommand{\textjm}{\rmfamily\selectfont}
  \DeclareTextFontCommand{\textds}{\bfseries\selectfont}
  \DeclareTextFontCommand{\textoj}{\itshape\selectfont}
  \DeclareTextFontCommand{\textta}{\sffamily\selectfont}
  
  % an attempt to give some replacements to the original hebfonts:
  % 
  \DeclareTextFontCommand{\textcrml}{\fontfamily{david}\selectfont}
  \DeclareTextFontCommand{\textfr}{\fontfamily{frank}\selectfont}
  \DeclareTextFontCommand{\textredis}{\fontfamily{aharoni}\selectfont}
  \DeclareTextFontCommand{\textclas}{\fontfamily{drugulin}\selectfont}
  \DeclareTextFontCommand{\textshold}{\fontfamily{frank}\selectfont}
  \DeclareTextFontCommand{\textshscr}{\fontfamily{yad}\selectfont}
  \DeclareTextFontCommand{\textshstk}{\fontfamily{aharoni}\selectfont}
  % note that redis is larger than shstk

  
  \DeclareTextFontCommand{\textaha}{\fontfamily{aharoni}\selectfont}
  \DeclareTextFontCommand{\textdav}{\fontfamily{david}\selectfont}
  \DeclareTextFontCommand{\textdru}{\fontfamily{drugulin}\selectfont}
  \DeclareTextFontCommand{\textel} {\fontfamily{ellinia}\selectfont}
  % \textfr is already declared above
  \DeclareTextFontCommand{\textmir}{\fontfamily{miriam}\selectfont}
  \DeclareTextFontCommand{\textna} {\fontfamily{nachlieli}\selectfont}
  % is this necessary:
  \DeclareTextFontCommand{\textyad} {\fontfamily{yad}\selectfont}
 
\else%
\DeclareTextFontCommand{\textjm}{\rmfamily\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textds}
%    Switches to \emph{Dead Sea} font which is default bold font in
%    Hebrew. Commands |\textbf{|\ldots|}| and old-style 
%    |{\bf |\ldots|}| will produce the same result.
%    \begin{macrocode}
\DeclareTextFontCommand{\textds}{\bfseries\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textoj}
%    Switches to \emph{Old Jaffa} font which is default italic font in
%    Hebrew. Commands |\textit{|\ldots|}|, |\textsl{|\ldots|}|,
%    |\emph{|\ldots|}| and old-style |{\it |\ldots|}| or 
%    |{\em |\ldots|}| will produce the same result.
%    \begin{macrocode}
\DeclareTextFontCommand{\textoj}{\itshape\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textta}
%    Switches to \emph{Tel-Aviv} font which is default sans-serif font
%    in Hebrew. Commands |\textsf{|\ldots|}|, |\texttt{|\ldots|}| and
%    old-style |{\sf |\ldots|}| or |{\tt |\ldots|}| will produce the
%    same result (because sans-serif is used as typewriter font when
%    in Hebrew mode).
%    \begin{macrocode}
\DeclareTextFontCommand{\textta}{\sffamily\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textcrml}
%    Switches to \emph{Carmel} font. Regular and slanted variants of
%    carmel font will be used..
%    \begin{macrocode}
\DeclareTextFontCommand{\textcrml}{\fontfamily{crml}\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textfr}
%    Switches to \emph{Frank-Ruehl} font family. Regular, bold and
%    slanted frank ruehl fonts will be used.
%    \begin{macrocode}
\DeclareTextFontCommand{\textfr}{\fontfamily{fr}\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textredis}
%    Switches to \emph{Redis} font family. Regular, bold and slanted
%    redis fonts of various sizes will be used.
%    \begin{macrocode}
\DeclareTextFontCommand{\textredis}{\fontfamily{redis}\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textclas}
%    Switches to \emph{Classic} font family. The normal font will be 
%    hclassic and slanted --- hcaption.
%    \begin{macrocode}
\DeclareTextFontCommand{\textclas}{\fontfamily{clas}\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textshold}
%    Switches to \emph{Shalom Old Style} font.
%    \begin{macrocode}
\DeclareTextFontCommand{\textshold}{\fontfamily{shold}\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textshscr}
%    Switches to \emph{Shalom Script} font.
%    \begin{macrocode}
\DeclareTextFontCommand{\textshscr}{\fontfamily{shscr}\selectfont}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\textshstk}
%    Switches to \emph{Shalom Stick} font.
%    \begin{macrocode}
\DeclareTextFontCommand{\textshstk}{\fontfamily{shstk}\selectfont}
\fi
%    \end{macrocode}
%  \end{macro}
%
%    Finally, for backward compatibility with \LaTeX2.09. four old
%    font commands, e.g.\ |{\jm |\ldots|}| are defined too (see
%    Table~\ref{tab:oldcmds}).
%    \begin{table}[t]
%    \begin{center}
%    \begin{tabular}{lll}
%    \textit{Old font command} & \textit{Font name} &
%        \textit{Comment}\\[4pt]
%    |{\jm ..}| & Jerusalem & default regular (roman) font \\
%    |{\ds ..}| & Dead Sea  & default bold font \\ 
%    |{\oj ..}| & Old Jaffa & default italic and slanted font \\
%               &           & used also to emphasize text \\
%    |{\ta ..}| & Tel-Aviv  & default sans-serif and typewriter font\\
%    \end{tabular}
%    \end{center}
%    \caption{Hebrew old font-change commands for compatibility mode}
%    \label{tab:oldcmds}
%    \end{table}
%    \begin{macrocode}
\if@compatibility
  \DeclareOldFontCommand{\jm}{\normalfont\rmfamily\selectfont}%
                             {\@nomath\jm}
  \DeclareOldFontCommand{\ds}{\normalfont\bfseries\selectfont}%
                             {\@nomath\ds}
  \DeclareOldFontCommand{\oj}{\normalfont\itshape\selectfont}%
                             {\@nomath\oj}
  \DeclareOldFontCommand{\ta}{\normalfont\sffamily\selectfont}%
                             {\@nomath\ta}
\fi
%</hebfont>
%    \end{macrocode}
%
% \Finale
%%
%% \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         \~}
%%
\endinput