Polyglossia is a replacement for {babel} for use with XeLaTeX. It provides multilingual support for most languages and handles automatic script changing using the {fontspec} package.

learn more… | top users | synonyms

2
votes
0answers
41 views

Using Titlesec, titletoc, and titleps together affects the command \tableofcontents

Writing a book of probability in arabic, I want to use the titleps package for different beautiful headpages, in my files where I use titletoc for partial table of contents. All was good until I used ...
2
votes
1answer
74 views

Parenthesis not aligned with characters inside in arabic, using Xelatex

I re-ask the same question, more precisely... I'm using Polyglossia to write a book of probability in arabic, and I've recently formatted my machine so I lost the last installation of fonts etc.. but ...
3
votes
0answers
70 views

Problem with the font Traditional Arabic for aligning parenthesis ()

I'm using Polyglossia to write a book of probability in arabic, and I've recently changed of machine, then I've some problems (great) of typesetting my old files, which are compiling usually in my old ...
1
vote
1answer
33 views

Showing Arabic script inside tcblisting (tcolorbox)

in this MWE \documentclass[a4paper]{article} \usepackage{listings} \usepackage{tcolorbox} \tcbuselibrary{listings} \usepackage[no-math]{fontspec} \usepackage{polyglossia} ...
1
vote
0answers
34 views

Creating left to right and right to left dictionaries using Glossaries package

I want to produce two bilingual dictionaries Arabic-English and English-Arabic. I've found this discussion which seems of some interest for my needs... So I build this file, based on it ...
4
votes
2answers
177 views

LuaTeX and polyglossia -> Warnings

I am using an up-to-date version of MikTeX. As soon as I compile a document with LuaLaTeX and including the package polyglossia I get two warnings: Module luaotfload-main warning: LuaTeX v0.76 ...
3
votes
1answer
20 views

problem to show labels using enumerate package with polyglossia

with this MWE \documentclass{article} \usepackage{enumerate} \usepackage{fontspec} \usepackage{polyglossia} \newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Amiri} \setdefaultlanguage{arabic} ...
16
votes
1answer
177 views

Write a package that is aware of the mainlanguage selected in babel or polyglossia

How can I make my package aware of the language choosen with babel or polyglossia, so that some auto-generated strings can be generated in respect to the current language? As an example, I have a ...
4
votes
1answer
109 views

How to use Eastern Armenian month names instead of Western Armenian?

When using for example the datetime package and printing month names, LaTeX uses Western Armenian month names: Յունուար Փետրուար Մարտ Ապրիլ Մայիս Յունիս Յուլիս Օգոստոս Սեպտեմբեր Հոկտեմբեր Նոյեմբեր ...
2
votes
0answers
23 views

Is it a bug? (LuaLaTeX AND [russian](Polyglossia OR Babel) AND Cleveref) => ERROR [duplicate]

So, with the following code \documentclass[12pt, russian]{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX},Renderer=Basic} \setmainfont[Ligatures={TeX,Historical}]{Linux Libertine ...
2
votes
1answer
57 views

Media button in RTL

It appears that there is a problem with the placement of media buttons in RTL text. Consider this MWE: \documentclass{article} \usepackage{libertine,media9,polyglossia} ...
4
votes
2answers
79 views

Remove space before punctuation

I need to remove locally spaces arround (especially before) punctuation signs. This spaces are added by french polyglossia. \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} ...
4
votes
1answer
164 views

Small Caps not Working

\documentclass[12pt]{article} \usepackage[paperwidth=8.5in,paperheight=14in,left=1.5cm,right=1cm,top=1cm,bottom=0cm]{geometry} %margins ...
2
votes
1answer
38 views

xelatex mathspec with polyglossia

How to use mathspec package and polyglossia for the russian language? MWE \documentclass[14pt]{extreport} \usepackage{mathtools} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{commath} % ...
4
votes
2answers
189 views

Changing language back and forth with polyglossia

I'm using polyglossia and lualatex to compile my source, and I am switching languages back and forth inside my document. It looks like polyglossia (or myself), is not doing what it is supposed to do: ...
4
votes
1answer
42 views

Greek circumflex accent with ascii characters using mapping does not work

