\documentclass[a4paper,10pt,fleqn]{report} 
\usepackage{amsthm,amssymb,amsmath,mathrsfs}
\usepackage{lastpage}
\usepackage{subcaption}
\usepackage{float}
\usepackage{zref-perpage}
\usepackage{framed} 
\usepackage{xtab} 
\usepackage{tabularx}
\usepackage{graphicx} % inserting images
\usepackage{hyperref} % PDF links
\usepackage{setspace} % for switching between double/single space in document
\usepackage{fancyhdr} % package for changing Headings style
\usepackage[margin=10mm,font={small,bf},labelfont={normalsize,it}]{caption}
% setting the margins of page
\usepackage[all]{xy} 
\usepackage[top=40mm,right=35mm,bottom=40mm,left=25mm]{geometry}
\usepackage{verbatim}
\linespread{2}%For space between two lines
\newcommand\persiangloss[2]{#1\dotfill\lr{#2}\\}
% دستوری برای تعریف واژه‌نامه انگلیسی به فارسی
\newcommand\englishgloss[2]{#2\dotfill\lr{#1}\\}
% دستوری برای تعریف واژه‌نامه فارسی به انگلیسی
\usepackage{tocbibind}

%\usepackage{makeidx}
%\makeindex
%برای نمایه سازی
\usepackage{xepersian} 
\setlength{\parskip}{1ex plus  2ex }
% tell tex engine address of folder containing your pictures

\graphicspath{{image/}}

% commands to print the page number in header
\pagestyle{fancy} 
\cfoot{}
\lhead{\thepage}
% commands related to XePersian package
\settextfont[Scale=1.4]{B Nazanin}
\setdigitfont[Scale=1.2]{XB Niloofar}
%\setlatintextfont{LinLibertine}
\setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic},ItalicFont={lmroman10-italic}]{lmroman10-regular}
\defpersianfont\nastaliq[Scale=2]{IranNastaliq} 
\begin{document}
%\renewcommand{\-}{\hspace{0ex}} 
\newtheorem{definition}{تعریف}[section]
\theoremstyle{theorem}
\newtheorem{namad}[definition]{نمادگذاری}
\theoremstyle{definition}
\newcommand{\bR}{\mathbb{R}} 
\newcommand{\cB}{\mathcal{B}}
\newcommand{\cO}{\mathcal{O}}
\newcommand{\cG}{\mathcal{G}}
\newcommand{\cU}{\mathcal{U}}
\newcommand{\cK}{\mathcal{K}}
\newcommand{\cS}{\mathcal{S}}
\newcommand{\rM}{\mathrm{M}}
\newcommand{\rC}{\mathrm{C}}
\newcommand{\rV}{\mathrm{V}}
\newcommand{\ls}{\mathrm{LSC}_{+}(X)}
\newcommand{\ce}{\mathrm{C}^{*}(X)}
\newcommand{\lsc}{\mathrm{LSC}}
\newcommand{\fB}{\mathfrak{B}}
\newcommand{\fM}{\mathfrak{M}}
\newcommand{\sD}{\mathscr{D}}
\newcommand{\bt}{\begin{theorem}}

\newcommand{\ba}{\begin{align}}
\newcommand{\ea}{\end{align}}
\newcommand{\no}{\nonumber}
\DeclareMathOperator{\cl}{cl}
\include{start} 
\pagenumbering{harfi}
\tableofcontents\newpage\cleardoublepage
\include{Abstract} 
\include{Pish} 
\include{مقدمه}
\pagenumbering{arabic}
\pagestyle{fancy}
\include{chapter-1}

\end{document} 