Issues related to bidirectional TeXing

learn more… | top users | synonyms

3
votes
2answers
88 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}} ...
8
votes
1answer
113 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 ...
7
votes
2answers
98 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} ...
1
vote
0answers
44 views

clipbox with bidi

this is my code, compiled by xelatex: \documentclass{book} \usepackage{lipsum} \usepackage{trimclip} \usepackage{polyglossia} \setdefaultlanguage{hebrew} \setotherlanguage{english} ...
12
votes
3answers
491 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
3answers
104 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 ...
1
vote
1answer
45 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} ...
5
votes
1answer
121 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 ...
1
vote
1answer
98 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 ...
7
votes
2answers
283 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
63 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} % ...
4
votes
1answer
107 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 ...
3
votes
1answer
97 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
1answer
223 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 ...
0
votes
2answers
130 views

bidi and hyperref change hyphenation

I try to compile th following document. If I load both bidi and hyperref, Mittelbach is not hyphenated. If I comment out one of them, everything is fine. The bstfile is here: ...
4
votes
3answers
877 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? ...
11
votes
2answers
232 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} ...
5
votes
2answers
234 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
4
votes
1answer
128 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} ...
1
vote
1answer
138 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 ...
3
votes
2answers
194 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 ...
9
votes
2answers
643 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 ...
3
votes
0answers
115 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} ...
3
votes
1answer
169 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} ...
7
votes
6answers
5k 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 ...
2
votes
3answers
204 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 ...
0
votes
1answer
116 views

Can't use \left. … \right| in a custom environment

I'm writing a Hebrew (RTL) document with equations and I compile it with xelatex. The equation numbers are wrong and I have found that placing \LTR tag before the equation fix this. I have created an ...
3
votes
2answers
81 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} ...
7
votes
3answers
271 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} ...
1
vote
0answers
355 views

How to display non-printable Unicode characters in Emacs/AucTeX? [closed]

I would like to see the non-printable Unicode bidi characters PDF (202C), LRO (202D), RLO (202E) in the emacs editor (but not the pdf output). How can i do this? EDIT: Here's a minimal working ...
7
votes
2answers
276 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 ...
2
votes
1answer
551 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: ...
1
vote
2answers
209 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} ...
9
votes
5answers
1k 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 ...
2
votes
0answers
135 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 ...
4
votes
2answers
428 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
414 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} ...
0
votes
1answer
151 views

Invalid right aligned chapter and section titles

I'm trying to write a bidirectional (English/Hebrew) document in xelatex and polyglossia. For some reason, when I enable Hebrew as a secondary language, all the chapter and section titles become ...
6
votes
1answer
3k 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 ...
2
votes
3answers
594 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 ...
2
votes
1answer
444 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} ...
3
votes
1answer
538 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} ...