\documentclass[letterpaper,twoside]{extbook}
\usepackage[oldstyle,proportional]{libertine}
\usepackage{fontspec}
\usepackage{microtype}
\usepackage{polyglossia}
\usepackage{bookmark}
\hypersetup{pdftitle={Latin Moses},
						pdfauthor={Todd R. Hanneken},
						pdfborder={0 0 0}}
\usepackage[12pt]{extsizes}
\usepackage[bindingoffset=0cm,inner=1.8in,outer=2in,top=1.5in,bottom=1.5in]{geometry}
\usepackage{fancyhdr} 
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt} % remove the header 
\pagestyle{fancy}
	\fancyhead[LE,RO]{\thepage}
	\fancyhead[CO]{\textsc{Latin Jubilees}} 
	\fancyhead[CE]{\textsc{Fragmenta Parvae Genesis}} 
\setmainlanguage{latin}
\setotherlanguage{english}
\usepackage[series={A,B},noend,noeledsec]{reledmac} 
\Xarrangement[A]{paragraph}
\Xarrangement[B]{paragraph}
\Xbeforenotes[A]{18pt}
\Xbeforenotes[B]{18pt}
\Xlemmadisablefontselection[A] % Prevents the lemma from having the same characteristics as in the text (bold, italics, etc.)
\Xnotenumfont{\normalfont\bfseries} % To print the line number in bold in the apparatus...
\lineation{page} 
\setlength{\stanzaindentbase}{20pt}
\setstanzaindents{1,1}
\setcounter{stanzaindentsrepetition}{1}
\firstlinenum{0}
\linenumincrement{999}
\linenummargin{outer}
\Xnumberonlyfirstinline[] 
\Xnumberonlyfirstintwolines[]
\Xsymlinenum{}
\fnpos{critical-familiar}
\renewcommand*{\thefootnoteA}{\alph{footnoteA}}

\title{Latin Moses}
\author{Todd R. Hanneken}
\date{2022}
    
