Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bidi]

Issues related to bidirectional TeXing

1
vote
0answers
21 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
48 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
116 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 ...
0
votes
0answers
34 views

When mixing text in RTL and LTR section numbering is reversed

I am having trouble when trying to use both Uyghur (modified Perso-Arabic script) and English in the same document. The I'm using XeLaTex and the bidi and polyglossia packages. \usepackage{...
3
votes
1answer
73 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 ...
7
votes
1answer
315 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
153 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
55 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
101 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
81 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
48 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
240 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
99 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
204 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
450 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
58 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
163 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
118 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
165 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
224 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 ...
5
votes
1answer
210 views

Can I make polyglossia use the old-style Hebrew fonts?

I really like the way the "old" Meta-Front Jerusalem Hebrew font looks (it used to be the default for typesetting Hebrew when you used babel). Now that I've started using Polyglossia, I really miss it....
2
votes
1answer
124 views

\qedhere in RTL documents

In RTL documents, the QED symbol typically appear on the left side of the page, at the last line of the proof (flushed). Many proofs end with an equation, and it those cases it is customary to use the ...
1
vote
2answers
87 views

\noindent has no effect when surrounded by bidi markers

Why does xelatex indent the first line of (Hebrew) text in the pdf obtained from the following LaTeX manuscript? \documentclass{scrartcl} \catcode8198=10 % Left-To-Right Mark \catcode8199=10 % Right-...
2
votes
1answer
377 views

How to typeset Arabic text using ConTeXtgarden?

I am new to ConTeXt world, however what I need to achieve is simply to be able to typeset Arabic/Hebrew text along with English text (Bidi) in ConTeXt. I came across this part of the context garden ...
0
votes
1answer
134 views

Showing English numbers with XePersian and Minted

