Questions about using TeX for typesetting documents in Arabic script.

learn more… | top users | synonyms

2
votes
1answer
36 views

Page Numbers are displayed in reverse such as 21 for page 12 in ConTeXt MarkIV

I am trying to typeset a book in arabic in ConTeXt. I have stumbled upon this issue Page Numbers change after 9 to 01 for page 10 21 for page 12 31 for page 13 41 for page 14 and so on The issue ...
5
votes
2answers
64 views

ConTeXt MarkIV : Arabic Letters are disjointed and reversed in headers and margin

I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the MWE: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature ...
5
votes
0answers
60 views

Arabic in LuaLaTeX: Why do I get the vowels typeset RTL in LTR mode?

This mwe: \documentclass[12pt]{article} \usepackage{fontspec} \usepackage{etoolbox} \newfontfamily\libertine{Linux Libertine O} \newfontfamily\arabicfont[Script=Arabic]{Amiri} ...
5
votes
0answers
52 views

non-printing characters in the OpenType layout of LuaLaTeX [closed]

And while we are at it, there is another probable bug in the LuaLaTex OpenType layout code: a couple of non-printing characters (such as 200c, 200d, 200e 200f and so on) do in fact show up in the pdf, ...
10
votes
1answer
184 views

Missing Arabic Ligature due to diacritical marks in ConTeXt MarkIV

I am having an issue with Arabic Font Ligatures showing discrepancy between ConTeXt and XeLateX, when using the same font namely Scheherazade. The issue is not present when using XeLateX but only ...
6
votes
0answers
71 views

letters and spacing in Arabic — bug in OpenType layout of LuaLaTeX

I perceive the following unwanted outcome: Two issues: In the first line, the last word on the right has a small gap between the second and the third letter from the right that is not supposed to ...
13
votes
1answer
138 views

Uneven Line Spacing for Arabic Text using xelatex + memoir + plyglossia

This is my first LaTeX Project. I am using XelaTeX to compile the tex file. I am having an issue with Even Line Spacing in my arabic document. The baseline grid is fine on the first page but the text ...
6
votes
1answer
115 views

How to use ConTEXt to typeset Arabic, and color diactrical marks?

I need to typeset Arabic and color different group of letters/diactrical marks in different color. For this purpose, I explored capabilities of XeLaTeX/ArabXeTeX environment, but could not obtain good ...
0
votes
0answers
16 views

the figure displayed out of The text at right side of the page in an Arabic text, this problem is associated with the \usepackage[arabic]{babel}

\documentclass[a4paper,11pt,oneside]{book} %\documentclass[11pt,a4paper]{article} %\documentclass[11pt,twoside,a4paper]{article} \usepackage{float} \floatstyle{boxed} \restylefloat{figure} ...
8
votes
1answer
185 views

What happened to \luatextextdir?

As of today, the command \luatextextdir does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands: ...
4
votes
1answer
95 views

Is there arabic latex allow me to write mathematical paper with question arabic and latine math?

I would like to write a book in mathematics but with questions in Arabic and Latin mathmetical symbols (for example, between two Arabic words there might be a Latin mathematical symbol). Note: For ...
0
votes
0answers
21 views

Using different fonts based on scripts type in XeTeX?

In XeTex and XePersian, I can choose different fonts for normal Persian font, and text which is explicitly defined as Latin separately. But what if I want to typeset other scripts beyond Arabic and ...
2
votes
1answer
84 views

problem with tcolorbox package and the arabi one

I'm trying to write my mathematical courses in arabic using the Arabi package, but it seem that there is a confusion with TcolorBox one, specially the Boxes in page 2 doesn't appear correctly. Here is ...
7
votes
2answers
161 views

Replace certain Unicode character with another in XeTeX

I use XeLaTeX and XePersian to write Persian documents. Unfortunately, some frequently used fonts in Persian does support important characters like ی so I should replace them with Arabic counterparts ...
1
vote
2answers
68 views

arabxetex: how to properly write wasla sign?

How can I create "wasla" signs using arabxetex? Writing qad-i in.sarafa (an example from the arabtex documentation) produces: In arabtex, it produces: How can I get the same effect in arabxetex? ...
0
votes
0answers
27 views

arabxetex: differences in font spacing (?) and ligature type when specifying a font (as per manual recommendation) versus leaving font unspecified

arabxetex documentation states: ArabXeTeX requires the user to define an \arabicfont in the preamble. The recommended procedure, by means of fontspec, is to define it as follows: ...
3
votes
1answer
61 views

