Issues related to bidirectional TeXing

learn more… | top users | synonyms

5
votes
1answer
98 views

polyglossia or bidi bug: [\d\.] gets inverted to [\.\d]

After bidi was updated to v. 19.6 (2016-05-23), using at least one RTL language with polyglossia leads to number and following dot being inverted. Cf. \documentclass{book} \usepackage{polyglossia} \...
4
votes
1answer
129 views

Tex studio- Bidirectional

I am using the xepersian package in Texstudio. The logical way of writing maths in Persian in Tex is that one writes in persian and when they press dollar, the font switches automatically to English. ...
3
votes
1answer
44 views

How to force source code to be written LTR in a RTL document?

I am writing an Arabic book in LaTeX where I have to put much C code in it. I am compiling it using XeLaTeX. To have a proper Arabic support I use polyglossia package. For source code, I use listings, ...
4
votes
1answer
73 views

Numbers in multi-language document

When I use two different languages like English and Arabic (one is written form left to right and the other is written from right to left), the equation numbers are written in Arabic, e.g. 14, but ...
5
votes
2answers
303 views

Equation numbers are shown in reverse parentheses

I am using \begin{equation} a = b \end{equation} to write the equations in my paper. However, the problem is that the number related to each equation is not shown in the correct format like the ...
2
votes
1answer
164 views

Wrong pdflastxpos value with XeLaTeX+bidi

The answer from Vala helped me to rephrase my question. See the original one below. Using pdfsavepos to get absolute position of texts on the page, I faced the following problems when using XeLaTeX ...
3
votes
3answers
70 views

Arabic/Russian interlinear text

I'm using the interlinear text model here described in Doing an interlinear text, but for other purposes I want to write a interlinear Arabic / Russian Text, but I don't understand why my code doesn'...
0
votes
0answers
8 views

punctuation numbers, polyglossia, and RTL languages [duplicate]

Why does the follow MWE example fail? If the default language is English, shouldn't numbers be set left-to-right by default? Is this a bug in bibi and/or polyglossia? \documentclass{article} \...
4
votes
1answer
49 views

How can I correct for a bug in ArabXeTeX that causes problems in left-to-right text?

There seems to be a bug in the arabxetex package that came with the new MacTeX 2016 distribution. The problem I have noticed is not in Arabic text but rather in ordinary left-to-right text. In ...
2
votes
0answers
40 views

How to align an English paragraph left and write English numbers in English in a Persian beamer?

I am working on a presentation with beamer class in Persian and I have some problems with bilingual text. For writing left to right I use \LR command and it works, but the English is not aligned left. ...
4
votes
1answer
100 views

How do I make a RTL footnote in eledmac in the paragraph-style?

In a previous question, Salim Bou helpfully provided a solution to getting RTL footnote rules in eledmac. Building on this, I wish to ask now to typeset a critical apparatus series as one paragraph. ...
2
votes
1answer
26 views

Does bidi footnote in English need \textLR on inside?

In the following example, when I compile, "Footnote in English." is backwards. It is inside a footnote which is inside \textLR as follows: \textLR{\footnote{Footnote in English.}} Do I additionally ...
0
votes
0answers
31 views

RTL support in Arabic with ucharclasses

I'm having difficulties embedding Arabic in English text. Here's a MWE: \documentclass{article} \usepackage[no-math]{fontspec} \setmainfont{Noto Serif} \usepackage{ucharclasses} \usepackage{bidi} \...
2
votes
2answers
54 views

change columns order using multicols

I've divided a Hebrew paragraph to 3 columns, using \begin{multicols}{3} with \end{multicols}. The problem (since in Hebrew we write from right to left) is that the columns came up in the opposite ...
0
votes
1answer
36 views

Fully justified LTR paragraphs in XePersian

