This is a follow-on from Table of contents page's number doesnt match the numbering style when i use foreign language "arabic". There the OP had difficulties with the page numbers of entries in the ToC. This a slimmed down version of the MWE which shows the problem and a solution.

% tocarabicprob2.tex  (based on SE 586620)



%%%%% try with and without this (arabic babel changes the definition of the plain pagestyle)






% this was in the original but did not affect any numbering
\large{وبنيته وبعض البنيات الجزئية فيه.}

\tableofcontents \addcontentsline{toc}{chapter}{Table of Contents}


\chapter{Preliminaries and Basic Concepts about Algebras}


The OP's problem was that the page numbers changed from Roman to Arabic numbers with no intent on the part of the OP.

The basic problem here is that \usepackage[arabic,main=english]{babel} redefines the plain pagestyle (as noted by @Davislor in his answer to the original question). Why should the package interfere with the pagestyle and what could/should be done about it?

  • language files can redefine stuff. But this is not a babel problem, but a problem of arabic, and as this is basically unmaintained it is not something that can be easily changed or corrected. Mar 11, 2021 at 19:47
  • This is verging on an opinion-based question, but keep in mind that authors might want to change the numerals, and it might be necessary to change the text direction for numbers in that package.
    – Davislor
    Mar 11, 2021 at 19:47
  • The pragmatic answer is: switch to fontspec and \babelprovide[import=ar]{arabic}.
    – Davislor
    Mar 11, 2021 at 19:49


You must log in to answer this question.

Browse other questions tagged .