This is my code: \documentclass{article} \usepackage{xcolor} \usepackage{minted} \usemintedstyle{colorful} \usepackage{xepersian} \settextfont{B Nazanin} \definecolor{mintedbackground}{rgb}{0.95,0....
1
vote
0answers
98 views

How to use csquotes foreignquotes with RTL languages?

I'm having trouble getting csquotes foreign quotes to work neatly with RTL languages (in my case Hebrew). Am I doing something wrong or is there a bug somewhere? \documentclass{article} \usepackage{...
2
votes
0answers
233 views

KOMA-script vs. memoir for non-English and multi-lingual documents

There have been several posts in this forum over the years asking for a comparison between KOMA-Script and memoir, but none of them - to the best of my knowledge - touched on the aspects of non-...
1
vote
1answer
275 views

Error related to bidi or arabxetex: Command \XeTeX already defined

I get a non-fatal error when I run the following MWE: %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode \documentclass[12pt]{article} \usepackage{geometry} \geometry{letterpaper} \usepackage{...
1
vote
1answer
281 views

Setting text in OnehalfSpacing, footnotes SingleSpacing with memoir

I'm using the memoir class, which is great, to set a dissertation. Unfortunately I have to use double spacing (for which I'm actually using OnehalfSpacing). When I do this, the whole document gets set ...
2
votes
1answer
89 views

Generating a table from values in CSV file with bidirectional text

I want to generate a table from values inside csv file which have the following properties: They include bidirectional text; some columns have English text (a left-to-right language) while others ...
2
votes
1answer
196 views

\bidi@@RTLfootnotetext@font undefined to use xepersian

I'm gonna run the following test code by MikTeX 2.9: % !TeX document-id = {8717fdc4-fa28-4491-9dd0-c8b7338defce} % !TeX program = xelatex \RequirePackage{luatex85} \documentclass{article} \...
3
votes
1answer
188 views

Hebrew text in math mode

I'm trying to insert hebrew text into a formula, but the word order gets reversed. I can only get the correct output by manually inverting both word-order and surrounding spaces. I'm using XeLaTeX ...
2
votes
1answer
74 views

Margin Notes in Unicode RTL

I've mentioned this problem in a previous (unanswered) question, but this is a more extensive and specific. I'm trying to get margin notes in a Hebrew document, so I'm using the libertine ...
1
vote
1answer
121 views

Justifying left-to-right text in ExPex free translation with default right-to-left language

This question is a follow up to this question, which asked about justifying all the glosses. The solution worked for justifying \gla, \glb, and \glc but not for \glft. The problem is clearly because ...
2
votes
2answers
195 views

tufte-book and arabic text (bidi problem?)

I am typesetting a tufte-book document with XeLaTeX that has both English and Arabic text. The Tufte-style title pages consistently break, whether I use the package arabxetext or polyglossia. I ...
1
vote
1answer
91 views

tikz-qtree inside gb4e example not centered when bidi is loaded

I am using tikz-qtree to draw syntax trees that go inside of gb4e examples. I was very happy that I was able to get them to center by following this answer: Centering trees However, I then decided ...
3
votes
2answers
138 views

The \@Latintrue command is not accepted by the polyglossia or bidi packages

I've updated today my miktex distribution, especially the bidi package (and others...) from the 19.6 version to the actually version, because of unwanted behaviour in writing the negative numbers. In ...
0
votes
0answers
40 views

xstring and on-the-fly creation of command

I am using bidishadowtext in a class file I am using. This package doesn't allow any line breaking characters in its text, so I was trying to get smart, and defining a command that, given a title with ...
3
votes
1answer
76 views

Side-by-side figures are reversed in LOF (Bidi - XeTeX)

I'm typesetting an Arabic document using XeLaTeX. I'm using it for about a year now. The problem I couldn't solve or find a solution for yet is when putting two figures side-by-side, the figures are ...
0
votes
1answer
182 views

Problem in persian presentation slides

I'm using a presentation slide template. There is 2 problems with the template which I don't know how to solve. First: I wrote the supervisor name below the blue box(\author{‏استاد راهنما }). I want ...
0
votes
1answer
93 views

Strange effect of arabxetex/bidi on figure counter

I have a strange bug using XeLaTeX: I include caption.sty and use a command like \renewcommand\thefigure{\Alph{figure}} to make an adjustment to the figure counter. If then I include arabxetex.sty, ...
0
votes
1answer
81 views

Hyphen escape in mhchem not working with bidi

Typesetting my chemistry thesis using mhchem, I make semi-frequent use of the option to escape to text mode using {}, especially to typeset hyphens in the midst of chemistry like in the following way: ...
2
votes
1answer
118 views

How can I use FriBidiXeTeX on windows?

The FriBidiXeTeX program is a new package on CTAN which allows using LTR script between RTL script without using any mark-up. There are instructions on how the program should be compiled on Mac OSX ...
1
vote
0answers
97 views

bidi and reversed parentheses [closed]

I have an issue with xelatex+bidi where parentheses sometimes are reversed on multilingual lines. A minimal example is included: \documentclass{article} \usepackage{polyglossia} \usepackage{bidi} \...
4
votes
1answer
287 views

List environments in ArabLuaTeX

I am new to ArabLuaTeX and wondering if and how to make list environments (such as itemize, enumerate, etc.) within \begin{arab} and \end{arab} I tried my best but could not figure out. This works ...
4
votes
1answer
288 views

bidi, RTL and \write

In order to solve one issue with reledmac in RTL, I made some test with \write and bidi. In the following MWE, only the first \write works. It I delete the \RTL, all the \write work. \documentclass{...
0
votes
1answer
68 views

Search is reversed when using Hebrew with XeTeX

When I compile my Hebrew document with XeTeX, the resulting PDF displays correctly with the right directionality. However, when I try to search, I have to search the term backwards in order for it to ...
4
votes
2answers
77 views

\if@Latin undefined in bidi v20.0

From the bidi manual: \if@Latin inside any environment that uses Latin font is true and inside any environment that uses RTL font is false. I have bidi version 20.0 and a simple example like ...
2
votes
1answer
78 views

Reversed numbers with bidi and mathspec

I've recently updated from Debian 'jessie' to Debian 'stretch', and have started having a problem with numbers being formatted backwards when using the bidi package in conjunction with the mathspec ...
2
votes
1answer
207 views

Typesetting Arabic Script with correct RTL Verso-Recto Order

I am typesetting a full Arabic ONLY book with XeTeX using LaTeXmk, the produced PDF when opened displays pages as if the book opens Left-to-Right as in Latin script, which is wrong, I am not sure what ...