{xepersian} is a package for typesetting Persian/English documents with XeLaTeX.

learn more… | top users | synonyms

2
votes
0answers
22 views

Tex studio- Bidirectional

I am using the xepersian package in Texstudio. The logical way of writing maths in Persian in Tex is that one writes in persian and when they press dollar, the font switches automatically to English. ...
1
vote
0answers
25 views

Problem with preparing presentation slides in persian/arabic language

I am trying to make my thesis presentation slides in persian language using beamer and xelatex or bidi; I am using texlive but when I run the following code without any error, the persian fonts do not ...
1
vote
1answer
52 views

Chapter/Section title in header without numbering

I want to have chapter and subsection in the headings of my document. but the numbering should not exist. Just to mention that I am using the XePersian package.
6
votes
2answers
121 views

\today and language (babel, xepersian)

I'm using xepersian for my article but in one page I need to add Gregorian calendar date. so I add: \usepackage[british]{babel} and then where I want the date: \selectlanguage{british} {\large ...
1
vote
0answers
31 views

XML style for Latex including Persian characters with some preferences

I am using the listings package to include some XML code in my document. Currently, I am using the following style: \lstset{ basicstyle=\ttfamily, columns=fullflexible, ...
1
vote
1answer
63 views

Problem with xr-hyper and xepersian latex packages

I had a problem with xr package and xepersian package; when I use these packages, I can not use options for external document command. File A: \documentclass{report} ...
1
vote
0answers
63 views

fontspec error using xepersian package!

when i want to use the xepersianpackage, in pdfLatex, i have the error: Fatal fontspec error: "cannot-use-pdftex" ! ! The fontspec package requires either XeTeX or LuaTeX to function. ! ! You must ...
3
votes
2answers
154 views

I have miktex but it can not recognize the xepersian package

I downloaded Miktex2.9 but when I try to type Farsi(persian) it does not recognize the xepersian package and give an error instead. I need to add the xepersian or other packages to my Miktex please ...
0
votes
0answers
146 views

Mupdf Error when extracting pdf in Portable Xepersian

I am trying to compile this Springer paper template in a portable Xepersian. %%%%%%%%%%%%%%%%%%%%%%% ‎file template.tex‎ %%%%%%%%%%%%%%%%%%%%%%%%% % % ‎This is a general template file for the LaTeX ...
4
votes
2answers
177 views

Fontspec warning : “rename-feature-not-exist”

I want to use Xepersian package. But I get this error while compiling with Xelatex. fontspec warning : "rename-feature-not-exist" Can some one help me with this? \documentclass{article} ...
6
votes
2answers
95 views

Could not change level separator

When I use XePersian package the following code does not work to set - instead of . as separator in headers? \documentclass{book} \renewcommand{\thesection}{\arabic{chapter}-\arabic{section}} ...
4
votes
1answer
111 views

How to type a decimal point not in a number

I'm using xepersian package and I was trying to type $0.\overline{1011}$, but I noticed that the dot after 0 is not interpreted as a decimal point (The decimal sign in Persian is something like /). ...
2
votes
1answer
79 views

Question marks instead of text when writing Persian with XePersian

I am trying to write in Persian in TexShop(Mac) and keep getting question marks instead of my text. Here is my code: \documentclass{article} \usepackage{xepersian} \usepackage{bidi} ...
0
votes
1answer
291 views

Persian Thesis Template

Is there any M.Sc. Thesis LaTeX template available ? It would be nice if it is according to rules of Sharif University in writing Thesis!
0
votes
1answer
143 views

problem with xepersian referencing

I'm writing my MSc thesis using LaTeX in Persian. When I use the XePersian package all the references including the number of sections, figures, equations, references disappear. Only the numbers of ...
3
votes
1answer
125 views

english number and ltr direction in xetex

I'm writing a document using xepersian and the text direction is right to left. Also I need to add formulas in the document. My problem is that all numbers in the formula are persian and if I add text ...
1
vote
1answer
390 views

xepersian, xetex can't find fonts

I'm trying to add persian text to my document but it doesn't accept the fonts I set and returns this error: The font "XB Niloofar" cannot be found. I just installed texlive using this guid. And ...
5
votes
1answer
123 views

reset counter when using \LTRfootnote from bidi package

I'm using xepersian package for my Persian job, and I would like the footnote counter to automatically restart from '1' for each page of my document when I using \LTRfootnote command, but footmisc ...
0
votes
0answers
36 views

Problem with xepersian ver 2.8 [duplicate]

when I update xepersian package to ver 2.8, and use XeLaTeX compiler for the following code: \documentclass[11pt,b5paper]{book}‎ \usepackage{xepersian}‎ \begin{document} $m$ \end{document} then I ...
3
votes
1answer
131 views

Table is printed in reverse order using xepersian

I am using xepersian package and the tables are printed in reverse order. For instance when typesetting the following code: \makeatletter \@ifundefined{Umathcode}{\let\Umathcode\XeTeXmathcode}{} ...
2
votes
1answer
372 views

problem with footnote in xepersian : “ Undefined control sequence \small By me\footnote”

I have problem in using xepersian package. When I use footnote, it come with the error Undefined control sequence \end but without xepersian it works properly. I use MiKTeX 2.9 here is the code ...
2
votes
2answers
430 views

Xepersian package prints persian text but does not recognize formulas and gives error

I have used MiKTeX for many works in last year. I didn't have a problem installing it. But now I am trying to install it on my new laptop. It's killing me with an ocean of errors. it has been two ...
4
votes
1answer
291 views

Problem showing English characters with xepersian

I'm using TeXstudio in order to write a report and I use XeLaTeX compiler. However the following code : \documentclass[10pt,a4paper]{report} \usepackage{xepersian} \usepackage[left=1.00cm, ...
3
votes
1answer
246 views

How can the following TeX file be run without errors? [closed]

I get an error : ! I can't find file `xdvipdfmx.cfg'. l.6 \input xdvipdfmx.cfg Please type another input file name and ! Emergency stop. l.6 \input xdvipdfmx.cfg I really wish to know what ...
5
votes
1answer
123 views

Linenumbering per page with XePersian and the traditionalpoem environment

I’m editing an Arabic poem with XePersian and the traditionalpoem environment which works fine so far, but I have some questions regarding the line numbers and the paragraph footnotes. (1) I would ...
2
votes
1answer
160 views

Why can't this table compile?

I had wrote following table in TexMaker, when I write it without \usepackage{xepersian} it works but when I want to compile it with that package too, program will hang! But I don't see any mistakes ...
1
vote
1answer
525 views

xepersian's error: mapping=tex-text at 10.0pt not loadab [closed]

I use xpersian package to produce farsi document in ubuntu 12.04 \documentclass[12pt]{article} \usepackage{xepersian} \settextfont[Scale=1]{XB Niloofar} \setlatintextfont[Scale=0.9]{Junicode} ...
2
votes
1answer
125 views

Verbatim alignment in XePersian

Verbatim environment is right-aligned when using XePersian package, so I have to wrap it in latin environment. So I decide to create a new environment: \newenvironment{faverbatim} ...
2
votes
2answers
208 views

Inserting RTL text in verbatim environment

How I can insert Persian text in verbatim environment when using XePersin package ( v11.138, 2012/05/03). Following code dose not work: \begin{verbatim} <!DOCTYPE book PUBLIC "-//OASIS//DTD ...
2
votes
1answer
214 views

Letter in Appendix missing in XePersian

The following example shows that there is the letter "A." missing in the caption of the appendix in the pdf when xepersian is used. Is there a way to fix this? \documentclass{scrbook} ...
0
votes
1answer
172 views

General items in Non-Persian font using the XePersian package?

Working on a book I first run into the page numbering problem that is discussed elsewhere, but I guess the problem is more general. When I try the following code, I get a Persian date in the footer ...
1
vote
1answer
295 views

page headings in scrbook and xepersian

I found the page about page numbers in xepersian, but the problem seems to be more general. I cannot get the page headings with scrpage2 in the KomaScript classes to work. I tried the following: ...
2
votes
1answer
72 views

xepersian and qtree incompatibility?

I am a linguist and want to display trees. I tried the the following code. \documentclass{article} \usepackage{xepersian} \usepackage{qtree} \begin{document} \begin{latin} gshjgsdjgsad ...
3
votes
2answers
407 views

How to make footnotes left-right and the numbers in English in Persian documents?

The document is compiling in Xelatex and the whole document is Persian using the package xepersian. The footnotes are all in English but they are aligned right and the numbers are persian. I want the ...
4
votes
2answers
436 views

Line numbers in traditionalpoem environment?

So I've been trying to get satisfactory results typesetting Persian and Arabic poems, in the traditional format, with XeLaTeX. It works just about fine – see the sample document below – but I would ...
8
votes
2answers
408 views

Latin page numbers with XePersian?

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. ...
2
votes
0answers
139 views

Problem with persian-bib package [closed]

I have a document where the main language should be English with only some Arabic text. In my references I have English as well as Arabic references. The main direction of the document should be from ...
3
votes
1answer
433 views

LTR sequences within RTL text - alternative to cumbersome markup?

I am writing a book in Persian that is full of text in Latin scripts scattered all over book. I have to wrap every Latin script with \lt{} to guide xetex to align words from left to right. It's ...
2
votes
1answer
537 views

RTL Refrences in XePersian package

In my Persian paper all references are in Latin script. How I can insert references (Bibliography) RTL in XePersian, and how I can convert digits in URLs to west Arabic. MWE: ...
3
votes
1answer
195 views

Number not displayed in parentheses

When I put a number between parentheses it will vanished: What is wrong? MWE: ‎\documentclass{article}‎‎ ‎\usepackage{hyperref}‎‎ ‎‎‎ \usepackage{syntonly} ‎\usepackage{xepersian}‎‎ ...