Issues related to bidirectional TeXing

learn more… | top users | synonyms

12
votes
3answers
647 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 ...
11
votes
2answers
387 views

Equation number enclosing parentheses misplaced with Polyglossia+Hebrew+amsmath

I am compiling the following MWE using XeLatex within TeXnicCenter and get a garbled equation number: \documentclass{article} \usepackage{amsmath} \usepackage{polyglossia} \setmainlanguage{hebrew} ...
9
votes
5answers
2k views

Is there a way to print two tikzpictures next to each other marked with a and b?

I have the following code that should print the two figures next to each other with an a to the left of the first figure and a b to the left of the second one. The code below does this, but everything ...
9
votes
2answers
947 views

Alignment of page numbers in table of contents

Consider the following example: \documentclass[a4paper,12pt]{article} \begin{document} \tableofcontents \newpage \section{test} \newpage \setcounter{page}{22} \section{introduction} \newpage ...
9
votes
3answers
345 views

amsmath - bidi - siunitx possible bug?

MWE: \documentclass{article} \usepackage[english]{babel} \usepackage{fontspec} \usepackage[detect-all]{siunitx} \usepackage{amsmath} \usepackage[math-style=ISO,bold-style=ISO]{unicode-math} ...
8
votes
1answer
248 views

What is bidirectional or multidirectional typesetting/editor?

I have been seen terms like multidirectional typesetting, bidirectional typesetting/work, bidirectional editor ... For example, in this brilliant answer to The differences between TeX engines, there ...
8
votes
3answers
460 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?
7
votes
2answers
314 views

Question about zref bundle (changing the behaviour of footnote rule)

In bidi package, we have three footnote commands \footnote (typesetting RTL footnotes in RTL mode and typesetting LTR footnotes in LTR modes), \RTLfootnote (always typeset RTL footnote), and ...
7
votes
6answers
7k views

Aligning paragraph inside a tabular

Consider the following code: \documentclass{article} \begin{document} \begin{tabular}{|p{5cm}|} \hline \textbf{item 1:} These are some texts to just fill in the first line. \tabularnewline ...
7
votes
2answers
117 views

Why are not the dotted line and the page number showed up while using the acronym package with the xepersian package?

In the code below, despite using the withpage option, the dotted line and the page number are not showed up in the output pdf. How can I fix this problem? \documentclass{book} ...
7
votes
1answer
5k views

How to write Persian/Arabic text in a LaTeX document which is mainly written in English?

Actually, I want to add some sentences in Arabic script inside my PhD thesis. Will it be possible just by adding some \usepackage statement in the preamble or need more than this? This is a bit tricky ...
5
votes
2answers
336 views

Typesetting alternating text left to right and right to left

Out of curiosity: Can I typeset alternating from line to line left to right and right to left? Hello, I actually txet elttil a ma with no meaning
5
votes
1answer
171 views

Linenumbering per page with XePersian and the traditionalpoem environment

I’m editing an Arabic poem with XePersian and the traditionalpoem environment which works fine so far, but I have some questions regarding the line numbers and the paragraph footnotes. (1) I would ...
4
votes
3answers
1k views

Inserting some Arabic script in an English article

Until now I was using XePersian package to typeset Persian articles, now I want insert some Persian word in an English document, what is minimum code to do that without using XePersian package? ...
4
votes
3answers
207 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 ...
4
votes
1answer
174 views

Why shapepar figure shifts to the left?

I modified \SH@restack so that it can typeset RTL shapepars but now the shapepar figures are not centered, can anyone tell me why? \documentclass{article} \usepackage[left=1cm,right=1cm]{geometry} ...
4
votes
2answers
575 views

Line numbers in traditionalpoem environment?

So I've been trying to get satisfactory results typesetting Persian and Arabic poems, in the traditional format, with XeLaTeX. It works just about fine – see the sample document below – but I would ...
4
votes
1answer
547 views

Problem when bidi & hyperref packages are used with custom document class (XeLaTeX)

There is a problem when bidi & hyperref packages are used together and custom document style is used. For example: \documentclass[unicode]{myreport} \usepackage{xltxtra} \author{Author} ...
4
votes
1answer
131 views

Right to Left in LaTeX

Is there a way to typeset with both RTL and LTR languages in the same LaTeX document, without use XeTeX? All the solutions I have seen (bidi, polyglossia, etc) require XeTeX. Basically, I make using ...
4
votes
2answers
121 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: ...
3
votes
3answers
839 views

Can't type Hebrew with polyglossia

My ultimate goal is to create a beamer presentation in Hebrew. While toying with things, I got stuck with an error: ! Package etoolbox Error: Toggle 'Hebrew@RL' undefined. which is thrown on the ...
3
votes
2answers
142 views

\llap mystery with TeX--XeT