arabxetex: how to write 'ayn with a long vowel fatha (dagger alif)

With full vocalization turned on: a-l_`alamiyna produces: ; note that it messes up the sukun symbol on the lam a-l`aAlamiyna produces: a-l'aalamiyna produces a version that I think can be ...
1
vote
0answers
48 views

Correct inconsistent image placement across direction boundaries in ConTeXt?

I have a serious of auto-generated documents in various languages that include a mix of LTR and RTL languages. I am trying to come up with common markup that works across both directions. I've run ...
2
votes
0answers
67 views

using block environment for arabic/persian Beamer and right alignment

I have a problem with block environment in Beamer. I am using persian/arabic language. For the block environment, I want the title of the block and the text inside the block be aligned on the right ...
5
votes
1answer
91 views

Header not shown when using scrlayer-scrpage with polyglossia

MWEs: This doesn't work, I only see the main body text. \documentclass[headinclude=true]{scrartcl} \usepackage{scrlayer-scrpage} \usepackage{fontspec} \usepackage{polyglossia} ...
4
votes
2answers
98 views

How to put an arabic title in the abstract

i'm using the package arabtex to write in arabic , but for the abstract the output is not printed correctly the command that i've used is \renewcommand{\abstractname}{\RL{ملخص}} and also tried ...
4
votes
0answers
59 views

How to enable contextual swashes for Arabic

I recently read about Contextual Swashes for Arabic fonts from here. They have shown an example of how it would look. I've already read this question and it helped me set up my MWE. Here is a quick ...
2
votes
1answer
37 views

Arabic script not displaying in chapter headings, even though body text is fine.

In the MWE below {thanks to @maïeul}, the Arabic chapter heading and chapter number does not display the Arabic font, but the body text displays fine. It seems to be a problem with Arabic, because ...
3
votes
2answers
40 views

Right align footnote section rule

Here is my MWE: \documentclass[a4paper]{article} \usepackage{a4wide} \usepackage{xecolor} \usepackage{polyglossia} \usepackage{fontspec} \definergbcolor{titlecolor}{750000} \setmainlanguage{arabic} ...
2
votes
1answer
55 views

polyglossia and Latin enumerate problem

I use polyglossia package and when I try to enumerate in this way ( 6a,6b,6c,,, ) it changes to arabic alphabet. how can I write it in the way I want it (6a,6b,6c). \documentclass[a5paper]{article} ...
1
vote
1answer
46 views

\textcolor with Arabic and polyglossia highlights whole line

I would like to highlight certain phrases in my XeLaTeX document in a different color. The document is completely in Arabic and I'm using polyglossia and xcolor. My problem is that the color bleeds on ...
5
votes
0answers
68 views

ZWJ in LuaTeX prints a bar

