Questions tagged [bidi]

Issues related to bidirectional TeXing

Filter by
Sorted by
Tagged with
4
votes
1answer
36 views

Color an RTL language in babel

It seems I cannot color an RTL language in babel. The (xelatex) code below colors the first line in black, not red: \documentclass{article} \setlength{\parindent}{0pt} \usepackage{xcolor} \usepackage[...
1
vote
0answers
37 views

How does TeX display words in RTL languages?

This is likely a newb question, but I'm wondering how TeX automatically understands a language is RTL. This is my test program: \documentclass{article} \usepackage{fontspec} \newfontfamily{\arabicfont}...
2
votes
2answers
61 views

Why is my output partially BiDi?

I'm using xelatex (on Debian stable). My TeX file looks like this: \documentclass{book} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{hebrew} \setmainfont{Latin Modern Roman}...
2
votes
0answers
144 views

What is the current status of Kashida (in bidi) with luatex?

I am trying to find out how to have Kashida justification in Luatex (in TexLive) for bidi text. Background: I can see by searching that support might appear in babel here but nothing implemented yet....
1
vote
1answer
49 views

clv3 and hyperref conflict TeX capacity exceeded, sorry [input stack size=5000]

I have a problem when using the below code I got an error TeX capacity exceeded, sorry [input stack size=5000]. \begin I searched and I found another question here. It is a similar issue but did ...
4
votes
1answer
82 views

RTL constructed script can't be typeset properly in LuaLaTeX?

I have a grammar for one of my constructed languages, which uses its own right-to-left script. In my font for this script, I have the glyphs mapped to the Private Use Area and rely on wrapping text in ...
0
votes
1answer
82 views

Xindy, indextools and Arabic

I am trying to get Xindy work with Arabic. Everything works smoothly except for the final result where the index items are not aligned right to left and some letters are not in order. I couldn't solve ...
2
votes
1answer
74 views

Problem with Indic numerals (mashriq form) after bidi & xetex update

After some update (bidi,latex,xetex,...) I'm facing problem in numbers with . or - which is not happening previously, numbering direction is correct with maghrib form 0,1,2,...,9 but with mashriq form ...
0
votes
1answer
73 views

Bidi patching error in XeLaTeX

Recently I have updated my MikTeX, and eversince I get strange warnings. Based on this nice example I tried to reduce my file to minimal, but I still get these warnings saying Patching '\begin' or \...
3
votes
1answer
50 views

Glossaries in multilingual document

For the shown MWE, the file won't run \documentclass[a4paper,12pt,twoside]{book} \usepackage[nil,bidi=basic-r,layout=counters.lists.tabular]{babel} \babelprovide[import=ar,mapdigits,main]{arabic} \...
2
votes
1answer
112 views

BIDI package causes footnotes not to appear on dedication page

I have a XeLaTeX problem I'm not sure how to solve. I want to put a footnote on my dedication page. But if I have bidi package enabled, footnotes disappear. With BIDI package Without BIDI package ...
1
vote
1answer
473 views

File `bidi.sty' not found

I use polyglossia with XeLaTeX on texlive. When I try to run Hebrew documents (according to this page from the Culmus project documentation) I get the following message: LaTeX Error: File `bidi.sty' ...
3
votes
1answer
103 views

How do I align a math environment to the right?

I'm trying to wrote a few math formulas, but they go left. The picture will explain: As you can see, the < signs are not in the same line. The code: צד ראשון: \L{ \begin{eqnarray*} 2(i+1) & ...
1
vote
1answer
138 views

Scattered Poems Within Text Using Xepersian

I want the scattered poems used over various sections or chapters ( or for example inside separate boxes) to be treated as a single unit and their lengths be adjusted together. what should I do? *I ...
8
votes
2answers
373 views

A problem with Hebrew and English underlined text

When I'm combined at the same line Hebrew and English, the line below is "breaking" for two lines.... e.g. MWE: \documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl} \usepackage{...
2
votes
2answers
75 views

Caption formatting does not work with bidi

I am using the caption package to format figure and table captions. However, this breaks for longtable tables when the package bidi is loaded. Here is a minimal example: \documentclass{scrartcl} \...
1
vote
1answer
65 views

How to display a Tikz Flowcharts properly in a RTL Beamer document

\documentclass[hyperref=unicode]{beamer} \usepackage{hologo} \mode<presentation>{\usetheme{Warsaw}} \usepackage[nil,bidi=basic-r]{babel} \babelprovide[import=ar-DZ, main]{arabic} \babelprovide[...
3
votes
2answers
54 views

xelatex: bidi problems with RTL character placing

I'm preparing a text on how bidirectional formatting works and using xelatex for that. For this I need to put RTL characters exactly as they are placed in the text, with disabled bidi processing, and ...
0
votes
1answer
124 views

How to complete these side borders in Beamer? [duplicate]

There are some great answers here and here about the same issue but different code samples, in this case I am using a new package beamer-rlCTAN with last update of Babel package, it solves problems ...
1
vote
1answer
154 views

LuaLatex and bidi (Hebrew/German)

Using polyglossia or babel/bidi with LuaLatex seems to cause different problems. In my case I am totally helpless. I need to use the \texthebrew and \RL commands, but I can't get it run. Also, I don'...
2
votes
1answer
67 views

Bidi package messing up line spacing in XeLaTeX

I need to use XeLaTeX with the bidi package in my document. However, after long testing, it turned out that bidi somehow allows setspace to modify the line spacing of the footnotes, but keeps the ...
2
votes
1answer
58 views

eso-pic together with bidi

I built a documentclass which uses the eso-pic package to place content on each page relative to the top left corner. Now I used this documentclass in a document which is (partly) hebrew. For hebrew I ...
1
vote
1answer
157 views

\hangindent and RTL text

while \hangindent works perfectly for left to right text, it does not work for RTL text, with bidi. Cf this example running with xelatex \documentclass{article} \usepackage{polyglossia} \usepackage{...
4
votes
1answer
114 views

Longtable and tikz

I used a preamble for many months where tikz and longtable lived together without problems. From a few days, I think after last update, I have the problem that I have reproduced with the MWE I send. ...
2
votes
1answer
113 views

Hyperref form with RTL main language like Arabic

I would like to typeset an electronic form with Arabic as the main language and English as another language in the same document. I used the xetex engine without success, the layout was messy as you ...
2
votes
1answer
97 views

problem with \NewList in bidi package

The macro \NewList is defined in biditools.sty (originally defined in lollipop) as: \def\bidi@csarg#1#2{\expandafter#1\csname#2\endcsname} \def\NewList:#1 {\bidi@csarg\newtoks{#1}\global\csname#1\...
2
votes
1answer
67 views

longtable package: Stretch height of last row on page “RTL document”

I took a look at this nice answer longtable package: Stretch height of last row on page and I need to apply this answer in my arabic document (right to left document). The problem that I can not get ...
0
votes
1answer
52 views

Beamer overly for table of contents in a RTL presentation

There is the same question Beamer table of contents overly working properly (\pausesections displays two columns simultaneously in TOC) for LTR with this trick: \makeatletter \newcommand{\trickbeamer}...
1
vote
1answer
176 views

RTL frametitle on beamer

Based on this question here How to reduce frame title box size in a special case frametitle is \flushright but text direction is LTR not RTL although i add \textarabic{test} % !TeX TS-program = ...
1
vote
1answer
56 views

Add indentation to subsection for RTL table of content on beamer

Based on this answer here "RTL table of content on beamer" I would like to add indentation to \subsection % !TeX TS-program = xelatex \documentclass{beamer} \useinnertheme[shadow=true]{rounded} \...
0
votes
1answer
176 views

RTL table of content on beamer

I used this answer related to titlebox size, but this causes the TOC be centered or justified if i add \flushright. This code solve the issue partially but suppress numbering bullets (fig1): \...
1
vote
0answers
23 views

Section numbers do not display correctly when Hebrew is loaded as other language by polyglossia [duplicate]

I am using the polyglossia package to write a document which contains English text and a few Hebrew names. There seems to be problem with bidi and scrbook as soon there is an appendix. In this case ...
1
vote
1answer
77 views

Arabic/Polyglossia/Bidi incompatibility with `abnt` package

Using bidi redefines chapter headings and also figure counters with chngcntr back to the default book class behavior. I tried to change the order of the packages, even in the .sty file, to no avail. \...
3
votes
1answer
267 views

Problem with bidi in polyglossia

Any help please for this message error? ! Package Listings Error: direction textdirection unknown. I'm using polyglossia, and getting this error after updating to texlive 2018. I managed to limit ...
3
votes
1answer
128 views

Inverted parentheses in RTL text in LuaLaTeX

I want to typeset Hebrew (RTL) text (either within LTR paragraphs or in its own RTL paragraphs) in LuaLaTeX. I manage to do this well with XeLaTeX using the bidi package, but when I use LuaLaTeX’s ...
9
votes
1answer
480 views

Colors bizarre results with right to left text

I have this example \documentclass[12pt]{article} \usepackage{xcolor} \usepackage{fontspec} \usepackage{bidi} \setmainfont{Amiri} \parindent=0pt \begin{document} {\color{red} text from left to ...
7
votes
2answers
348 views

LTR text where it should be RTL (right to left) in beamer list second level

I have this example of writing right to left list in beamer \documentclass{beamer} \usefonttheme{serif} \usepackage{bidi} \setbeamertemplate{enumerate item}[circle] \setbeamertemplate{itemize ...
3
votes
1answer
94 views

bidi: Strange error tkz-tab package with texlive 2018

I have texlive 2018 on my pc and I'm facing issues with tkz-tab package which were not shown with texlive 2017 ! No room for a new \count . \ch@ck ...\else \errmessage {No room for a new #3} ...
1
vote
2answers
192 views

RTL multicols table of contents on beamer

I want to use Multicols for table of contents on Beamer for Arabic document, the problem that it starts from left column not right column here is my MWE: % !TeX TS-program = xelatex \...
0
votes
1answer
147 views

Where is babel bidi support and font loading documented?

Closely Related: - https://tex.stackexchange.com/a/355429/153289 - Cannot produce english-greek document with xelatex - Greek and Hebrew in a single pdflatex babel document In closely related ...
1
vote
0answers
53 views

Number+period positions flipped - only with some TeXLive versions

I'm compiling the following document: \documentclass{minimal} \RequirePackage{fontspec} \RequirePackage{polyglossia} \setmainlanguage{english} \setotherlanguage{hebrew} \begin{document} This ...
3
votes
0answers
516 views

What is the best text editor for bidi texts? [closed]

I want to write latex in both Latin as well as Persian using TeXLive and xepersian package. I have experiences with Texstudio but I need an editor which avoids two problems: 1-crazy cursor: ...
0
votes
1answer
234 views

problem building bidi package

I downloaded the most current zip file for the 'bidi' package from CTAN and attempted to build it. First I ran sudo latex bidi.ins which ran with no errors. Next, I ran this: sudo latex bidi.dtx ...
8
votes
2answers
240 views

Suppress `bidi`'s logo when using `polyglossia`

Using the latest version of bidi (32.4), a logo is added to the first page's footer, reading Typeset by the bidi package. This is obviously undesirable when composing a document meant to be viewed by ...
10
votes
1answer
992 views

tikz: Right to left text within text along path

I have this example to write text along path using decorations.text library, and I want to insert arabic text starting from right to left \documentclass[border=5mm]{standalone} \usepackage{tikz} \...
2
votes
2answers
103 views

Numbers are reversed in \hbox with the bidi=basic-r babel option

I know that (in the words of the manual) bidi support in babel is taking its first steps, but there are already some things I'm liking better than the xelatex + bidi approach. So, I'll ask anyway :). ...
4
votes
2answers
381 views

Bidi algorithm and xelatex

Is there a way to make xelatex follow the standard bidi algorithm? I'm using setup similar to this: \documentclass[12pt]{article} \TeXXeTstate=1 \usepackage{polyglossia} \setmainfont{Linux Libertine ...
1
vote
0answers
219 views

How to number formulas in Arabic or Persian text

In an Arabic document I have this code for 2 formulas: \begin{equation} a=b+c\tag{{alpha}} \end{equation} \begin{equation} d=vt \end{equation} In the PDF output the parentheses around the formula ...
1
vote
1answer
240 views

Making enumerate items align at left while using xepersian

I am in a trouble to make enumerated items at the left: \documentclass{article} ‎‎ \usepackage{xepersian}‎‎‎ \usepackage{amsmath,amsthm,amscd,amsfonts,amssymb,enumerate}‎ \settextfont[Scale=1.1]...
1
vote
2answers
469 views

How can I defer the loading of the bidi package?

I'm maintaining a document class which loads the bidi package. bidi is very picky about loading order, and must be loaded after: float, graphics, ntheorem and a bunch of others. The thing is, my ...