Questions tagged [polyglossia]

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

Filter by
Sorted by
Tagged with
7
votes
1answer
2k views

Custom hyphenation for different languages in XeTeX

When I define custom hyphenation with \hyphenation in XeTeX, it seems to only work for the main body of the text, but not for the bits inside \text<language> (as in \textgerman) environments. I ...
0
votes
1answer
558 views

Renew autoref caption titles when using polyglossia

I am trying to renew autoref caption titles when using the polyglossia package. Newer versions should, according to the manual, support the \addto command similar to Babel. However, I am unable to get ...
16
votes
1answer
200 views

What are the established methods for filing and tracking bugs in packages?

My particular concern is in finding Polyglossia's author, Francois Charette, whose email address I could not find in Google. However, I think the issue is much more general. If you encounter a bug in ...
8
votes
1answer
563 views

polyglossia adds extra kerning to csquotes

When I use csquotes with polyglossia, an extra kerning is added after the first quotation mark. \enquote{Werk} becomes „ Werk“, not „Werk“. This doesn't look nice, especially when you have a word ...
1
vote
1answer
410 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, ...
7
votes
1answer
738 views

Placing \section, \subsection in the right margin of an RTL document

Rather than the default placing of \section and \subsection on their own line, I'd like to place them on the right margin (in a Right To Left document). My current usage looks like this: \...
12
votes
1answer
2k 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]{...
2
votes
1answer
558 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} \usepackage{...
8
votes
1answer
226 views

different constructs of inline English yields different fonts in polyglossia

I'd like to use the English font when interleaving English with Hebrew (the latter is the main language). It appears however that the Hebrew one is used, as shown by this example: \documentclass{...
10
votes
2answers
1k 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 ...
3
votes
2answers
3k views

polyglossia and algorithmicx - Missing \endcsname inserted

Trying to compile a simple document using polyglossia with Hebrew as the default language: \documentclass[a4paper]{article} \TeXXeTstate=1 \usepackage{amsmath, amssymb} \usepackage{polyglossia} \...
11
votes
1answer
762 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 ...
6
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} \...
11
votes
2answers
296 views

Is babel a proper place to reset document layout?

The babel package, when called with some language options, changes global document layout. For exapmle, \usepackage[french]{babel} forces first paragraph after sectioning command to be intented, ...
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 ...
16
votes
1answer
12k 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: \...
11
votes
1answer
862 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 ...
4
votes
0answers
855 views

problem with polyglossia after update of MiKTeX 2.9 packages [closed]

I updated all MiKTeX packages today (2011-10-11) and my files no longer compile. I traced the problem to the polyglossia package. Even an empty file won't compile: \documentclass[a4paper]{article} \...
8
votes
2answers
1k 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 ...
4
votes
3answers
630 views

ledpar vs. polyglossia: Problem with \begin{⟨lang⟩}…\end{⟨lang⟩}

I got a little Problem with the combination of polyglossia and ledpar. First the example \documentclass[11pt,a4paper]{scrartcl} \usepackage{xltxtra} \usepackage{libertine} \usepackage{polyglossia} ...
1
vote
1answer
2k views

Polyglossia and fontspec's script feature.

Hi I have a question regarding the combination of polyglossia and fontspec I have written the folllowing: \documentclass[oneside, 12pt]{book} \usepackage{fontspec} \setmainfont[Script=greek, Mapping=...
6
votes
2answers
684 views

Robust method to apply Hebrew numeral in an enumeration list?

The difficult bit is that the enumitem package has a closed list of numbering formats, and that \hebrewnumeral is not part of them. I have \renewcommand{\theenumi}{\hebrewnumeral{\value{enumi}}} \...