Questions tagged [bidi]

Issues related to bidirectional TeXing

Filter by
Sorted by
Tagged with
1
vote
0answers
54 views

Why I don't see the 2nd section title?

I update the packages at MikTex, and suddenly it's there is a problem with the fonts: I'm using LyX at WIN10 X64. MWE: % Preview source code %% LyX 2.3.6 created this file. For more info, see http:/...
4
votes
2answers
78 views

How can I get csquotes and babel to set a display environment RTL (for Hebrew or Syriac)?

I'm using csquotes and babel (compiled with LuaLaTeX in case that's significant) with text primarily in English but quoting Hebrew and Syriac which needs to be set RTL. Everything works, with the ...
0
votes
1answer
45 views

What is the problem with \node[red]{X}; in RTL context (xelatex)

This example on tikz node if I use \node[red]{x}; in math mode (RTL context) the node appears faraway unlike \node[color=red]{x};, I thought the two were equivalent In pgfmanual (Page 173) we can find ...
0
votes
1answer
37 views

Multi-Lingual Overleaf Latex problem

I using overleaf with English as the main language, but I need to add Some Arabic text in the article, I searched StackExchange, and I found some useful topics, which I applied to my article. The ...
1
vote
0answers
45 views

Best practice for dealing with bidi's redefinitions for class authors

As is well-documented elsewhere, bidi.sty does a lot of redeclarations and assumes that the author is using one of a small set of document classes. For use of packages, one can fiddle with the order ...
1
vote
0answers
19 views

Beamer multi-language text alignment

I encountered a weird issue with the Polyglossia package. RTL text is centred unless I insert before text in english. MWE1 (Hebrew text is centred): %Compile with XeLaTex \documentclass{beamer} %------...
0
votes
2answers
49 views

ltugboat class and improper \beginR, \endR in XeTeX

The ltugboat class is incompatible with the bidi package so I am attempting to obtain minimal Arabic script support without the use of bidi or polyglossia. The minimum I need is to be able to use the \...
1
vote
1answer
32 views

RTL numbering in urdu language table of contents section number and references

I am writing a book in Urdu using polyglossia package. Urdu text goes from right to left but numbers are written from left to right. The number format is correct everywhere except in the section ...
1
vote
1answer
40 views

tufte-book & Tectonic (XeTeX) & bidi / polyglossia don't get along

I'm trying to write a document with tufte-book. Most of the document is supposed to be in English but I wish to write some text in Hebrew. I am able successfully compile documents with more common ...
1
vote
0answers
32 views

LuaLaTeX Beamer notes, and Hebrew as Babel main language causes invisible notes

@UlrikeFischer @JavierBezos When I add the word "main" to babel's language preference, notes become invisible. MWE1 - Without the word "main": \documentclass{beamer} \...
0
votes
0answers
38 views

LuaLaTeX, bidi=basic and Tikz awkward behaviour

@UlrikeFischer The following MWE demonstrates awkward behaviour of LuaLaTeX bidi=basic with Tikz: MWE 1 - Normal behaviour \documentclass[tikz,margin=5cm]{standalone} \usepackage{tikz} %:Language \...
0
votes
0answers
39 views

Numbering appears from right to left in mixed language

I'm having trouble with section numbering appearing in a reverse order and reversed parentheses in formulas for a file mainly written in English, with some Hebrew at the first two pages. I've tried ...
0
votes
0answers
67 views

Bidi/Memoir error

I have been using this preamble for a few years now and have never had any problems. After the last update of yesterday October 4th, an error related to bidi appears as it is built in memoir but no ...
2
votes
1answer
37 views

Option extrafootnotefeatures in bidi package breaks KOMAScript \deffootnote

I am using the KOMAScript class scrartcl to typeset an academic article containing both English and Arabic. For footnote formatting, I am using \deffootnote. With footnotes that contain Arabic text, ...
2
votes
1answer
47 views

RTL paragraph in LTR footnote results in odd margins

In an English text, I have some Arabic passages. Now I have the special case that there is an Arabic paragraph in a (English) footnote. I have tried two variants, but neither produce satisfying ...
0
votes
0answers
58 views

Misplaced bracket with Hebrew text containing letter, digits and hyphen

When displaying a Hebrew text, containing letters, digits, and a hyphen - all of these inside brackets, the ending bracket is misplaced. MWE (using XeLaTeX): \documentclass[12pt]{article} \usepackage{...
4
votes
2answers
92 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
44 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
66 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}...
3
votes
1answer
412 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
104 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
91 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
99 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
95 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 ...
1
vote
1answer
97 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
75 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
168 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
809 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
111 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
149 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
407 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
88 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
78 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
64 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
218 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
214 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
75 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
73 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
183 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
149 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
144 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
104 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
75 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
63 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
252 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
65 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
255 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
24 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
85 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
329 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 ...