latex3 / babel

The babel system for LaTeX, LuaLaTeX and XeLaTeX
LaTeX Project Public License v1.3c
126 stars 34 forks source link

Can't change page numbering with arabic ldf (pdflatex) #136

Closed seloumi closed 3 years ago

seloumi commented 3 years ago

I can't change page numbering format even if Arabic is added as a secondary language !!

https://tex.stackexchange.com/questions/601437/issue-in-pagenumbering-with-arabic-ldf-babel

\documentclass[12pt]{report}
\usepackage[T1]{fontenc}
%\usepackage[french]{babel}
\usepackage[arabic,spanish]{babel}

\begin{document}

\renewcommand{\thepage}{foo}
%\pagenumbering{roman}

\chapter{First chap}
\section{First sec}

\newpage
text 
\newpage
text 

\end{document}
jbezos commented 3 years ago

The support for the Arabic language is a separate package. See https://ctan.org/pkg/arabi . Anyway, I've posted a workaround in tex.stackexchange.com .