The following document prints in XeTeX the medial form of the arabic letter, thanks to the two ZWJ characters ("200D). \documentclass{article} \usepackage{fontspec} ...
2
votes
1answer
63 views

Arabic references in Jabref

I use Jabref as my referencing manager. In the picture, one reference showed up correctly, while the other did not. In Jabref I modified the encoding to utf-8. So I was expecting all Arabic ...
5
votes
1answer
41 views

substitute a character from one script to another

I am working in XeLaTeX + Memoir, and I have two documents: one typeset in English and another typeset in Arabic. As the two documents are related, I am using the package xr to establish ...
1
vote
1answer
59 views

change script of footnote label in bidi

I am using Memoir and polyglossia (including fontspec and bidi). My document contains text in Arabic script and Latin script. I'd like the footnote labels (footnotemark) to display in the defined ...
1
vote
1answer
40 views

Problem with referencing to the the number of an equation when using arabic support of babel

Unfortunately, I have a problem when using babel with arabic. When deferring to the number of an equation, the digits are reversed. In the below document when using (\ref{eq:10}) it gives (01) instead ...
2
votes
1answer
68 views

Arabic support in Babel switches the TOC page numbering style

My thesis format requires that pages appear before the first chapter to be numbered with Roman numerals and the main content of the thesis to be numbered with Arabic numbers. It seems that the arabic ...
2
votes
0answers
117 views

Dictionary English-French-Arabic with glossaries package

Using the glossaries package under polyglossia, I adapt the sample file presenting the English and French dictionaries sample-lang.tex to my use for the 3 languages. The result is what I want, ...
8
votes
1answer
105 views

How to load an OFM-based PFB font with fontspec?

In my ḍād package (for Arabic typesetting, see also the TUGboat paper) I use a PostScript font with OFM metrics file. I load the font in the usual way, going through an FD file. This works only for ...
3
votes
1answer
109 views

a problem with vertical spacing in bidipoem traditional poem and eledmac

I'm making my first attempt to typeset an Arabic poem in two columns using bidipoem in eledmac. All is going well--except I cannot adjust the vertical space between the lines without messing ...
9
votes
1answer
214 views

Different page labels/numbering in PDF viewer

I am using the report class and would like to have front matter with a different numbering than the main matter. So I use Roman numbering at first and then Arabic numbering later on, but what I would ...
2
votes
1answer
92 views

Literal numbering in arabic environment

I want to produce pages numbered in literal way in arabic book environment, in the Frontmatter of a document instead of roman numbering in the usual way. The order of the arabic letters counter for ...
3
votes
1answer
106 views

How can change word `پیوست اول` to `پیوست آ` in table of contents

How can change word پیوست اول to پیوست آ in table of contents pay attention my minimal code. \documentclass{book} \usepackage{zref-perpage} \zmakeperpage{footnote} \usepackage{titlesec} ...
2
votes
1answer
120 views

Customizing breakable boxes with tcolorbox

I use the tcolorbox package to produce coloured boxes in arabic environment (a right-to-left language), under the polyglossia package. I explain some of the commands in the environment example, in the ...
2
votes
1answer
89 views

Making a small modification to a itemize environment for arabic presentation with beamer

I would like to change the alignment of lists to the right ( for Arabic presentation ) with beamer. With the enumerate environment we can add some code if it is used frequently, like this : ...
3
votes
1answer
73 views

setotherlanguage{arabic} makes inline-tikz not to be typset inline

\documentclass{article} \usepackage{fontspec} \usepackage{tikz} \usepackage{polyglossia} \setmainlanguage{french} \setotherlanguage{arabic} % comment that line, the problem disappears. ...
4
votes
2answers
175 views

Setting a fallback font for non-Arabic charset not supported by a certain Arabic font

the desired Arabic font is Droid Arabic Naskh source here. Problem is that when I compile the document using xetex I get funny boxes instead of non-Arabic charset as in the MWE below: MWE ...
2
votes
1answer
161 views

LaTeX Kurdish Kurdi / كوردی (Sorani) problems

I'm trying to use arabic script but it seems I run into trouble, the output is just a mess of question marks, literally. I took this code from this page (I'm on Macbook Pro Yosemite, TeXLive, ...
3
votes
1answer
278 views

Adding Arabic text to an English document

I'm trying to include Arabic text in an English document (I'm a new latex user), but I can't seem to get any Arabic text to render at all, using xelatex or any kind of tex. I'm using texshop 3.51 on a ...
1
vote
0answers
31 views

Adding Arabic text to English document [duplicate]

I'm trying to include Arabic text in an English document (I'm a new latex user), but I can't seem to get any Arabic text to render at all, using xelatex or any kind of tex. I'm using texshop 3.51 on a ...
0
votes
1answer
56 views

Which package to use with memoir for arabic support with vowels support?

I am planning on writing a book with LaTeX. I have read that KOMO-Script and Memoir are good packages for writing books. Due to the easy english documentation of memoir, i am picking it up first. ...
5
votes
2answers
91 views

Arabic Support in Babel Mess up Chapter referencing

\documentclass[12pt]{book} \usepackage[utf8]{inputenc} \usepackage[arabic,main=english]{babel} \begin{document} \chapter{Introduction} \label{ch:intro} We talked about the second chapter ...
8
votes
1answer
150 views

How To Fix Rendering of Persian Font With XeLaTeX?

I am trying to typeset a poem with XeLaTeX using the IranNastaliq font, and I am running into problems with the glyphs rendered for many words. I have a PDF file I rendered from the same source tex ...
4
votes
1answer
132 views

Conflict between mdframed and arabic babel

I'm trying to make a template for an Arabic book. I wish to use the babel package with pdflatex as I'm not familiar with xelatex. I was hoping to arabianize the legend orange template ...
3
votes
2answers
276 views

Replacing Western Arabic numerals with Arabic–Indic numerals in formulas

Is there a way to use non-Western Arabic digits in formulas of an English tex document? For example in output of $$\frac{100x}{25}$$ Arabic–Indic numerals/Eastern Arabic digits (٠ ١ ٢) will appear ...