\documentclass[12pt]{report} 
\usepackage{ledmac,fancyhdr}
\pagestyle{fancy}
\usepackage{xunicode}
\usepackage{SDVerseMG}
%
%Sets up endnotes without leaving note mark in text. 
\usepackage{endnotes}
\let\note=\endnotetext
\renewcommand{\notesname}{Philological Commentary}
\font\Devanagari="Devanagari MT:mapping=dnconvert; script=deva; language=SAN; Conjuncts=Additional Conjuncts;  Character Alternates=Dha & Bha Curl Variants; 
%Character Alternates=Other Variants; 
%Alternate Numerals=Old Style Variants" at 12pt 
\font\DevanagariNote="Devanagari MT:mapping=dnconvert; script=deva; language=SAN; Conjuncts=Additional Conjuncts;  Character Alternates=Dha & Bha Curl 
Variants; %Character Alternates=Other Variants;
Alternate Numerals=Old Style Variants" at 10pt 
\font\DevanagariBFNote="Devanagari MT Bold:mapping=dnconvert; script=deva; language=SAN; Conjuncts=Additional Conjuncts;  Character Alternates=Dha & Bha Curl 
Variants; %Character Alternates=Other Variants;
Alternate Numerals=Old Style Variants" at 10pt 
\font\DevanagariBF="Devanagari MT Bold:mapping=dnconvert; script=deva; language=SAN; Conjuncts=Additional Conjuncts;  Character Alternates=Dha & Bha Curl 
Variants; %Character Alternates=Other
Variants; Alternate Numerals=Old Style Variants" at 12pt
\font\DevanagariSection="Devanagari MT Bold:mapping=dnconvert; script=deva; language=SAN; Conjuncts=Additional Conjuncts;  Character Alternates=Dha & Bha Curl 
Variants; %Character Alternates=Other 
Variants; Alternate Numerals=Old Style Variants" at 14pt
\font\DevanagariChapter="Devanagari MT Bold:mapping=dnconvert; script=deva; language=SAN; Conjuncts=Additional Conjuncts;  Character Alternates=Dha & Bha 
Curl Variants; %Character Alternates=Other 
Variants; Alternate Numerals=Old Style Variants" at 18pt
\font\DevanagariTitle="Devanagari MT Bold:mapping=dnconvert;  script=deva; language=SAN; Conjuncts=Additional Conjuncts;  Character Alternates=Dha & Bha Curl 
Variants; %Character Alternates=Other 
Variants; Alternate Numerals=Old Style Variants" at 36pt
%\font\Devanagari=”Devanagari MT:Conjuncts=Additional Conjuncts; Character Alternates=Old Style Variants; 
%Character Alternates=Old Style Variants; Alternate Numerals=Old Style Variants” at 12pt 
\newcommand{\dn}[1]{{\Devanagari#1{}}}
%\footline={\hss\dn{\folio}\hss}
\newcommand{\dnnote}[1]{{\DevanagariNote#1{}}}
\newcommand{\dnnotebf}[1]{{\DevanagariBFNote#1{}}}
\newcommand{\dnchapter}[1]{{\DevanagariChapter#1{}}}
\newcommand{\dntitle}[1]{{\DevanagariTitle#1{}}}
\newcommand{\dnbf}[1]{{\DevanagariBF#1{}}}
\newcommand{\dnsection}[1]{{\DevanagariSection#1{}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%The following Fancyhdr command makes top line disappear!
\renewcommand{\headrulewidth}{0pt}
%\lhead{\dnbf{kriyākālaguṇottara}}
\cfoot{{\Devanagari\thepage}}
%the distance between the individual numbered notes
\interparanoteglue{1em plus .4em minus .4em} 
\linespread{1.175}
\setlength{\footskip}{0em}
\textwidth = 6 in
\textheight = 9 in
\oddsidemargin = 0.0 in
\evensidemargin = 0.0 in
\topmargin = -0.25 in
\headheight = 0.0 in
\headsep = 0.25 in
\setlength{\parindent}{0pt} 
%\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
%\parskip = 0in
\linenummargin{left}
%\linenumberstyle{roman}
%\parindent = 0.0in 
%
\newcount\versenum 
%%this sets up automatic verse numbering
\def\endverse{\dn{//}\thinspace\the\versenum\thinspace \dn{//}\global\advance\versenum by 1}
\versenum=1
\verseno=1
%%
\setlength{\linenumsep}{1pc}
\setcounter{firstlinenum}{0}
\setcounter{linenumincrement}{5}
%The following command worked to fix the problem of footnotes and page numbers coming too close or overlapping, but the final page of each section prints page number and notes much closer together than on other pages.  This is ok, but not ideal.
\addtolength{\footskip}{1.0cm}
\addtolength{\skip\Afootins}{.3cm}
\addtolength{\skip\Bfootins}{.3cm}
\addtolength{\skip\Cfootins}{.3cm}
\addtolength{\skip\Dfootins}{.3cm}
\addtolength{\skip\Efootins}{.3cm}
%%%%%%%%%%%%%%%%%%%%%%%%%
%Edition abbreviation:
\newcommand\ld{[\kern-.19em[}           % double brackets for deleted syllables (left)
\newcommand\rd{]\kern-.19em]}           % (right)
%
\newcommand\one{\smash{$^{\hbox{\scriptsize{\textsc{1}}}}$}}        % Superscript numbers for line numbers
\newcommand\two{\smash{$^{\hbox{\scriptsize{\textsc{2}}}}$}}
%%%%% Symbols
\def\corr{\textit{corr.}\hbox{}}
\def\Cf{\textit{Cf.}\hbox{}}
\def\cf{\textit{cf.}\hbox{}}
\def\conj{\textit{conj.}\hbox{}}
\def\om{\textit{om.}}
%\def\uw#1#2{\underwiggle{#1}{#2}}
\def\crux{${\dagger}$}                       % obeli for insoluble passages
\def\ill{$\ast$}          % asterisk for illegible syllable
\def\unmetrical{ \textit{unmet.}}
\newcommand{\lem}{{\rm\kern.3em]\enskip}}
\newcommand{\emend}{\textit{em}.\hbox{}}
\newcommand{\hypermetrical}{\textit{ hypermet.}\hbox{}}
\newcommand{\hypometrical}{\textit{ hypomet.}\hbox{}}
\newcommand{\verso}{\smash{$^{\hbox{\scriptsize\textit{v}}}$}\hbox{}} 
\newcommand{\recto}{\smash{$^{\hbox{\scriptsize\textit{r}}}$}\hbox{}}
\newcommand{\rast}{\smash{$\scriptscriptstyle^\ast$}\hbox{}}
\newcommand{\?}{$\wr$\hbox{}}
\newcommand\lang{$\langle$\hbox{}}      % Wide angle brackets (left)
\newcommand\rang{$\rangle$\hbox{}}     % (right)
\newcommand\lins{$\lceil$\hbox{}}       % ceiling brackets for inserted syllables.
\newcommand\rins{$\rceil$\hbox{}}
\newcommand\<{\lang\hbox{}}
\renewcommand\>{\rang\hbox{}}
\font\mathsymbols= "MSBM10" at 11pt
\newcommand{\eyeskip}{\thinspace{\raise.9pt\hbox{\mathsymbols y}}\hbox{}\thinspace}
\font\othersymbols= "Arial Unicode MS" at 11pt
\newcommand{\flower}{\thinspace{\raise.9pt\hbox{\othersymbols ❀}}\hbox{}\thinspace}
\newcommand{\sectsymb}{\thinspace{\raise.9pt\hbox{\othersymbols ✢}}\hbox{}\thinspace}
\newcommand{\NGMPP}{\textsc{ngmpp}\thinspace}
%%%%%%%%%%%%%%%%%%%%%%%%%
%KKGU MSS abbreviations%%
\renewcommand{\P}{\textsc{P}\smash{\raise -.35ex\hbox{\tiny\textsc{alm}}}}
\newcommand{\margin}{\smash{\raise 1.25ex\hbox{\tiny\textsc{marg.}}}}
\newcommand{\propiamanu}{\smash{\raise 1.25ex\hbox{\tiny\textsc{propia manu}}}}
\newcommand{\secundamanu}{\smash{\raise 1.25ex\hbox{\tiny\textsc{secunda manu}}}}
\newcommand{\Da}{\textsc{D}\smash{\raise -.35ex\hbox{\tiny\textsc{a}}}}
\newcommand{\Db}{\textsc{D}\smash{\raise -.35ex\hbox{\tiny\textsc{b}}}}
\newcommand{\Dc}{\textsc{D}\smash{\raise -.35ex\hbox{\tiny\textsc{c}}}}
\newcommand{\pra}{\textsc{Pr}\smash{\raise -.35ex\hbox{\tiny\textsc{a}}}}   
\newcommand{\prb}{\textsc{Pr}\smash{\raise -.35ex\hbox{\tiny\textsc{b}}}}        
\newcommand{\All}{\textsc{$\Sigma$}}
\newcommand{\Beta}{\textsc{$\beta$}}
\newcommand{\Gammab}{\textsc{$\gamma$}}
\newcommand{\K}{\textsc{kṣemarāja}}
\def\pc{\smash{$^{\hbox{\scriptsize\textit{pc}}}$}}                % post corr.
\def\ac{\smash{$^{\hbox{\scriptsize\textit{ac}}}$}}                % ante corr.
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Preamble Fold
\begin{document}
\subsection*{Sample Verse (KKGU 1.3)}
\beginnumbering
\pstart
\versenum=3
\verseno=3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\dn{na śrutaṃ gāruḍaṃ kiṃcitsadyaḥpratyayakārakam /}
			\var{\dnnote{na \lem \P, taṃ \prb\Dc}}\p
			\var{\dnnote{sadyaḥ\lem \prb\Dc, sadya \P}}
			\var{\dnnote{pratyaya\lem \prb\Dc\P\pc, pratya\lins ya\rins\ \P\ac}}
			\var{\dnnote{kārakam\lem \P\Dc, kāraka \prb}}\p
\dn{tamācakṣva suraśreṣṭha mama bhaktasya śaṅkara \endverse}\p
			\var{\dnnote{bhaktasya\lem \prb\Dc, bhaktaśca \P}}\v
%
%3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pend
\endnumbering
\end{document}