I am using this thesis template. I need to add some arabic text. I need to add this preamble:
\usepackage{arabtex}
\usepackage[utf8]{inputenc}
\usepackage[LFE,LAE]{fontenc}
\usepackage[arabic]{babel}
Which works for me in a simple article. But with this thesis template, it generates errors:
Option clash for package babel.
\begin{alwayssingle} on input line 166 ended by \end{abstract}. \end{abstract}
\begin{abstract} on input line 166 ended by \end{romanpages}. \end{romanpages}
\begin{romanpages} on input line 148 ended by \end{document}. \end{document}
Can you identify how to make these preamble not conflict with this template?
EDIT:
This code works in separate tex file.
\documentclass[11pt,a4paper]{report}
\usepackage{arabtex}
\usepackage[utf8]{inputenc}
\usepackage[LFE,LAE]{fontenc}
\usepackage[arabic]{babel}
\begin{document}
\chapter{علوم الحاسوب}
\section{تاريخ}
\begin{otherlanguage}{arabic}
سلام
\end{otherlanguage}
\end{document}
But the problems arise when I try to incorporate this in this thesis template.