# Tag Info

0

You can use hyperref's \pdfstringdefDisableCommands: \documentclass{article} \usepackage{polyglossia} \setmainlanguage{english} \usepackage[backend=biber]{biblatex} \usepackage{hyperref} \usepackage[toc]{glossaries} \pdfstringdefDisableCommands{% \let\textenglish\@firstofone } \makeglossaries \newglossaryentry{foo}{ name=foo, description={is ...

3

This is a problem similar to Set hyphenation with polyglossia but it requires a different approach, because English is treated differently: only one set of patterns for English is used by Polyglossia and it's set at begin document. \documentclass{article} \usepackage{polyglossia} \setmainlanguage[variant=uk]{english} \newcommand{\sethyphenation}[2]{% ...

4

It appears the main language is set up at begin document, it is still US English in the preamble, it works if you delay the setting: \documentclass{article} \usepackage{polyglossia} \setmainlanguage[variant=uk]{english} \begin{document} \hyphenation{a-bun-dance} A abundance abundance abundance abundance abundance abundance abundance abundance ...

3

Remove hyphenat, to begin with. You could define \hyp to do \discretionary{-}{}{} if you want a discretionary hyphen, but this would be the same as using \-. If you want a “breakable at” hyphen, just use a hyphen. \documentclass[10pt]{book} \usepackage{polyglossia} \setdefaultlanguage{english} \setotherlanguages{hebrew} ...

1

This kind of problems generally comes from the fact that the LaTeX editor is not configured to the suitable input encoding. In this peculiar case (a XeLaTeX file, and XeTeX interpreting the input as UTF-8 by default), it means that the editor must be configured to UTF8-Unicode input encoding.

1

i followed the advice of Thérèse since Scheherazade has no bold weight i Substitute Amiri which let me see bold type. first you have to install amiri font from http://www.amirifont.org/ after add this to your preamble \newfontfamily\arabicfont[Script=Arabic,Scale=1.2]{Amiri} instead of ...

5

The bidi package offers the RTLitems environment for this: \documentclass{book} \usepackage{xcolor} \usepackage{setspace} \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{arabic} \usepackage{pifont} \usepackage{enumitem} \newfontfamily\arabicfont[Script=Arabic,Scale=1.1]{Scheherazade} \begin{document} Some latin ...

6

This is a solution. The option hyperfootnotes is the culprit of this behavior. So, when loading beamer, pass the option hyperfootnotes=false to hyperref, in this way: \documentclass[hyperref={hyperfootnotes=false},10pt]{beamer} At this point, however, footnotes won't be printed... To avoid that, we need to add the following lines in the preamble: ...

4

It looks like a bug in polyglossia It makes \sffamily fragile. It works if you change your test file to look like: \usepackage{polyglossia} \typeout{\meaning\sffamily} \protected\edef\sffamily{\expandafter\unexpanded\expandafter{\sffamily}} \typeout{\meaning\sffamily}

Top 50 recent answers are included