Issues related to bidirectional TeXing
0
votes
0answers
14 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 ...
2
votes
0answers
71 views
Why there is a white space in the right side when using wallpaper & polyglossia in TexLive 2013
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}
...
4
votes
1answer
72 views
How insert a RTL citation in a LTR article
How can I insert a RTL citation (e.g Persian) in a LTR (e.g. English) article using BibTeX?
0
votes
1answer
60 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
60 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}
...
2
votes
3answers
142 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 ...
3
votes
1answer
90 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}
...
4
votes
2answers
225 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?
...
3
votes
0answers
53 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 ...
6
votes
3answers
185 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}
...
2
votes
0answers
248 views
How to display non-printable Unicode characters in Emacs/AucTeX?
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 ...
1
vote
0answers
52 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}
...
7
votes
2answers
385 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
...
2
votes
1answer
163 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:
...
6
votes
2answers
220 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 ...
9
votes
5answers
490 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 ...
1
vote
2answers
148 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}
...
4
votes
2answers
248 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
220 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
116 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 ...
2
votes
0answers
106 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 ...
9
votes
3answers
327 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
1answer
2k 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
454 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
372 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
491 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}
...
5
votes
6answers
2k 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
...