New answers tagged

4

It hyphenates as you have it in luatex, but xetex, like classic tex, doesn't hyphenate the first word of a paragraph, so you need a 0pt width space. Also because of some polyglossia timing? I needed to do the hyphenation exception after begin document. \documentclass[12pt]{memoir} \usepackage{polyglossia} \setdefaultlanguage{danish} % set language for ...


3

In your case better use of \newfontfamily\arabicfont[Script=Arabic, Scale=1.2]{Amiri} \newfontfamily\arabicfonttt{Courier New} Rather then \setmainfont[Script=Arabic, Scale=1.2]{Amiri} \setmonofont{Courier New} And you can remove bidi pachage which is loaded by default in case of RTL languages with polyglossia Code \documentclass[11pt, a4paper]{...


3

Unfortunately, minitoc is not updated for XeLaTeX or LuaLaTeX and hardcodes the keywords using commands such as \CYRS, \cyrhrdsn and so on. You can simply convert the following code into proper Cyrillic Unicode letters \def\ptctitle{% {\cyr\CYRS\cyrhrdsn\cyrd\cyrhrdsn\cyrr\cyrzh\cyra\cyrn\cyri\cyre}}% \def\plftitle{{\cyr\CYRS\cyrp\cyri\cyrs\cyrhrdsn\...


1

Both babel and polyglossia redefine footnote macros at the beginning of the document, and so undo the changes made by footnotebackref. For babel this can be turned off, with the command \StandardFootnotes but not for polyglossia. Since babel works fine with XeTeX and LuaTeX, for most European languages, you should just use babel and not polyglossia. ...



Top 50 recent answers are included