On 19.06.12, Kirill Smelkov wrote: > On Mon, Jun 18, 2012 at 09:24:44PM +0200, Guenter Milde wrote: > > On 16.06.12, Kirill Smelkov wrote:
I did some experimenting with the minimal example: it seems like an incompatibility between polyglossia and fontspec that only manifests itself in case of languages with non-Latin scripts. In case of default languages using the Latin script, as well as in case of languages not supported by the installed subset of polyglossia the document runs fine. As luatex also fails to compile the example (for different reasons that merit a separate bug report), I recommend re-naming the bug to something like "polyglossia with non-Latin default language and \defaultfontfeatures clash". \documentclass{article} \usepackage{polyglossia} % \usepackage{fontspec} % already loaded by polyglossia \listfiles % show package versions % fails: % \setdefaultlanguage{greek} \setdefaultlanguage{russian} % \setdefaultlanguage{serbian} % \setdefaultlanguage{ukrainian} % works: % \setdefaultlanguage{german} % \setdefaultlanguage{english} % \setdefaultlanguage{french} % NOTE: without defaultfontfeatures it works \defaultfontfeatures{Scale=MatchLowercase} % reset with empty argument restores workability % \defaultfontfeatures{} % Selected font needs Cyrillic and/or Greek glyphs missing in default (LM) % \setmainfont{DejaVu Serif} \setmainfont{Linux Libertine O} % giving the scaling argument in the font setting works: % \setsansfont[Scale=MatchLowercase]{Linux Biolinum O} % \setmonofont[HyphenChar=None]{DejaVu Sans Mono} \begin{document} Polyglossia -- Fonspec clash? \end{document} The LaTeX log is: This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/Debian) restricted \write18 enabled. entering extended mode (/tmp/xetest.tex LaTeX2e <2011/06/27> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, bu lgarian, ukrainian, russian, usenglishmax, ukenglish, french, basque, ngerman, ngerman-x-2011-07-01, german, swissgerman, german-x-2011-07-01, monogreek, gree k, ibycus, ancientgreek, polish, swedish, loaded. (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class ... (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))) (/usr/share/texlive/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf (/usr/share/texlive/texmf-dist/tex/xelatex/polyglossia/babelsh.def)) (./xetest.aux) (/usr/share/texmf/tex/latex/tipa/t3cmr.fd) ! TeX capacity exceeded, sorry [input stack size=5000]. \tl_if_empty_return:o ...o_str:n \exp_after:wN {#1 }\q_nil \prg_return_true: ... l.43 \end{document} No pages of output. Transcript written on xetest.log. And the used package versions (as show with \listfiles after a successfull run) are: *File List* article.cls 2007/10/19 v1.4h Standard LaTeX document class size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) polyglossia.sty 2012/04/29 v1.2.1 Babel replacement for XeLaTeX etoolbox.sty 2011/01/03 v2.1 e-TeX tools for LaTeX etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB) makecmds.sty 2009/09/03 v1.0a extra command making commands xkeyval.sty 2008/08/13 v2.6a package option processing (HA) xkeyval.tex 2008/08/13 v2.6a key=value parser (HA) fontspec.sty 2012/05/06 v2.2b Advanced font selection for XeLaTeX/LuaLaTeX expl3.sty 2012/04/23 v3570 L3 Experimental code bundle wrapper l3names.sty 2012/03/04 v3494 L3 Experimental namespace for primitives l3bootstrap.sty 2011/12/29 v3110 L3 Experimental bootstrap code color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC) color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive xetex.def 2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX (RRM/JK) graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) trig.sty 1999/03/16 v1.09 sin cos tan (DPC) graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive l3basics.sty 2012/03/04 v3491 L3 Experimental basic definitions l3expan.sty 2012/02/26 v3460 L3 Experimental argument expansion l3tl.sty 2012/03/04 v3490 L3 Experimental token lists l3seq.sty 2012/03/04 v3490 L3 Experimental sequences and stacks l3int.sty 2012/03/04 v3490 L3 Experimental integers l3quark.sty 2012/02/12 v3384 L3 Experimental quarks l3prg.sty 2012/03/04 v3490 L3 Experimental control structures l3clist.sty 2012/03/04 v3490 L3 Experimental comma separated lists l3token.sty 2012/03/04 v3491 L3 Experimental token manipulation l3prop.sty 2012/03/04 v3490 L3 Experimental property lists l3msg.sty 2012/04/23 v3568 L3 Experimental messages l3file.sty 2012/03/09 v3520 L3 Experimental file and I/O operations l3skip.sty 2012/03/05 v3499 L3 Experimental dimensions and skips l3keys.sty 2012/03/03 v3487 L3 Experimental key-value interfaces l3fp.sty 2012/03/04 v3490 L3 Experimental floating-point operations l3box.sty 2012/03/04 v3490 L3 Experimental boxes l3coffins.sty 2012/03/03 v3482 L3 Experimental coffin code layer l3color.sty 2011/09/07 v2776 L3 Experimental colour support l3luatex.sty 2012/02/09 v3355 L3 Experimental LuaTeX-specific functions xparse.sty 2012/04/23 v3570 L3 Experimental document command parser fontspec-patches.sty 2012/05/06 v2.2b Advanced font selection for XeLaTeX/Lu aLaTeX fixltx2e.sty 2006/09/13 v1.1m fixes to LaTeX fontspec-xetex.sty 2012/05/06 v2.2b Advanced font selection for XeLaTeX/LuaL aTeX fontenc.sty eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many oth er characters in Unicode lower plane eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) fontspec.cfg gloss-russian.ldf polyglossia: module for russian babelsh.def 2009/05/07 Babel common definitions for shorthands Taken verbatim from babel.def (2008/07/06 v3.8l) t3cmr.fd 2001/12/31 TIPA font definitions *********** Thanks, Günter -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org