% _header.tex

\documentclass[12pt, twoside, openright]{book}

%\usepackage{bookman}    % no italics
%\usepackage{ebgaramond}
%\usepackage{palatino}    % no italics
%\usepackage{tgpagella}
\usepackage{fourier-otf}

%\usepackage{latexsym} % fourier otf already has these

\usepackage[
%  left=3cm, 
%  right=3cm, 
%  top=2cm, 
%  bottom=2cm
paperwidth  = 6in,
paperheight = 9in,
inner       = 0.9in,     % Gutter for binding
outer       = 36pt,     
top         = 48pt,     
bottom      = 67.5pt,   
includeheadfoot,
headsep     = 0.25in,
  ]{geometry}
\usepackage{parskip}
%\usepackage{color}
\usepackage[perpage]{footmisc}
\usepackage{comment}
\usepackage{verse}
\excludecomment{glossarytext}

\usepackage{lettrine}
\usepackage[cam,letter,center,noinfo]{crop}   % CROP MARKS

\usepackage{fixfoot}

% 1. Load the packages for alpha tracking and footnote combining
%\renewcommand{\thefootnote}{\alph{footnote}}

\usepackage{alphalph}
\renewcommand{\thefootnote}{\alphalph{\value{footnote}}}
%\makeatletter
%\renewcommand{\theff}{\alphalph{\value{ff@footnote}}}
%\makeatother

% In _header.tex
\newif\ifdefiningfootnotes
\definingfootnotestrue   % default: define footnotes

