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

27
votes
2answers
2k views

How to create multilingual (English, Japanese) bibliographies with biblatex, biber and polyglossia

I would like to update my bibtex file in a way that allows me to create multilingual bibliographies. Since I publish in English and Japanese, I will need this to work in a way that: In an English ...
9
votes
2answers
789 views

xeCJK messes with punctuation

Neither a question nor really a complain, but I find I cannot use xeCJK in multilingual documents (in the present case French + English + Chinese), simply because it messes with the punctuation in the ...
2
votes
1answer
814 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 ...
35
votes
2answers
5k views

Polyglossia vs Babel

Could someone summarize features which are (1) common and (2) different for the babel and polyglossia packages? I know that babel 3.8 (current version) fails to run for some languages (eg, Russian) ...
8
votes
1answer
2k views

Polyglossia and biblatex-apa

I am trying to typeset a document in British English, using XeLaTeX, Polyglossia and BibLaTeX, with APA-style references. Unfortunately, I get the following error: ! Undefined control sequence. <...
6
votes
3answers
869 views

How to insert Greek with “ascii keyboard” and XeTeX, Polyglossia

How can I write greek without entering the greek characters directly? With babel, I can do this: \documentclass{article} \usepackage[polutonikogreek]{babel} \begin{document} \selectlanguage{...
13
votes
1answer
8k views

XeLaTeX with polyglossia and Greek

I'm struggling a lot with XeLaTeX and polyglossia. Somehow the font selection doesn't seem to work as I would expect it (and as the error messages suggest). Please consider the following example: \...
6
votes
2answers
568 views

Fix nested section numbers in RTL languages with polyglossia.

The third subsection in the second subsection of the first section should be numbered 1.2.3. This holds also for RTL languages, since numbers, including Dewey numbering is still LTR even in an RTL ...
9
votes
1answer
400 views

How can I make AUCTeX use the spelling dictionary in the same language as polyglossia is loaded with?

Is it possible to setup AUCTeX so that it loads the spelling dictionary in the same language as the language used by polyglossia? For example, is it possible to load the Danish ispell dictionary when ...
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} \...
8
votes
0answers
451 views

lualatex and polyglossia with \setdefaultlanguage{german} does not work after recent texlive update