% Basic workaround for broken \section functionality in reledmac
\makeatletter
\newcommand{\TEIsection}[1]{\vspace{0.5cm}\noindent\large\textit{#1}\vspace{0.3cm}}\par\nobreak\vspace{-\parskip}\@afterheading\noindent
\makeatother
      
\begin{document}
\parindentX
\raggedbottom
\sidenotemargin{outer} 
\pagenumbering{arabic} 
\setcounter{page}{50} 
\beginnumbering 
\startlock
\pstart 
\ledouternote{Cap. 38}
\setline{1}\textsuperscript{1}\,
\edtext{…}{\lemma{}\Afootnote[nosep]{\emph{lacunam habet A.}}}
ut demus illi gloriam.
\setline{2}\textsuperscript{2}\,Tunc Iacob extendit arcum suum et transmisit sagittam et percussit Esau fratrem suum contra mammillam dextram ipsius et deiecit illum.
\setline{3}\textsuperscript{3}\,Et emisit sagittam secundam et percussit
\edtext{Adoram}{\Afootnote{\emph{uel aliter Aduram (cfr. Gn. 10.27), sc. Hebr. הֲדוֹרָם et Grec. Ὀδοῤῥά.}}}
\edtext{Aramaeum}{\Afootnote[nosep]{\emph{Rönsch non male, cfr. Ἀραμμαῖοι et Αριμαῖος}: arommenon \emph{sic A}.}}
iuxta mammillam sinistram ipsius et deiecit illum et occidit eum. 
\setline{4}\textsuperscript{4}\,Et post haec exierunt filii Iacob ipsi et pueri ipsorum diuisi in quattuor spiritus
\edtext{bareos}{\Afootnote{\emph{sc. ἡ βᾶρις, -εως.}}}. 
\setline{5}\textsuperscript{5}\,Et exiuit Iudas primus et Neptalim et Gad cum eo et quinquaginta pueri cum ipso secundum meridianum 
\edtext{bari}{\Afootnote[nosep]{\emph{Rönsch}: barin \emph{A}.}}
et interfecerunt quodquod inuenerunt in conspectu suo et non effugiit ex illis neque unus.
\setline{6}\textsuperscript{6}\,Et Leuui et Dan et Aser exierunt secundum orientem bari et quinquaginta cum ipsis et interfecerunt bellatores Moab et Ammon.
\setline{7}\textsuperscript{7}\,Exierunt Ruben et Issacar et Zabulon
\edtext{secundum septentrionem bari}{\Afootnote[nosep]{\emph{coni. Rönsch}}}
et quinquaginta ipsorum cum ipsis et interfecerunt et ipsi bellatores Filistin.
\setline{8}\textsuperscript{8}\,Et exiuit Symeon et Beniamin et Enoch filius Ruben secundum occasum barin et quinquaginta ipsorum cum ipsis
et interfecerunt ex Edom et ex Correo quadringentos uiros bellatores, et sescenti
\edtext{fugerunt}{\lemma{\textsuperscript{1}fugerunt}{\Afootnote[nosep]{\emph{coni. Rönsch}}}}
et quattuor filii Esau fugerunt cum ipsis et dereliquerunt corpus patris sui proiectum in excelso quod in Adurin.
\setline{9}\textsuperscript{9}\,Et persecuti sunt filii Iacob post eos usque ad montem Seir
et Iacob seppelliuit Esau fratrem suum in excelso quod est 
\edtext{in}{\lemma{\textsuperscript{2}in}{\Afootnote[nosep]{\emph{coni. Rönsch}}}}
Adurin et conuersus est in barin. 
\setline{10}\textsuperscript{10}\,Et 
\edtext{circumsederunt}{\lemma{cir-}{\Afootnote[nosep]{\emph{add. Rönsch}: cumsederunt \emph{sic A}.}}}
filii Iacob filios Esau in monte Seir et subiugauerunt illos ut sint seruientes filiis Iacob. 
\setline{11}\textsuperscript{11}\,Et miserunt ad Iacob patrem suum, si 
\edtext{faciant}{\Afootnote[nosep]{\emph{Charles} : facient \emph{A}}}
pacem cum
\edtext{ipsis}{\Afootnote{an interficient eos. Et misit Iacob ad filios suos, ut facerent pacem et fecerunt pacem cum ipsis \emph{post} ipsis \emph{coni. Rönsch (}interficiant \emph{Charles)}.}}
\setline{12}\textsuperscript{12}\,et posuerunt iugum timoris super ipsis ut dent honorem Iacob et filiis eius in omnibus diebus.
\setline{13}\textsuperscript{13}\,Et erant dantes honorem Iacob usque in diem
\edtext{descensionis}{\Afootnote[nosep]{\emph{Rönsch}: defensionis \emph{sic A}.}}
eius in Aegyptum.
\setline{14}\textsuperscript{14}\,Et non cessauerunt filii Edom de iugo timoris quem inposuerunt illis filii Iacob usque in diem istum. 
\pend
\pstart 
\setline{15}\textsuperscript{15}\,Et hii reges qui regnauerunt in Edom, priusquam regnaret regnum in filiis Istrahel, usque in diem hunc in terra Edom:
\setline{16}\textsuperscript{16}\,Barad filius Beor et nomen ciuitatis eius
\edtext{…}{\lemma{}\Afootnote[nosep]{\emph{lacunam habet A.}}}
\pend
\endlock 
\endnumbering 

\newpage
\beginnumbering 
\startlock
\pstart
\ledouternote{Ch. 38}
\textsuperscript{1}\,… to honor him. 
\textsuperscript{2}\,Then Jacob stretched out his bow and shot an arrow and struck Esau, his brother, on the right breast and brought him down dead to the ground. 
\textsuperscript{3}\,And he sent forth a second arrow and struck Adoram the Aramean on his left breast and brought him down to the ground and killed him. 
\textsuperscript{4}\,And after this the sons of Jacob and their servants divided themselves to the 
four sides\footnoteA{Literally “four winds” in the sense of four cardinal directions. See 1 Chron 9:24.}
of the 
tower\footnoteA{\emph{baris} (βᾶρις), here translated as “tower,” appears earlier as an Egyptian type of boat and may have come from the Egyptian language.} 
and went out on their own accord. 
\textsuperscript{5}\,Judah was the first to go out—both Naphtali and Gad were with him—and fifty servants went out with Judah along the south side of the tower; 
they killed everyone in sight and not a single person escaped them. 
\textsuperscript{6}\,Levi and Dan and Asher went out along the east side of the tower and fifty servants were with them; 
they killed the Moabite and Ammonite soldiers. 
\textsuperscript{7}\,Reuben and Issachar and Zebulon went out along the north side of the tower and fifty of their servants were with them; 
they killed the Philistine soldiers on their own. 
\textsuperscript{8}\,Simeon and Benjamin and Enoch, the son of Reuben, went out along the west side of the tower and fifty of their servants were with them; 
they killed four-hundred Edomites and Horites—they were soldiers—and six hundred fled. 
Esau’s four sons fled along with them and left behind their father’s body after it was abandoned on a hill in Adurin. 
\textsuperscript{9}\,Jacob’s sons pursued them up to Mount Seir, and Jacob buried Esau, his brother, on the hill that is in Adurin and turned back to the tower. 
\textsuperscript{10}\,Jacob’s sons surrounded Esau’s sons on Mount Seir and forced them into submission to serve the sons of Jacob. 
\textsuperscript{11}\,They sent word to Jacob, their father, if they should make peace; 
\textsuperscript{12}\,they placed the 
yoke of fear\footnoteA{Ethiopic has “yoke of servitude.” Rönsch explains as confusion of δουλεíας (servitude) and δειλíας (fear).}
on them to honor Jacob and his sons for all time. 
\textsuperscript{13}\,They were honoring Jacob up to the day of his descent into Egypt. 
\textsuperscript{14}\,Edom’s sons did not cease from the yoke of fear, which Jacob’s sons imposed upon them, until this very day.
\pend
\pstart
\textsuperscript{15}\,These are the kings who ruled in Edom until today in the land of Edom, before a kingship governed the sons of Israel: 
\textsuperscript{16}\,Bela,\footnoteA{Bela/Balak (בלע/βαλάκ) son of Beor appears as a king of Edom in Gen 36:32-33 and 1 Chron 1:43-44.
See also Bera/Balla (ברע/Βαλλά) King of Sodom in Gen 14:2.
Balak (בלק/Βαλάκ) son of Zippor is the king of Moab in the story of Balaam (Num 22-24).}
the son of Beor, and the name of his city was …
\pend
\endlock 
\endnumbering 

\end{document}

