% \iffalse meta-comment
%
% Copyright (C) 2011,2012,2013 Zvi Gilboa (zgilboa@virginia.edu)
% 
% This file is part of the `culmusx' package.
% -------------------------------------------
%
% \fi
%
%% who we are
\ProvidesFile{HE8enc.def}
         [8-bit Hebrew font encoding]
%% declare input encoding HE8 and its font substitution
\DeclareFontEncoding{HE8}{}{}
\DeclareFontSubstitution{HE8}{cmr}{m}{n}
\DeclareErrorFont{HE8}{cmr}{m}{n}{10}
%% provide text commands
\ProvideTextCommand{\textcopyright}{HE8}{\textcircled{\@latin{c}}}
\ProvideTextCommand{\textregistered}{HE8}{\textcircled{\scshape%
                                          \@latin{r}}}
\ProvideTextCommand{\texttrademark}{HE8}{\textsuperscript{\@latin{TM}}}

%% declare text symbols
\DeclareTextSymbol{\grave}{HE8}{0}
\DeclareTextSymbol{\quotesinglbase}{HE8}{13}
\DeclareTextSymbol{\textquotedblleft}{HE8}{16} % inconsistent LaTeX symbol naming (\textquote...)
\DeclareTextSymbol{\textquotedblright}{HE8}{17} % inconsistent LaTeX symbol naming (\textquote...)
\DeclareTextSymbol{\quotedblbase}{HE8}{18} % inconsisten LaTeX symbol naming (\quote...)
\DeclareTextSymbol{\textendash}{HE8}{21}
\DeclareTextSymbol{\textemdash}{HE8}{22}
\DeclareTextSymbol{\textquotedbl}{HE8}{34}
\DeclareTextSymbol{\textdollar}{HE8}{36}
\DeclareTextSymbol{\textquotesingle}{HE8}{39}
\DeclareTextSymbol{\textquoteright}{HE8}{39}
%% TO DO: the following two definitions need to be verified
\DeclareTextSymbol{\hebmaqaf}{HE8}{45}
\DeclareTextSymbol{\texthyphen}{HE8}{127}

%% geresh and gershayim need to be verified
\DeclareTextSymbol{\hebgeresh}{HE8}{`\'}
\DeclareTextSymbol{\hebgershayim}{HE8}{`\"}

%% more standard symbols
\DeclareTextSymbol{\textbackslash}{HE8}{92}
\DeclareTextSymbol{\textasciicircum}{HE8}{94}
\DeclareTextSymbol{\textquoteleft}{HE8}{96}

\DeclareTextSymbol{\textbraceleft}{HE8}{123}
\DeclareTextSymbol{\textbar}{HE8}{124}
\DeclareTextSymbol{\textbraceright}{HE8}{125}
\DeclareTextSymbol{\textasciitilde}{HE8}{126}

%% GHOST GLYPHS: CulmusX, automatic placement of vowel marks
\DeclareTextSymbol{\HebAlefGhost}{HE8}{1}
\DeclareTextSymbol{\HebBetGhost}{HE8}{2}
\DeclareTextSymbol{\HebGimelGhost}{HE8}{3}
\DeclareTextSymbol{\HebDaletGhost}{HE8}{4}
\DeclareTextSymbol{\HebHeGhost}{HE8}{5}
\DeclareTextSymbol{\HebVavGhost}{HE8}{6}
\DeclareTextSymbol{\HebZayinGhost}{HE8}{7}
\DeclareTextSymbol{\HebKhetGhost}{HE8}{8}
\DeclareTextSymbol{\HebTetGhost}{HE8}{9}
\DeclareTextSymbol{\HebYodGhost}{HE8}{10}
\DeclareTextSymbol{\HebKafGhost}{HE8}{11}
\DeclareTextSymbol{\HebLamedGhost}{HE8}{12}
%%
\DeclareTextSymbol{\HebMemGhost}{HE8}{14}
\DeclareTextSymbol{\HebNunGhost}{HE8}{15}
%%
\DeclareTextSymbol{\HebSamekhGhost}{HE8}{19}
\DeclareTextSymbol{\HebAyinGhost}{HE8}{20}
%%
\DeclareTextSymbol{\HebPeGhost}{HE8}{25}
\DeclareTextSymbol{\HebTsadiGhost}{HE8}{26}
\DeclareTextSymbol{\HebQofGhost}{HE8}{27}
\DeclareTextSymbol{\HebReshGhost}{HE8}{28}
\DeclareTextSymbol{\HebShinGhost}{HE8}{29}
\DeclareTextSymbol{\HebTavGhost}{HE8}{30}
\DeclareTextSymbol{\HebAlefLamedGhost}{HE8}{31}

%% now come the Hebrew characters from cp1255
\DeclareTextSymbol{\hebalefmapiq}{HE8}{128}
\let\hebalefmappiq=\hebalefmapiq
\let\hebalefdagesh=\hebalefmapiq

\DeclareTextSymbol{\hebbetdagesh}{HE8}{129}
\DeclareTextSymbol{\hebgimeldagesh}{HE8}{130}
\DeclareTextSymbol{\hebdaletdagesh}{HE8}{131}

\DeclareTextSymbol{\hebhemapiq}{HE8}{132}
\let\hebhemappiq=\hebhemapiq
\let\hebhedagesh=\hebhemapiq

\DeclareTextSymbol{\hebvavdagesh}{HE8}{133}
\let\hebvavshuruq=\hebvavdagesh

\DeclareTextSymbol{\hebzayindagesh}{HE8}{134}
\DeclareTextSymbol{\hebkhetdagesh}{HE8}{135}
\DeclareTextSymbol{\hebtetdagesh}{HE8}{136}
\DeclareTextSymbol{\hebyoddagesh}{HE8}{137}
\DeclareTextSymbol{\hebfinalkafdagesh}{HE8}{138}
\DeclareTextSymbol{\hebkafdagesh}{HE8}{139}
\DeclareTextSymbol{\heblameddagesh}{HE8}{140}
\DeclareTextSymbol{\hebfinalmemdagesh}{HE8}{141}
\DeclareTextSymbol{\hebmemdagesh}{HE8}{142}
\DeclareTextSymbol{\hebfinalnundagesh}{HE8}{143}
\DeclareTextSymbol{\hebnundagesh}{HE8}{144}
\DeclareTextSymbol{\hebsamekhdagesh}{HE8}{145}
\DeclareTextSymbol{\hebalterayin}{HE8}{146}
\DeclareTextSymbol{\hebfinalpedagesh}{HE8}{147}
\DeclareTextSymbol{\hebpedagesh}{HE8}{148}
\DeclareTextSymbol{\hebfinaltsadidagesh}{HE8}{149}
\DeclareTextSymbol{\hebtsadidagesh}{HE8}{150}
\DeclareTextSymbol{\hebqofdagesh}{HE8}{151}
\DeclareTextSymbol{\hebreshdagesh}{HE8}{152}
\DeclareTextSymbol{\hebshindagesh}{HE8}{153}
\let\hebsindagesh=\hebshindagesh
\DeclareTextSymbol{\hebtavdagesh}{HE8}{154}
\DeclareTextSymbol{\hebfullholam}{HE8}{155}
\DeclareTextSymbol{\hebshinwithdot}{HE8}{156}
\DeclareTextSymbol{\hebsinwithdot}{HE8}{157}
\DeclareTextSymbol{\hebshindageshdot}{HE8}{158}
\DeclareTextSymbol{\hebsindageshdot}{HE8}{159}
\DeclareTextSymbol{\hebetnahta}{HE8}{160}
\DeclareTextSymbol{\hebsegolcant}{HE8}{161}
\DeclareTextSymbol{\hebshalshelet}{HE8}{162}

\DeclareTextSymbol{\hebzaqefqaton}{HE8}{163}
\let\hebzaqefqatan=\hebzaqefqaton % Added by Zvi Gilboa 2011-04-10, see unicode chart 0590

\DeclareTextSymbol{\hebzaqefgadol}{HE8}{164}

\DeclareTextSymbol{\hebtipha}{HE8}{165}
\let\hebtipeha=\hebtipha  % Added by Zvi Gilboa 2011-04-10, see unicode chart 0590

\DeclareTextSymbol{\hebrevia}{HE8}{166}
\DeclareTextSymbol{\hebzarqa}{HE8}{167}
\DeclareTextSymbol{\hebpashta}{HE8}{168}
\DeclareTextSymbol{\hebyetiv}{HE8}{169}
\DeclareTextSymbol{\hebtevir}{HE8}{170}
\DeclareTextSymbol{\hebgereshcant}{HE8}{171}
\DeclareTextSymbol{\hebgereshmuqdam}{HE8}{172}
\DeclareTextSymbol{\hebgershayimcant}{HE8}{173}
\DeclareTextSymbol{\hebqarneipara}{HE8}{174}
\DeclareTextSymbol{\hebtelishagdola}{HE8}{175}
\DeclareTextSymbol{\hebpazer}{HE8}{176}
\DeclareTextSymbol{\hebmunah}{HE8}{177}
\DeclareTextSymbol{\hebmahapakh}{HE8}{178}
\DeclareTextSymbol{\hebmerkha}{HE8}{179}
\DeclareTextSymbol{\hebmerkhakfula}{HE8}{180}
\DeclareTextSymbol{\hebdarga}{HE8}{181}
\DeclareTextSymbol{\hebqadma}{HE8}{182}
\DeclareTextSymbol{\hebtelishaqetana}{HE8}{183}
\DeclareTextSymbol{\hebyerahbenyomo}{HE8}{184}
\DeclareTextSymbol{\hebole}{HE8}{185}
\DeclareTextSymbol{\hebiluy}{HE8}{186}
\DeclareTextSymbol{\hebdehi}{HE8}{187}

\DeclareTextSymbol{\hebtsinor}{HE8}{188}
\let\hebzinor=\hebtsinor % Added by Zvi Gilboa 2011-04-10, see unicode chart 0590

\DeclareTextSymbol{\hebmasoracircle}{HE8}{189}
\DeclareTextSymbol{\hebvarika}{HE8}{190}
\DeclareTextSymbol{\hebplus}{HE8}{191}
\DeclareTextSymbol{\hebschwa}{HE8}{192}
\DeclareTextSymbol{\hebhatafsegol}{HE8}{193}
\DeclareTextSymbol{\hebhatafpatah}{HE8}{194}
\DeclareTextSymbol{\hebhatafqamats}{HE8}{195}
\DeclareTextSymbol{\hebhiriq}{HE8}{196}
\DeclareTextSymbol{\hebtsere}{HE8}{197}
\DeclareTextSymbol{\hebsegol}{HE8}{198}
\DeclareTextSymbol{\hebpatah}{HE8}{199}
\DeclareTextSymbol{\hebqamats}{HE8}{200}
\DeclareTextSymbol{\hebholam}{HE8}{201}
\DeclareTextSymbol{\hebqubuts}{HE8}{203}
\DeclareTextSymbol{\hebdagesh}{HE8}{204}
\DeclareTextSymbol{\hebmeteg}{HE8}{205}
\DeclareTextSymbol{\hebmaqaf}{HE8}{206}
\DeclareTextSymbol{\hebrafe}{HE8}{207}
\DeclareTextSymbol{\hebpaseq}{HE8}{208}
\DeclareTextSymbol{\hebshindot}{HE8}{209}
\DeclareTextSymbol{\hebsindot}{HE8}{210}
\DeclareTextSymbol{\hebsofpasuq}{HE8}{211}
\DeclareTextSymbol{\hebdoublevav}{HE8}{212}
\DeclareTextSymbol{\hebvavyod}{HE8}{213}
\DeclareTextSymbol{\hebdoubleyod}{HE8}{214}
\DeclareTextSymbol{\hebaleflamed}{HE8}{215}
\DeclareTextSymbol{\hebfinalkafsheva}{HE8}{216}
\DeclareTextSymbol{\hebfinalkafqamats}{HE8}{217}
\DeclareTextSymbol{\hebvavholamhaser}{HE8}{218}
\DeclareTextSymbol{\hebbetrafe}{HE8}{219}
\DeclareTextSymbol{\hebkafrafe}{HE8}{220}
\DeclareTextSymbol{\hebperafe}{HE8}{221}
\DeclareTextSymbol{\textsterling}{HE8}{222}
\DeclareTextSymbol{\texteuro}{HE8}{223}
\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{\hebkhet}{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}
\DeclareTextSymbol{\hebalefpatah}{HE8}{251}
\DeclareTextSymbol{\hebalefqamats}{HE8}{252}
\DeclareTextSymbol{\hebyodhiriq}{HE8}{253}
\DeclareTextSymbol{\hebdoubleyodpatah}{HE8}{254}
\DeclareTextSymbol{\hebnewsheqel}{HE8}{255}
\let\hebsin=\hebshin

%% compatability with legacy packages
\let\sheva=\hebsheva
\let\hatafsegol=\hebhatafsegol
\let\hatafpatah=\hebhatafpatah
\let\hatafqamats=\hebhatafqamats
\let\hiriq=\hebhiriq
\let\tsere=\hebtsere
\let\segol=\hebsegol
\let\patah=\hebpatah
\let\qamats=\hebqamats
\let\holam=\hebholam
\let\qubuts=\hebqubuts
\let\dagesh=\hebdagesh
\let\meteg=\hebmeteg
\let\maqaf=\hebmaqaf
\let\sindot=\hebsindot
\let\shindot=\hebshindot
\let\hebhet=\hebkhet
\let\hebhetdagesh=\hebkhetdagesh
\let\hebsheva=\hebschwa

\endinput

