Hi, when I select 'use non-Tex fonts' and select German to be my document language I get an error message. This is on Ubuntu 11.04. When I view the full source LyX has inserted a babel-command. This is the whole source code:
% Quellcode vorschauen %% LyX 2.0.0 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[ngerman]{scrartcl} \usepackage{fontspec} \setmainfont[Mapping=tex-text]{Linux Libertine O} \setsansfont[Mapping=tex-text]{Linux Biolinum O} \usepackage{xunicode} \usepackage{polyglossia} \setdefaultlanguage[babelshorthands=true]{german} \begin{document} Test \end{document} And this is the error log: This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) (format=xelatex 2011.10.3) 3 OCT 2011 14:23 entering extended mode %&-line parsing enabled. **Neues_Dokument1.tex (./Neues_Dokument1.tex LaTeX2e <2009/09/24> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded. (/usr/share/texmf-texlive/tex/latex/koma-script/scrartcl.cls Document Class: scrartcl 2009/07/24 v3.04a KOMA-Script document class (article) (/usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty Package: scrkbase 2009/07/24 v3.04a KOMA-Script package (KOMA-Script-dependent basics and keyval usage) (/usr/share/texmf-texlive/tex/latex/koma-script/scrbase.sty Package: scrbase 2009/07/24 v3.04a KOMA-Script package (KOMA-Script-independent basics and keyval usage) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks14 ) (/usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty Package: scrlfile 2009/03/25 v3.03 KOMA-Script package (loading files) Package scrlfile, 2009/03/25 v3.03 KOMA-Script package (loading files) Copyright (C) Markus Kohm ))) (/usr/share/texmf-texlive/tex/latex/koma-script/tocbasic.sty Package: tocbasic 2009/06/08 v3.03b KOMA-Script package (handling toc-files) ) Package tocbasic Info: omitting babel extension for `toc' (tocbasic) because of feature `nobabel' available (tocbasic) for `toc' on input line 115. Package tocbasic Info: omitting babel extension for `lof' (tocbasic) because of feature `nobabel' available (tocbasic) for `lof' on input line 116. Package tocbasic Info: omitting babel extension for `lot' (tocbasic) because of feature `nobabel' available (tocbasic) for `lot' on input line 117. Class scrartcl Info: File `scrsize11pt.clo' used instead of (scrartcl) file `scrsize11.clo' to setup font sizes on input line 117 1. (/usr/share/texmf-texlive/tex/latex/koma-script/scrsize11pt.clo File: scrsize11pt.clo 2009/07/24 v3.04a KOMA-Script font size class option (11p t) ) (/usr/share/texmf-texlive/tex/latex/koma-script/typearea.sty Package: typearea 2009/07/24 v3.04a KOMA-Script package (type area) Package typearea, 2009/07/24 v3.04a KOMA-Script package (type area) Copyright (C) Frank Neukam, 1992-1994 Copyright (C) Markus Kohm, 1994- \ta@bcor=\skip41 \ta@div=\count80 \ta@hblk=\skip42 \ta@vblk=\skip43 \ta@temp=\skip44 Package typearea Info: These are the values describing the layout: (typearea) DIV = 10 (typearea) BCOR = 0.0pt (typearea) \paperwidth = 597.50793pt (typearea) \textwidth = 418.25555pt (typearea) DIV departure = -6% (typearea) \evensidemargin = 17.3562pt (typearea) \oddsidemargin = 17.3562pt (typearea) \paperheight = 845.04694pt (typearea) \textheight = 595.80026pt (typearea) \topmargin = -25.16531pt (typearea) \headheight = 17.0pt (typearea) \headsep = 20.40001pt (typearea) \topskip = 11.0pt (typearea) \footskip = 47.60002pt (typearea) \baselineskip = 13.6pt (typearea) on input line 1115. ) \c@part=\count81 \c@section=\count82 \c@subsection=\count83 \c@subsubsection=\count84 \c@paragraph=\count85 \c@subparagraph=\count86 \abovecaptionskip=\skip45 \belowcaptionskip=\skip46 \c@pti@nb@sid@b@x=\box26 \c@figure=\count87 \c@table=\count88 \bibindent=\dimen102 ) (/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty Package: fontspec 2008/08/09 v1.18 Advanced font selection for XeLaTeX (/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional ) \c@zf@newff=\count89 \c@zf@index=\count90 \c@zf@script=\count91 \c@zf@language=\count92 (/usr/share/texmf-texlive/tex/latex/tools/calc.sty Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ) \calc@Acount=\count93 \calc@Bcount=\count94 \calc@Adimen=\dimen103 \calc@Bdimen=\dimen104 \calc@Askip=\skip47 \calc@Bskip=\skip48 LaTeX Info: Redefining \setlength on input line 76. LaTeX Info: Redefining \addtolength on input line 77. \calc@Ccount=\count95 \calc@Cskip=\skip49 ) (/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.sty Package: xkeyval 2008/08/13 v2.6a package option processing (HA) (/usr/share/texmf-texlive/tex/generic/xkeyval/xkeyval.tex \XKV@toks=\toks15 \XKV@tempa@toks=\toks16 \XKV@depth=\count96 File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA) )) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (/usr/share/texmf-texlive/tex/xelatex/euenc/eu1enc.def File: eu1enc.def 2008/03/08 v0.1d Experimental unicode font encoding ) LaTeX Font Info: Try loading font information for EU1+lmr on input line 100. (/usr/share/texmf-texlive/tex/xelatex/euenc/eu1lmr.fd File: eu1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern )) LaTeX Info: Redefining \itshape on input line 1163. LaTeX Info: Redefining \slshape on input line 1166. LaTeX Info: Redefining \scshape on input line 1169. LaTeX Info: Redefining \upshape on input line 1172. fontspec.cfg loaded. (/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.cfg)) \c@zf@famc@Linux Libertine O=\count97 Package fontspec Info: Defining font family for 'Linux Libertine O' with option s [Mapping=tex-text] on input line 7. \c@zf@famc@Linux Biolinum O=\count98 Package fontspec Info: Defining font family for 'Linux Biolinum O' with options [Mapping=tex-text] on input line 8. (/usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty File: xunicode.sty 2008/02/08 v0.91 provides access to latin accents and many o ther characters in Unicode lower plane ) (/usr/share/texmf-texlive/tex/xelatex/polyglossia/polyglossia.sty Package: polyglossia 2009/01/25 v1.0.2 Babel replacement for XeLaTeX (/usr/share/texmf-texlive/tex/latex/etoolbox/etoolbox.sty Package: etoolbox 2009/08/06 v1.8 e-TeX tools for LaTeX (/usr/share/texmf-texlive/tex/latex/etex-pkg/etex.sty Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB) \et@xins=\count99 )) (/usr/share/texmf-texlive/tex/xelatex/polyglossia/gloss-german.ldf File: gloss-german.ldf polyglossia: module for german Package polyglossia Warning: No hyphenation patterns were loaded for `ngerman' (polyglossia) I will use the patterns loaded for \language=0 (polyglossia) instead on input line 44. \l@ngerman = a dialect from \language0 Package polyglossia Warning: \setlocalhyphenminuseless for unknown language ger man on input line 159. ) Package polyglossia Info: Default language is german.. ) Package polyglossia Warning: gloss-german.ldf is already loaded! on input line 11. No file Neues_Dokument1.aux. \openout1 = `Neues_Dokument1.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12. LaTeX Font Info: ... okay on input line 12. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12. LaTeX Font Info: ... okay on input line 12. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12. LaTeX Font Info: ... okay on input line 12. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12. LaTeX Font Info: ... okay on input line 12. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12. LaTeX Font Info: ... okay on input line 12. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12. LaTeX Font Info: ... okay on input line 12. LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 12. LaTeX Font Info: ... okay on input line 12. Package fontspec Info: Adjusting the maths setup (use [no-math] to avoid this). on input line 12. \symlegacymaths=\mathgroup4 LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold' (Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 12. LaTeX Font Info: Redeclaring math accent \acute on input line 12. LaTeX Font Info: Redeclaring math accent \grave on input line 12. LaTeX Font Info: Redeclaring math accent \ddot on input line 12. LaTeX Font Info: Redeclaring math accent \tilde on input line 12. LaTeX Font Info: Redeclaring math accent \bar on input line 12. LaTeX Font Info: Redeclaring math accent \breve on input line 12. LaTeX Font Info: Redeclaring math accent \check on input line 12. LaTeX Font Info: Redeclaring math accent \hat on input line 12. LaTeX Font Info: Redeclaring math accent \dot on input line 12. LaTeX Font Info: Redeclaring math accent \mathring on input line 12. LaTeX Font Info: Redeclaring math symbol \colon on input line 12. LaTeX Font Info: Redeclaring math symbol \Gamma on input line 12. LaTeX Font Info: Redeclaring math symbol \Delta on input line 12. LaTeX Font Info: Redeclaring math symbol \Theta on input line 12. LaTeX Font Info: Redeclaring math symbol \Lambda on input line 12. LaTeX Font Info: Redeclaring math symbol \Xi on input line 12. LaTeX Font Info: Redeclaring math symbol \Pi on input line 12. LaTeX Font Info: Redeclaring math symbol \Sigma on input line 12. LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 12. LaTeX Font Info: Redeclaring math symbol \Phi on input line 12. LaTeX Font Info: Redeclaring math symbol \Psi on input line 12. LaTeX Font Info: Redeclaring math symbol \Omega on input line 12. LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 12. LaTeX Font Info: Redeclaring symbol font `operators' on input line 12. LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font (Font) `operators' in the math version `normal' on input line 12. LaTeX Font Info: Overwriting symbol font `operators' in version `normal' (Font) OT1/cmr/m/n --> EU1/LinuxLibertineO(0)/m/n on input lin e 12. LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font (Font) `operators' in the math version `bold' on input line 12. LaTeX Font Info: Overwriting symbol font `operators' in version `bold' (Font) OT1/cmr/bx/n --> EU1/LinuxLibertineO(0)/m/n on input li ne 12. LaTeX Font Info: Overwriting symbol font `operators' in version `normal' (Font) EU1/LinuxLibertineO(0)/m/n --> EU1/LinuxLibertineO(0)/m /n on input line 12. LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal' (Font) EU1/LinuxLibertineO(0)/m/n --> EU1/LinuxLibertineO(0)/m /n on input line 12. LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' (Font) OT1/cmr/m/it --> EU1/LinuxLibertineO(0)/m/it on input l ine 12. LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' (Font) OT1/cmr/bx/n --> EU1/LinuxLibertineO(0)/bx/n on input l ine 12. LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal' (Font) OT1/cmss/m/n --> EU1/LinuxBiolinumO(0)/m/n on input lin e 12. LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal' (Font) OT1/cmtt/m/n --> EU1/lmtt/m/n on input line 12. LaTeX Font Info: Overwriting symbol font `operators' in version `bold' (Font) EU1/LinuxLibertineO(0)/m/n --> EU1/LinuxLibertineO(0)/b x/n on input line 12. LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold' (Font) EU1/LinuxLibertineO(0)/m/n --> EU1/LinuxLibertineO(0)/b x/n on input line 12. LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' (Font) OT1/cmr/bx/it --> EU1/LinuxLibertineO(0)/bx/it on input line 12. LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold' (Font) OT1/cmss/bx/n --> EU1/LinuxBiolinumO(0)/bx/n on input l ine 12. LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold' (Font) OT1/cmtt/m/n --> EU1/lmtt/bx/n on input line 12. ! Missing { inserted. <to be read again> „ l.12 \begin{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ) Runaway text? „\XeTeXinterchartoks 7 29 = “\XeTeXinterchartoks 7 30 = «\XeTeXintercharto ks \ETC. ! File ended while scanning text of \XeTeXinterchartoks. <inserted text> } <*> Neues_Dokument1.tex I suspect you have forgotten a `}', causing me to read past where you wanted me to stop. I'll try to recover; but if the error is serious, you'd better type `E' or `X' now and fix your file. ! Emergency stop. <*> Neues_Dokument1.tex *** (job aborted, no legal \end found) Here is how much of TeX's memory you used: 5860 strings out of 495724 96746 string characters out of 1189346 189946 words of memory out of 3000000 8986 multiletter control sequences out of 15000+50000 4264 words of font info for 27 fonts, out of 3000000 for 9000 28 hyphenation exceptions out of 8191 35i,1n,43p,884b,216s stack positions out of 5000i,500n,10000p,200000b,50000s No pages of output.