# Customize page numbering in plain TeX (not LaTeX)

I would like to change the page numbering from the default 1, 2, ... to the corresponding symbols in my native language. I have the fonts and typesetting ready and just want to replace the page numberings. How would I go about it ?

• Welcome to TeX.SX! Can you give some more clues? Are just the symbols different from Arabic digits, but the numbering system is decimal? Where are the symbols in the font? – egreg Jan 25 '16 at 23:27
• how you typeset numbers depends on your native tongue: Roman is not Arabic. What exactly do you want to do? – erreka Jan 26 '16 at 0:23
• Hi, I am the original poster. (just registered in TeX stackexchange. Cannot figure out how to edit my guest post) The number system is decimal. Following the lead given by Henri Menke below, I did the following which worked : \footline={\centerline{\od \folio}}. \od refers to the fonts I am using. Thanks everyone for the quick response. – nsoum Jan 26 '16 at 0:34
• you can ask for moderator help to merge accounts. see Help Center > My Account – barbara beeton Jan 26 '16 at 15:29

The page number is typeset by adding it to the token list \footline. By default the page number is preprocessed by the macro \folio, which outputs a roman numeral if the page number is negative. Below you can find the default definitions of plain TeX.
\footline={\hss\tenrm\folio\hss}