\newcommand{\GlossaryEntry}[3]{%
  % #1 = footnote macro name (e.g. \fnKosmos)
  % #2 = footnote text
  % #3 = glossary body text
  \ifdefiningfootnotes
    \DeclareFixedFootnote{#1}{#2}%
  \else
    \begin{glossarytext}#3\end{glossarytext}%
  \fi
}

%\newenvironment{translatornote}{%
%  \par\smallskip
%  \small\itshape
%  \noindent\textbf{Translator's Note:}\space
%}{%
%  \par\smallskip
%}

\newenvironment{translatornote}{%
  \par\smallskip\noindent\rule{\linewidth}{0.4pt}\par
  \small\itshape
  \noindent{\normalfont\small\textbf{Translator's Note:}}\space
}{%
  \par\noindent\rule{\linewidth}{0.4pt}\par\smallskip
}

\newcommand{\fnPar}{\\[6pt]}

\setcounter{secnumdepth}{0}

%\newcommand{\DROPCAP}[1]{%
%    \setlength{\columnsep}{0.2em}%
%    \begin{wrapfigure}[3]{l}{0pt}
%        \raisebox{-2.2\baselineskip}[0pt][0pt]{ 
%            \includegraphics[height=3.0\baselineskip]{#1}%
%        }%
%    \end{wrapfigure}%
%}

% 2. Force lowercase letters using standard style keywords

% --- Corrected fixfoot style assignment ---
% We declare the 'alph' style keyword inside the package hook 
% so it doesn't leak out as printed text.
%\DeclareFixedFootnoteStyle{alph}

% --- Safe Fixed Footnote Declaration Shortcut ---
%\def\DeclareFixedFootnote#1#2{\declarefixedfootnote{#1}{#2}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% default formatting macros
\newcommand{\VS}[1]{$^{#1}$ \label{#1} }
\newcommand{\myinput}[1]{\input{#1}}
\newcommand{\myxref}[3]{#1.#2:#3}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% other formatting macros
\newcommand{\omicron}{o}
\newcommand{\negd}[1]{\underline{#1}}   % double negative
\newcommand{\negt}[1]{\underline{#1}}   % triple negative
\newcommand{\J}[1]{#1}

\def \AIONIOS   {AI\={O}NIOS}
\newcommand{\ANER}{AN\={E}R}
\newcommand{\ANTHROPOS}{ANThR\={O}POS}
\def \epiousios { epio\'{u}sios G}
\newcommand{\GE}{G\={E}}
\newcommand{\MONOGENES}{MONOGEN\={E}S}
\newcommand{\zoe}{zo\={e}}
\newcommand{\ZOE}{ZO\={E}}
\newcommand{\ZOOPOIEO}{Z\={O}OPOIE\={O}}

% apparatus macros
\newcommand{\koine}{\textit{\textbf{K}}}
\newcommand{\hesychian}{\textit{\textbf{H}}}
\newcommand{\vulgate}{\textit{vg}}
\newcommand{\oldsyriac}{\textit{old syriac}}
\newcommand{\papyrus}[1]{p$^{#1}$}
\newcommand{\sinaiticus}{$\aleph$}          
\newcommand{\vaticanus}{B}          
\newcommand{\TODO}[1]{#1}
%\newcommand{\EmDash}{---}
\newcommand{\EnDash}{--}

% four dots (ellipsis at the end of a sentence)
\def\ldotsplus{\mathinner{\ldotp\ldotp\ldotp\ldotp}}
\def\fourdots{\relax\ifmmode\ldotsplus\else$\m@th \ldotsplus\,$\fi}

%%%%%%%%%%%%
% Proper nouns
% ḗ ṓ

\def \Abraam      { Abra\'{a}m          }
\def \Alpheus     { Alpha\'{i}os        }
\def \Andrew      { Andr\'{e}as         }
\def \Arimathea   { Arimatha\'{i}as     }
\def \Barabbas    { Barabb\'{a}s        }
\def \Beelzebub   { Beelzebo\'{u}l      }
\def \Bethlehem   { B\={e}thl\'{e}em    }
\def \Bethphage   { B\={e}thphagḗ       }
\def \Bethania    { B\={e}than\'{i}a    }
\def \Bethsaida   { Bethsaid\'a         }
\def \Chorazin    { Chorazin            }
\def \Dalmanoutha { Dalmanouth\'{a}     }
\def \David       { Dau\'{i}d           }
\def \Elias       { H\={e}l\'{i}as      }
\def \Elizabet    { Elis\'{a}bet        }
\def \Emmaeus     { Emmao\'{u}s         }
\def \Galilee   { Galile\'{i}as       }
\def \Gennesaret  { Gennesar\'{e}t      }
\def \Golgotha    { Golgoth\'{a}        }
\def \Herodias    { Herodias            }
\def \Herodians   { Herodians           }
\def \Herod       { Herṓd\={e}s         }
\def \Iesous      { I\={e}so\'{u}s      }
\def \Ierous      { Ierousal\={e}m\fnIerousalem{} }
%\def \Ieros       { Hierosoluma\fnIerousalem{} }
\def \Ieros       { Ierousal\fnIerousalem{} }
\def \Ioanna      { I\={o}\'{a}onna     }
\def \Iona        { I\={o}na            } % Jonah
\def \Joseph      { I\={o}sēph          }
\def \Ioudas      { Io\'{u}das          } % Judas TODO
%\def \Ioudas      { Iouda\'{i}a         } % \Judea
\def \Isaac       { Isa\'{a}k           }
\def \Iscariot    { Iskari\={o}th       }
\def \Israel      { Israḗl              }
\def \Jacob       { I\'{a}k\={o}b       } % Jacob
\def \Jeremiah    { Ierem\'{i}as        }
\def \Jericho     { Ierichṓ             }
\def \John        { I\={o}\'{a}onn\={e}s }
\def \Jordan      { Iord\'{a}n\={e}s    } % Jordan
\def \Joses       { I\={o}sḗs           } % Joses
\def \Judah       { Io\'{u}das          } % \Judah
\def \Judea       { Iouda\'{i}os        } % Judea
\def \Kapernaoum  { Kapernao\'{u}m      }
\def \Lazaros     { L\'{a}zaros         }
\def \Leuites     { Leuítēs             }
\def \Levi        { Leuí                }
\def \Lot         { Lṓt                 }
\def \Magdalene   { Magdal\={e}nḗ       }
\def \Mary        { Mar\'{i}a           }
\def \Mariam      { Mari\'{a}m          }
\def \Martha      { M\'{a}rtha          }
\def \Matthew     { Maththa\'{i}os      }
\def \Moses       { Mōsḗs               }
\def \Nazareth    { Nazar\'{e}t         }
\def \Nazarene    { Naz\={o}ra\'{i}os   }
\def \Noah        { Nṓe                 }
\def \Petros      { P\'{e}tros          }
\def \Phillip     { Ph\'{i}llipos       }
\def \Pilate      { Pil\'{a}tos         }
\def \Rachel      { Rachḗl              }
\def \Samareias   { Samare\'{i}as       }
\def \Samaritan   { Samare\'{i}t\={e}s  }
\def \Satan       { Satan\'{a}s         }
\def \Salome      { Salṓm\={e}          }
\def \Siloam      { Silo\'{a}m          }
\def \Sidon       { Sidṓn               }
\def \Simon       { S\'{i}m\={o}n       }
\def \Sodoma      { S\'{o}doma          }
\def \Solomon     { Solomṓn             }
\def \Thaddeus    { Thadda\'{i}os       }
\def \Thomas      { Thom\'{a}s          }
\def \Tyre        { T\'{u}ros           }
\def \Zacchaeus   { Zakcha\'{i}os       }
\def \Zacharia    { Zachar\'{i}as       }
\def \Zebedee     { Zebedai\'{o}s       }

% Other
\def \kodrantes   { kodr\'{a}nt\={e}s   }
