Latex Reverse RTL Page Numbers
9+ years in tech industry. I had the opportunity to work on a wide range of projects with companies both locally and remotely, including with software engineers from well-known tech firms such as Amazon, Atlassian, Google, and Microsoft.
I have a track record of taking ideas and turning them into successful software projects, and have made numerous contributions to open source.
I have experience working with a variety of languages and frameworks, and am highly adaptable and able to quickly learn and become proficient in new technologies.
I was compiling a book using LuaLatex only to find out that page numbers are messed up because the book's language is a right to left language.
Page 9's number is 9
Page 10's number is 01
Page 12's number is 21
and so...
Solution was to add this to reverse the numbers.
\makeatletter
\renewcommand{\thepage}{\LR{\arabic{page}}}
\makeatother
Change arabic with the language of your book :)