Consider \documentclass{article} \usepackage{xecolor} % loads fontspec by default \setmainfont{Times New Roman} \begin{document} \fontsize{60}{70}\selectfont TEST\llap{\textxecolor{red}{TEST}} ...
3
votes
1answer
221 views

bidi's undefined environments in (my) LuaLaTeX system

I typeset Arabic text with LuaLaTeX. I am using the following definitions and it works nicely: \newcommand{\arabtext}[1] % Arabic inside LTR {\bgroup\luatextextdir TRT\arabicfont #1\egroup} ...
3
votes
1answer
588 views

The quickindex option is not working with xepersian package

I have installed TeXLive 2010 on Ubuntu 10.10, when I try to compile a LaTeX file such as: \documentclass{memoir} \usepackage{makeidx} \makeindex \usepackage[Kashida,quickindex]{xepersian} ...
3
votes
2answers
95 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} ...
3
votes
1answer
435 views

Minimal bidi for typesetting RL text

I need to typeset RTL text (Arabic, Persian) for linguistics books. I know of the bidi package. But bidiis way to powerful for our purposes and it has many side effects (it basically affects ...
3
votes
1answer
151 views

verbatim with Arabic script

I try to put together guidelines for linguists. One part concernes typesetting right to left text with the bidi package. I want to use verbatim for the code, but the Persian characters are not printed ...
3
votes
2answers
348 views

hyperref changes footnotes of Koma script

I defined footnotes to insert a colon between \footnote{bla}\footnote{bla}. But when I load hyperref this is destroyed. In addition KOMA removes space at the beginning of a footnote, while hyperref ...
3
votes
0answers
141 views

Why there is a white space in the right side when using wallpaper & polyglossia in TexLive 2013 [closed]

when I use wallpaper & polyglossia there is a white space in the right side of the page. Please test this: \documentclass[a4paper]{book}% \usepackage[no-math]{fontspec} ...
2
votes
1answer
58 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 ...
2
votes
3answers
229 views

\ref doesn't work in math mode if hyperref and bidi packages are loaded [closed]

Is \ref supposed to work in math mode? If hyperref and bidi are loaded, it generates errors: \documentclass{article} \usepackage{hyperref} \usepackage{bidi} \begin{document} Testing labels with ...
2
votes
1answer
480 views

RTL captions with newfloat?

Is it that the float package begins to show its age? I cannot get it to work right with XeLaTeX. Here is an example: \documentclass{article} % compile with xelatex \usepackage{float} ...
2
votes
1answer
45 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 ...
2
votes
1answer
102 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 ...
2
votes
1answer
110 views

Issue with arabxetex and equation numbers

There seems to be some issue with printing equation numbers when using the arabxetex package. Here is a minimal example: \documentclass{article} \usepackage{arabxetex} % %\usepackage{bidi} % ...
2
votes
1answer
820 views

“improper alphabetic constant” with hyperref and bidi packages

I'm getting an "improper alphabetic constant" error in xelatex which appears to be due to an interaction between the bidi and hyperref packages, when I redefine the \section cmd. Here's an MWE: ...
2
votes
1answer
57 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
134 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 ...
2
votes
0answers
86 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. ...
2
votes
0answers
162 views

Problem with persian-bib package [closed]

I have a document where the main language should be English with only some Arabic text. In my references I have English as well as Arabic references. The main direction of the document should be from ...
1
vote
2answers
273 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} ...
1
vote
1answer
38 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 ...
1
vote
1answer
142 views

XeLaTeX, bidi, hyperref, longtable conflict

Take a look at this XeLaTeX file: \documentclass{memoir} \usepackage{longtable} \usepackage{hyperref} \usepackage{bidi} \begin{document} \begin{longtable}{l} x \end{longtable} \end{document} ...
1
vote
1answer
219 views

Double-spacing in text but not footnotes in memoir class while using arabxetex

The memoir class's \DoubleSpacing command without an asterisk (*) is supposed to double-space the text but not the footnotes or float text. However, when the arabxetex package has been loaded, this ...
1
vote
1answer
101 views

bidi causes reversed parentheses in equation numbers

When writing a Hebrew document using xelatex, bidi, and polyglossia, equation numbers are in reverse parentheses. How can I fix this? MWE \documentclass[a4paper, twoside, titlepage, 11pt]{report} ...
1
vote
1answer
205 views

Beamer themes and bidi problems

I'm trying to write a Hebrew beamer presentation. I found some very nice template that actually worked from the box (which you can find in this very link, source and author's compiled output) but ...
1
vote
1answer
183 views

Biblatex + Xetex + memoir in Urdu: how to modify headings

Although a Newbie, I have been using XeteX, bidi and BiblateX with great success in Urdu. I have alphabetical footnotes with most of the secondary sources in the endnotes. The endnotes and ...
1
vote
1answer
38 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 ...
1
vote
0answers
19 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 ...
1
vote
1answer
44 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} این یک متن فارسی است. ...