I am using XePersian to write a report in Persian, which must include an English abstract at the end. I currently use \lr{} for each paragraph: \flushleft \begin{abstract} \lr{Abstract in English -...
5
votes
1answer
78 views

Footnote separator is on the wrong direction in Hebrew documents

I am using XeLaTeX and polyglossia for Hebrew typesetting. I have found out that when I am using footnotes (when Hebrew is the default language), they appear on the right direction, but the footnote ...
2
votes
1answer
75 views

Mixing Hebrew and English bibliographies?

I have a .bib bibliography that has some entries completely in English and some completely in Hebrew. I'd like to display the bibliography items so that the Hebrew items are justified right-to-left ...
3
votes
1answer
78 views

Handling left-to-right inside right-to-left paragraphs using Emacs and AUCTeX [closed]

I'm using Emacs to typeset a document which has English as its main language but which will use Hebrew and Greek as well. You can see on my screenshot how the \footnote command shows two open ...
4
votes
1answer
64 views

Declaring Unicode characters for Imperial Aramaic through hebrew keyboard in a non hebrew document

I have very limited experience with regard to .tex, and I am writing this after 6 hours of independent research, the solution might be something very simple, but I just can't find it. Here is the case:...
2
votes
1answer
92 views

A problem with two column footnotes in XeLatex

My file must be compiled by XeLateX and its footnotes should be sorted in two columns in each page. So I use this code in the preamble: \documentclass{article} \usepackage[extrafootnotefeatures]{...
3
votes
1answer
119 views

Oops! you have loaded package pgf after bidi package

I keep getting this error in my TeXStudio: Package bidi Error: Oops! you have loaded package pgf after bidi package. Pleocument again. \begin{document} What does it mean?
0
votes
0answers
41 views

Wrong position for page numbers in memoir + RTL

If I understand the verso-recto norms properly, page numbers should appear, both in LTR and in RTL documents, on the outer side of the pages, rather than in the inner side. This is explained in this ...
3
votes
1answer
197 views

Creating a LaTeX Table from a Microsoft Word Document

I have this multi page word document file which is consisted of a table with two columns. the left column is an English word in front of which in the left column the Persian translation is provided. I ...
0
votes
1answer
84 views

English text inside a Hebrew paragraph

I am using XeLaTeX + polyglossia for Hebrew typesetting, and this works wonderfully. However, recently I needed to incorporate English words inside Hebrew paragraphs. This compiles wrong, as it ...
0
votes
1answer
51 views

Latin characters with accents inside a Hebrew paragraph

This question is closely related to this one. I am trying to enter Latin characters with accents into a Hebrew paragraph, using XeLaTeX + polyglossia. It turns out that if I don't use the english ...
1
vote
0answers
28 views

hanging indent in RTL

I have a RTL Arabic doc. Because I want most of these to have a hanging indent, I don't want to wrap each paragraph in a special environment. Instead I want to be able to turn on and turn off ...
1
vote
1answer
41 views

minipages in bidi-longtable

I have a bidi-longtable in a mixed language document (mainlanguage Arabic). I am using minipages in each cell of the table because I will need to do some complicated things later like footnotes. The ...
2
votes
1answer
80 views

Two problems with bidi polyglossia footnotes

This MWE shows two problems I am encountering with footnotes when using polyglossia (mainlanguage Arabic, otherlanguage English). Notice how the punctuation in the footnote reverses position next to ...
1
vote
1answer
94 views

Empty frames in beamer in case of RTL languages without tikz package, xelatex engine

I can not understand why all components of a beamer presentation are not showing (really empty frames) with this MWE \documentclass{beamer} %\usepackage{tikz} \usepackage{polyglossia} \...
2
votes
2answers
111 views

tcolorbox and bidi behaviour

When using bidi with tcolorbox package the box is not inline with the text. Running the MWE with bidi commented or not makes it all clear. Can somebody explain this behaviour and possibly come up with ...
5
votes
3answers
186 views

Order of words disturbed by using polyglossia with rtl language?

When having \setotherlanguage{hebrew} active, then even in an english environment it reverses the order of words in a \text{} and scrambles the labels for equations. Here is a minimal working example ...
3
votes
2answers
95 views

`tabular` and `bidi` strange behaviour

I am using polyglossia (arabic and english) and a conditional environment that I can turn off and on, representing the teacher's version. In the MWE below, I have three single rows in tabular and I ...
4
votes
1answer
127 views

Matching alignment of two minipages

I want two minipages side by side, aligned to the margins and the tops aligned to each other. I have read this previous answer but I think my problem is different and related to bidi. In the MWE ...
2
votes
2answers
99 views

problem with this code for traditional numberline

I want to typeset poem verses that are numberedline. use with this code: \documentclass[a4paper,12pt]{article} \usepackage[colorlinks=true]{hyperref} \usepackage{xepersian} \settextfont[Scale=1.2]{...
2
votes
2answers
76 views

minipage breaks bidi

I am using XeTex and polyglossia for two languages {arabic and english}. The main language is arabic. When I set a minipage and put some mixed language paragraphs inside it, the left-to-right ...
1
vote
2answers
302 views

How to get longtable and bidi to work together?

I am typesetting a Hebrew document using bidi. The material in the longtable environment still comes out LTR. How do I make it work? \documentclass{article} \usepackage{longtable} \usepackage[no-...
1
vote
1answer
49 views

Memoir sheetsequence counter does not increment when bidi is loaded

I would like to use \thesheetsequence in the trim area (sheet-number.tex) as described in the Memoir documentations but the counter does not increment (it always shows 1) and \thelastsheet is always 0....
12
votes
3answers
767 views

putting a box around each line of text in a paragraph

In my environment I would like to automatically make a box around each individual line of text in a paragraph so that I can operate on each line. I think this should really be done in LaTeX rather ...
4
votes
2answers
165 views

RTL with tabluar

This is a question about xelatex, even though I mention LyX here. My goal is to produce an RTL table with one row, two columns, which looks more or less like that: ...
1
vote
1answer
75 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 ...
2
votes
1answer
108 views

How do I make a footnote rule RTL in eledmac?

In eledmac, how do I get the the footnote rule to be RTL, i.e. to begin at the right margin, as opposed to the left? I am using polyglossia and the bidi packages with Memoir, and eledmac for its ...
1
vote
0answers
20 views

How to render “<from>-<to>” if <to>is in a right-to-left script? [closed]

There is a volume of the Appendix of the amazing Print Wikipedia publication which lists contributors to Wikipedia. The first contributor listed in this particular volume is "Xholierthanthou". The ...
0
votes
0answers
45 views

The commands for bidi package do not autocomplete?

I have installed the bidi package on my Texlive 2014 and It works well, however the auto-complete on my TeXstudio (version 2.9.4) do not work for the bidi package's commands. I checked the configure ...
0
votes
2answers
191 views

highlighting RTL text - ulem with bidi and color

following this: http://tex.stackexchange.com/a/48549/22969, I tried this code: \documentclass{article} \usepackage{ulem} \usepackage{xcolor} \usepackage{polyglossia} \setdefaultlanguage{hebrew} \...
0
votes
0answers
53 views

multicol has strange horizontal offset when page cut close to end of columns in bidi mode

multicol works great for me, and so is bidi. this changes for some rare occasions when I change multicolsep. this is my MWE: \documentclass{book} \usepackage{multicol} \usepackage{bidi} \begin{...
1
vote
1answer
115 views

Selectively showing latin numbers whithin a xepersian document paragragh

Consider the following document: \documentclass[10pt,a4paper]{report} \usepackage{xepersian} \settextfont{FreeFarsi}% http://sourceforge.net/projects/fpf/ \begin{document} این یک متن فارسی است. \LR{...
3
votes
2answers
97 views

List renders incorrectly

In output of following LaTeX markup, the list is rendered incorrectly. What is wrong with it? \documentclass{article} \usepackage{fontspec} \newfontfamily\faFont[Script=Arabic]{Tahoma} \...
8
votes
3answers
582 views

How to insert RTL citations in a LTR article using BibTex?

How can I insert a RTL citation (e.g Persian) in a LTR (e.g. English) article using BibTeX?
2
votes
1answer
190 views

XeLaTeX - gb4e example numbering in footnotes - Interaction with polyglossia package?

I thought the gb4e package for linguistic example typesetting would provide automatic switching of the numbering scheme between main text examples and examples in footnotes. This is not the behavior I ...
1
vote
0answers
60 views

Biblatex authoryear-icomp doesn't work as expected with polyglossia hebrew support on

I use biblatex combined with polyglossia Hebrew support: \documentclass{article} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{hebrew} % Line which causes the problem! \...