\documentclass[11pt, a4paper]{report}
\usepackage{iftex}
\ifPDFTeX
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\IfFileExists{minionpro.sty}{%
	\usepackage[osf, loosequotes]{MinionPro}%
	\renewcommand{\scdefault}{ssc}%
	}{\usepackage{lmodern}}
\usepackage[german, francais, italian, greek, english]{babel} % Need to add greek and latin
\babeltags{french = francais}
\babeltags{german = german}
\babeltags{italian = italian}
%\babeltags{latin = latin}
%\babeltags{greek = polutonikogreek}

% Make ligatures searchable:
\input glyphtounicode
\pdfgentounicode=1

\else
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{Bembo Book MT Pro}[Numbers = OldStyle, Ligatures  = {TeX, Common}]
\newcommand{\slantfrac}[2]{\frac{#1}{#2}} % We're using this for Minion Pro support.
\usepackage{polyglossia}
\setdefaultlanguage[variant=newzealand]{english}
\setotherlanguage{french}
\setotherlanguage[variant=german, spelling=old]{german}
\setotherlanguage{italian}
\setotherlanguage{latin}
\setotherlanguage{greek}
\fi
\usepackage[margin=3cm]{geometry}
\usepackage{microtype}
\usepackage{fancyhdr}
\usepackage{sectsty}
\usepackage[normalem]{ulem}
\usepackage[noend, nofamiliar, noledgroup, series={A,B}]{reledmac}
\usepackage{makeidx}
% Citations:
\usepackage[
backend=biber,
style=mla,
]{biblatex}
\addbibresource{references.bib} %Imports bibliography file

\usepackage{hyperref}
\usepackage[nonumberlist]{glossaries} % hyperref must be loaded before glossaries.
% Set headers and footers:
\setlength{\headheight}{15.2pt} % Otherwise, will complain.
\pagestyle{fancy}
\fancyhf{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0.0pt}
%\renewcommand{\footrulewidth}{0.4pt}
% Sort all the rest:
\makeindex
\makeglossaries
% And we don't want our subsections included in the table of contents (if we make one)
%\setcounter{tocdepth}{1} % include sections
\setcounter{tocdepth}{0}
% Define the way we want our headings to look:
%\partfont{}
%\chapterfont{}
%\sectionfont{}
%\subsectionfont{}

% Include crop marks...
% \usepackage[cam, a4, center]{crop}

% The last few details.

\title{War Diaries}
\author{Dan Davin}
\date{1939--1945}
\hypersetup{
pdftitle={War Diaries},
pdfauthor={Daniel Marcus Davin, Tom McLean},
pdfsubject={Daniel Marcus Davin},
pdfkeywords={Dan Davin, Paddy Costello, Geoff Cox, New Zealand, Second World War, Cairo, Western Desert, Italy, Freyberg, Kippenberger, 2 NZ Division, Middle East, Military Intelligence, Eighth Army, Greece, Crete, Italy, Monte Cassino, El Alamein},
}

% Any commands to renew here.
\Xnotenumfont{\bfseries}
\Xarrangement[A]{paragraph}
\Xarrangement[B]{twocol}

% Index entries in our notes are not marked with an n, as we would hope.

\newcommand{\innote}[1]{#1\textit n}

% We can now have index entries of the form \index{Davin|innote} to have n appended.

\begin{document}