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

2
votes
1answer
51 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 ...
1
vote
1answer
59 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
37 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
32 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
24 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
25 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
47 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
55 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
143 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
41 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
80 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
334 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
170 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
59 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
114 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
92 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
290 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
123 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
211 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
482 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
62 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
184 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
139 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
176 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
253 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
235 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
128 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
92 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
394 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
152 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
108 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
246 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
325 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
308 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
95 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
214 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
212 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
75 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
136 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
219 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
99 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
142 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
78 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
192 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
95 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
83 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
120 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 ...