Here is a minimal example: \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{german} \begin{document} Hallo Welt! \end{document} And here is the error message: (/mnt/software/...
10
votes
3answers
2k 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: ...
13
votes
1answer
1k views

A tool for creating a dictionary with right-to-left script

I'm trying to typeset a dictionnary, using Arabic script. I would like to create a list of words in three columns, with Arabic word in right column aligned to the right, its Polish translation aligned ...
10
votes
1answer
729 views

polyglossia and minted - The current roman font does not contain the Hebrew script!

Trying to use minted with Hebrew as the default language with polyglossia: \documentclass{article} \usepackage{minted} \usepackage{polyglossia} \setdefaultlanguage[calendar=hebrew, numerals=arabic]{...
9
votes
1answer
1k views

Hyperref ignores \setdefaultlanguage from polyglossia

I use polyglossia to set my default language with \setdefaultlanguage to German. This works for the captions of tables, figures etc. I want to reference to these figures with the \autoref command of ...
7
votes
1answer
712 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 ...
5
votes
1answer
412 views

Problem with greek letters in Computer Modern Unicode

I've tried to use Computer Modern Unicode (version 0.7.0) with XeLaTeX to write greek letters. However, using the following code in TeXLive 2012 or 2014, the shapes of "βγλθωχ" seem different with ...
10
votes
3answers
396 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} \...
7
votes
1answer
200 views

Does polyglossia with LuaLaTeX hyphenate greek text?

Is there a way to tell polyglossia to hyphenate a Greek text when run with LuaLaTeX? I tried quite a lot (greek as defaultlanguage, as backgroundlanguage, as otherlanguage, with german, with english, ...
5
votes
2answers
2k views

Problematic interaction between fontspec and beamer?

There seems to be some problem in the way fontspec passes font info to beamer. The following example compiles and displays as it it should in XeLaTeX % !Mode:: "TeX:UTF-8" \documentclass{article} \...
20
votes
2answers
592 views

Automatically getting “V” as the capital letter for “u” when typesetting latin

I'm typesetting a large amount of Latin texts using XeLaTeX and the package polyglossia. I'd like to get the small letter "u" automatically printed as "V" when turned into a capital letter (including ...
11
votes
1answer
758 views

xelatex stopped working after TexLive2011 update 2 days ago

I updated Tex Live 2011 a couple of days ago and I can't run XeLaTeX anymore on a document I was working on. When it runs it gets stuck and I have to abort it. Resulting in the following error. I've ...
7
votes
2answers
821 views

Using mathspec’s \setallmainfonts with Russian in polyglossia causes hang during compilation

I’ve just run into a problem with the combination of mathspec’s \setallmainfonts command and polyglossia with language set to Russian. I’m using MiKTeX 2.9 and compiling with XeLaTeX and when I use ...
5
votes
6answers
456 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 ...
4
votes
1answer
154 views

Hyphenation with Polyglossia

I'm working with a document in English and Hebrew (using polyglossia), and am trying to add hyphenation in Hebrew wherever a hyphen might be. Based on other questions/answers on this site, I have ...
4
votes
1answer
150 views

Long Sanskrit string doesn't get hyphenated

I am trying to get to work the hyphenation for transliterated sanskrit provided by polyglossia. One admittedly odd problem I encounter is that a string (four compound words actually, glued together by ...
3
votes
1answer
398 views

RTL tableofcontents) in arabic (or polyglossia package) beamer

I have read this link (The best way to write arabic in beamer) and i have used the code proposed by "selumi" there successfully. But i have now a new problem with. How I can write an RTL table of ...
2
votes
1answer
368 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 ...
1
vote
1answer
349 views

RTL theorems with ntheorem and xetex have separator in wrong place

(This is a split-off from another RTL ntheorem issue.) When you have a theorem in RTL language text (e.g. Hebrew), using XeTeX+polyglossia(+bidi)+ntheorem, the theorem separator comes out before, ...
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 ...
0
votes
0answers
89 views

Fonts are not rendering correctly [duplicate]

I am using xelatex for printing Malayalam fonts. This is code and it is not printing properly. In the code it is right form and in the image that produced by the code is wrong \documentclass{...
18
votes
1answer
426 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 ...
13
votes
1answer
189 views

Uneven Line Spacing for Arabic Text using xelatex + memoir + plyglossia

This is my first LaTeX Project. I am using XelaTeX to compile the tex file. I am having an issue with Even Line Spacing in my arabic document. The baseline grid is fine on the first page but the text ...
9
votes
2answers
1k views

British hyphenation with either xelatex or lualatex

For several reasons, I am working on a source file that should be compilable by either xelatex or lualatex. I would like British hyphenation for the text and am using csquotes and biblatex with ...
15
votes
1answer
2k views

How to use polyglossia with biblatex?

Using polyglossia and biblatex together leads to an error: ! Package biblatex Error: Patching 'babel' package failed. See the biblatex package documentation for explanation. Type H <return> ...
13
votes
2answers
1k views

Transliteration of sanskrit or devanagari texts using polyglossia or other packages

I wanted to know if there is a way to transliterate devanagari texts within LaTeX itself. I have been using the wonderful polyglossia package, and I am able to enter Unicode devanagari texts into ...
7
votes
0answers
6k views

File expl3.sty not found when trying to compile a *.tex file with XeLaTeX [closed]

I've installed XeTeX to my Fedora 17 recently (before that, I was using pdfLaTeX). The main reason for switching to XeTeX was the polyglossia package I'd like to make use of. Unfortunately, whenever ...
6
votes
1answer
439 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 should....
4
votes
2answers
216 views

Verbatim and polyglossia

I use polyglossia in arabic tex files and I want to use the verbatim environment to write the Latex commands for a user's manual. All works well, with adding the command '\let\arabicfonttt\ttfamily' ...
2
votes
2answers
392 views

Hebrew numerals

There appears to be three different numbering commands in the polyglossia package. Which one is the most correct to use? I can understand the argument for the \Hebrewnumeralfinal one since it seems ...
2
votes
1answer
197 views

LaTeX Kurdish Kurdi / كوردی (Sorani) problems

I'm trying to use arabic script but it seems I run into trouble, the output is just a mess of question marks, literally. I took this code from this page (I'm on Macbook Pro Yosemite, TeXLive, ...
2
votes
2answers
1k views

XeLaTeX with Polyglossia and Thai

The following example displays the English text alright, but not the Thai text. It is simply left blank in the PDF result. \documentclass{report} \usepackage{fontspec} \setmainfont{Times New Roman} \...
1
vote
1answer
144 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 ...
11
votes
1answer
429 views

Set hyphenation with polyglossia

If babel doesn't know how to hyphenate a word, I can inform it of good line breaks with \babelhyphenation: \documentclass{article} \usepackage[nynorsk]{babel} \babelhyphenation[nynorsk]{fram-...
10
votes
1answer
627 views

Polyglossia doesn't work with the ltxdoc document class

I have a package that uses the ltxdoc document class and the docstrip program for code and documentation generation. The package deals with some multilingual stuff and needs XeTeX (to be precise, ...
10
votes
1answer
603 views

Writing Biblical Hebrew texts with different coloring for consonants, vowel and accent signs

I have got the following problem: I am using Biblical Hebrew texts written in XeTeX but I would like to color consonants as well as vowel and accent signs differently. I have read Coloring combining ...
9
votes
2answers
328 views

Polyglossia and hookrightarrow

Can someone explain why there is a gap between the tail and the head of \hookrightarrow when I load polyglossia with French support ? I'm using LuaLaTeX for producing the .pdf. \documentclass{article}...
7
votes
2answers
354 views

Polyglossia ignores my custom hyphenation

Polyglossia systematically ignores my custom \hyphenation, and generates overfull hboxes all over the place as a consequence. Here’s an example: \documentclass{article} \usepackage{polyglossia} \...
5
votes
1answer
95 views

How to switch the bibliography to English in a document with another default language?

In a document whose default language is Sanskrit, how does one switch the bibliography to English, and the font to the one defined to be used for English? \documentclass{article} \usepackage{...
5
votes
1answer
160 views

How can I re-enable hyphenation rules after breaking characters in polyglossia?

When using polyglossia to hyphenate my Turkish documents, I frequently have issues with very long words on short lines. I need it to be more aggressive about hyphenation wherever it can be. One ...