[tex-live] [Solved] Re: Polyglossia breaks XeLaTeX
Haines Brown
haines at histomat.net
Mon Sep 3 16:51:14 CEST 2012
On Mon, Sep 03, 2012 at 10:45:02AM +0200, Ulrike Fischer wrote:
> Am Sun, 2 Sep 2012 13:12:01 -0400 schrieb Haines Brown:
>
> > But the basic problem remains: I can't use polyglosia in conjunction
> > with csquotes, fullpage, or biblatex.
>
> This here works fine for me on a current miktex 2.9. If it fails for
> you you should make the complete log-file available so that one can
> compare the versions
>
> \listfiles
> \documentclass[12pt,titlepage]{article}
> \usepackage{fontspec}
> \usepackage{polyglossia}
> \setmainlanguage{german}
> \setotherlanguage{english}
> \usepackage[autostyle=true]{csquotes}
> \MakeAutoQuote{«}{»}
> \begin{document}
> «body»
> \selectlanguage{english}
>
> «body»
>
> \selectlanguage{german}
> «body»
> \end{document}
>
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/
Ulrike, thank you for the snippet. Because it ran, it encouraged me to
play around some more, and I came to the conclusion that polyglossia
had to be called early on in the preamble. For example, this order
currently works for me:
%!TEX TS-program = xetex
%!TEX encoding = UTF-8 Unicode
\documentclass[12pt,titlepage]{article}
\usepackage{xltxtra,xunicode}
\usepackage{polyglossia}
\setmainlanguage{english}
\usepackage[backend=biber,style=authoryear,sorting=nyt]{biblatex}
\usepackage{comment,csquotes,url,fullpage}
\usepackage{xeCJK}
\newfontfamily\Chinese{AR PL KaitiM GB}
...
Haines Brown
More information about the tex-live
mailing list