First of all, thanks for this excellent template. I used this for my thesis, and now I'm advising everyone around me to do the same.
I've run into an error when adding the language arabic to the tex file, in order to be able to add some quotes in arabic. Here is the basic example of the code that reproduces the error:
% **************************************************
% Document Class Definition
% **************************************************
\documentclass[%
paper=A4, % paper size --> A4 is default in Germany
twoside=true, % onesite or twoside printing
openright, % doublepage cleaning ends up right side
parskip=half, % spacing value / method for paragraphs
chapterprefix=true, % prefix for chapter marks
11pt, % font size
headings=normal, % size of headings
bibliography=totoc, % include bib in toc
listof=totoc, % include listof entries in toc
titlepage=on, % own page for each title page
captions=tableabove, % display table captions above the float env
chapterprefix=false, % do not display a prefix for chapters
appendixprefix=false, % but display a prefix for appendix chapter
draft=false,
configurebiblatex=false,
bibstyle=numeric, % value for draft version
]{scrreprt}%
% **************************************************
% Setup YOUR thesis document in this file !
% **************************************************
\input{my-thesis-setup}
\usepackage{polyglossia}
\setdefaultlanguage{english} \
\setotherlanguage{arabic}
\begin{document}
\section{Test Sentence}
\end{document}
As you see, the document contains only one call to section.
As it is now, the code produces the following error:
However, if I remove the line \setotherlanguage{arabic}, everything works. Also, If I don't use the sty package cleanthesis, everything works. So it looks like cleanthesis is doing something to section that doesn't work with the arabic language. Though I can't seem to figure out what.
I wonder if you could please help me with it.
I'm using cleanthesis 2019/06/21 v0.4.0, and XeTeX, Version 3.14159265-2.6-0.99992 to compile
Hi Ricardo,
First of all, thanks for this excellent template. I used this for my thesis, and now I'm advising everyone around me to do the same.
I've run into an error when adding the language arabic to the tex file, in order to be able to add some quotes in arabic. Here is the basic example of the code that reproduces the error:
As you see, the
document
contains only one call tosection
.As it is now, the code produces the following error:
However, if I remove the line
\setotherlanguage{arabic}
, everything works. Also, If I don't use thesty
packagecleanthesis
, everything works. So it looks likecleanthesis
is doing something tosection
that doesn't work with the arabic language. Though I can't seem to figure out what.I wonder if you could please help me with it.
I'm using
cleanthesis 2019/06/21 v0.4.0
, andXeTeX, Version 3.14159265-2.6-0.99992
to compileThanks, Rohan