I've recently been using XePersian to typeset Persian and Arabic poems the traditional way, i.e. in two justified columns. The poetry formatting is done with the bidipoem package, and that's all fine. It looks much better if kashidas are added to even the columns, which, as far as I know, is only possible right now via XePersian.
Anyway, the only thing I can't figure out, despite having combed the XePersian documentation, is how to get Latin (as opposed to the default Persian) page numbers. Any ideas? I know this is a specific and perhaps dumb question, but I can't seem to figure it out. Just for good measure, I'll copy my preamble below.
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[12pt,letterpaper]{article}
\usepackage{hyperref}
\usepackage{setspace}
\usepackage{bidipoem}
\usepackage[Kashida]{xepersian}
\settextfont[Scale=1.4]{Scheherazade}
\setlatintextfont{Brill}
\begin{document}
\begin{latin}
Latin Text
\end{latin}
\end{document}
etc. I included the last line to show that I'm entering the Latin text environment, which does a great job of switching to print everything except page numbers in Latin script.
Thanks!
\settextfont[Mapping={}]{fontname}
– Vafa Khalighi Jun 27 '12 at 9:37\makeatletter \input{kashida-xepersian.def}\makeatother
. Bothbidipoem
andkashida-xepersian.def
are independent ofxepersian
. – Vafa Khalighi Jun 27 '12 at 9:47