I want to input Greek letters with polytonic accents (ancient Greek) using ASCII characters in my tex document (so I don't need to change the keyboard layout). I am using polyglossia. I have been ...
1
vote
1answer
77 views

What does “conflicting pattern ignored” mean when loading polyglossia with the German language?

Please see my MWE: % arara: lualatex \documentclass{article} \usepackage{polyglossia} %\usepackage[german=swiss]{csquotes} %\usepackage[locale=DE]{siunitx} \setdefaultlanguage[%babelshorthands=true ...
0
votes
0answers
68 views

Package polyglossia Warning: No hyphenation patterns were loaded for `English'

I'm running Arch Linux and installed texlive 2013 via tlmgr. My file is this: \documentclass{paper} \usepackage{lipsum} \usepackage{xltxtra} \usepackage{polyglossia} \setmainlanguage{english} ...
4
votes
2answers
75 views

\hyphenation{…} list is not used

I am using xelatex, couldnt find out why I am not getting hyphens from the list I created. Is this because of my font (Brill), cause I used Times New Roman which renders with my hyphens. Who is to be ...
5
votes
1answer
92 views

Is there any way to disable automatic ('discretionary break') hyphenation, while allowing/forcing TeX to break some chosen words?

I have a large document with narrower paragraph width than regular (approx 5 average words long), and I want to disable hyphenation short of having the opportunity to allow hyphenation of chosen words ...
7
votes
3answers
195 views

XeLaTeX: How to specify a different font family for Latin text within non-Latin text?

In a XeLaTeX document whose main language is non-Latin (in the sense of using non-Latin alphabet), I'd like the Latin text to be typeset with a different font family from that of the main text. How do ...
5
votes
1answer
107 views

Footnote in arabic with polyglossia

writing a book in arabic, I want to make some comments by footnotes, in english and in arabic. The footnotes in arabic are from Right to Left, and I can put the rule of the footnote on the right side ...
7
votes
2answers
127 views

Is it possible to use the punctuation of one font within another font?

I'm in the process of trying to turn an English document into Hindi based on a translation in Word. However, I'm struggling to find a font that does what I want. As I'm working with an existing ...
1
vote
0answers
67 views

Switch between right-to-left and left-to-right two-columns with long entries

I give here the answer of the problem of using indices for making dictionaries English-Arabic, for a book of probability, thanks to this very powerful discussion... Switch twocolumn between ...
1
vote
0answers
60 views

Polyglossia: Arabic Text, English Bibliography

I am writing a mainly Arabic book. But all the references are western/English. So I'd like the bibliography to appear left to right. I write: \documentclass[12pt,english]{book} ...
5
votes
0answers
54 views

Sorting bibliography cannot be turned off in Biblatex when writing in Arabic [closed]

I want the citations to appear in the bibliography in the order of their appearance in the text and not according to their alphabet. I know there is an argument for that which is sorting=none. ...
5
votes
1answer
106 views

Deciding the width of a centered box withTcolorbox

I'm writing a book and I want to use boxes, using the package tcolorbox. I've found on some old discussion here the commands of \newtcolorbox{blankbox} with the command width=0.9\textwidth, it ...
2
votes
1answer
44 views

Can eledmac's xxref be used with non-arabic linenumbers?

I am using polyglossia and eledmac to typeset a Tibetan document. I'm running into problems when using eledmac's xxref. It seems the numbers it expects are not in the right format, since they are ...
1
vote
1answer
62 views

Change margin for particular environment (parallel)

I posted a too general question (Change margins locally (for text)), but my need is to solve about a particular environment, for I have to obtain some verses (original and translation) in parallel ...
2
votes
1answer
69 views

Contributing to Babel or Polyglossia language support

I want to contribute language support for Babel or Polyglossia, so that I can type in my native language and use LuaTex or LuaLaTeX. Lithuanian support at the moment is using L7x font encoding and if ...
3
votes
6answers
175 views

Switch twocolumn between right-to-left and left-to-right with the package multiind in polyglossia

Writing a book in arabic, I want to obtain a dictionnary of used words in my document between arabic and english, and want that the entries of the dictionnary will be in two different orders, in ...
1
vote
0answers
55 views

Using algorithm2e with polyglossia produces undesired emphasized text

Here's a minimal working example: \documentclass[a4paper]{article} \usepackage{fontspec} \setmainfont{CMU Serif} \setsansfont{CMU Sans Serif} \setmonofont{CMU Typewriter Text} ...
4
votes
1answer
282 views

Xelatex polyglossia hyphenation

Is there a way to make the polyglossia package solve the hyphenation problem that presents itself in the log as "Overfull \hbox" automatically? (Note: I find that having shorter lines—even for the ...
3
votes
1answer
59 views

What's the best way to switch language in Xetex for whole chapter?

I am wondering, what might be the best way to switch a language in a Xetex document for a whole chapter. The specific problem is, that in the chapter the language is switched (say from English, which ...
2
votes
0answers
54 views

(Incomplete \iffalse) with enumerate and Hebrew

I get the same error as reported here. An update of miktex did not help so I am at a loss as to how to proceed. The example works just fine on a different machine. \documentclass{article} ...
1
vote
0answers
50 views

Increasing counter ten by ten in Tcolorbox… and refer good?

I'm writing a book of probability in arabic, using polyglossia, and I want to increase the counter of some of my boxes ten by ten (the cause of this is that the arabic letters are numeroted with ...
2
votes
1answer
64 views

Horizontal Alignment in LaTeX

\documentclass[12pt]{article} \usepackage[paperwidth=8.5in,paperheight=14in,left=1cm,right=1.5cm,top=1cm,bottom=0cm]{geometry} %margins \usepackage{amsmath,polyglossia,fontspec} ...
3
votes
0answers
63 views

Default language for both polyglossia and fixme

Is it possible to change the default language for both the polyglossia and fixme package at the same time? After v1.2.0 polyglossia no longer supports loading language definition files as package ...
6
votes
1answer
82 views

Why does fontspec interfere with metafont fonts?

I need to create a document using a few fonts. Two or three will be metafont fonts used for most of the document in a Latin-based language, and then I need to use another font for a SE Asian language ...
1
vote
1answer
139 views

quotation mark (quotation sign) xelatex + polyglossia + csquotes

the problem I have is the "?" that shows instead of appropriate quotation marks (signs) when citing/quoting text in foregin language. I have searched manuals for the packages such as polyglossia or ...
2
votes
2answers
53 views

An equivalent of psfrag and polyglossia together?

I need to use psfrag, and Georgian language, for which the only available possibility to get correct hyphenation that I could find was polyglossia. However, seemingly psfrag does not work with xelatex ...
2
votes
1answer
164 views

Breakable boxes with Tikz and right and leftmargin

I've found a method to obtain breakable boxes, using polyglossia for arabic, and the Tikz package and I have two problems... 1) the commands leftmargin and rightmargin of Tikz have no effect on the ...
1
vote
0answers
81 views

boxed text between pages in arabic, rightmargin with tikz

First, I want to thank the members of the discussion of the message Boxed text between pages which was very interesting for my use, so I got a macro in arabic for my examples (which is ...
2
votes
1answer
171 views

Breaking pages with boxes in boiboites-like

I want to find a method for breaking boxes of my environments of examples (in arabic, with polyglossia.. see ECM below) I saw that mdframed do something like this, but I'm using my own package ...
5
votes
1answer
151 views

Polyglossia with Biblatex (and Historian) and American English

I am having some issues with XeLaTeX, Biblatex, and American English in Polyglossia. According to the Biblatex manual, it uses polyglossia to determine the variant style of english and sets the style ...
2
votes
1answer
80 views

XeLaTeX: Using \foreignlanguage results in an error [closed]

I'm trying to switch to XeTeX, because I would love to have a better integration of postscript code (and pstricks) in my PDF files. However, I did not succeed completely, one error is left and present ...
6
votes
1answer
144 views

Cyrillic bibliographic entry using Biblatex and Polyglossia (initials broken)

I have a problem with either getting the correct font type in the bibliography, or (when enforcing the language setting in the bibliographic entry) getting the author first name processed as it ...
1
vote
0answers
36 views

How to define translations for text inserted by a custom command?

How would I go about having the output of a custom command depend on the language chosen (e.g. insert "Example" in English, "Exemple" in French and "Beispiel" in German)? I'm using XeTeX with ...
1
vote
0answers
46 views

Alignment with Multicols and Polyglossia

I'm working with a two column multicol environment for an English-Yiddish dictionary (using XeLaTeX and Polyglossia). I have a couple of issues, and I'm putting them all together because I'm not sure ...
6
votes
1answer
135 views

Arabic text with Polyglossia

I use Arabxetex and Polyglossia from Texlive 2013 on an OpenSuse 13.1 system to write Arabic. The Arabic text needs to be fully vocalized. There are no Problems writing unvocalized Text, but adding a ...