diff --git a/onlinelip/handout/handout.tex b/onlinelip/handout/handout.tex index 5e412db995acb96efb5b0ebb69915c39947c62c7..11f0759d78fb72e867f4e078c09c48b7002f8071 100644 --- a/onlinelip/handout/handout.tex +++ b/onlinelip/handout/handout.tex @@ -8,11 +8,20 @@ % luaLaTeX? XeLaTeX? pdfLaTeX? \usepackage{ifluatex} -\ifluatex -\usepackage{polyglossia} -\setmainlanguage{german} +\usepackage{ifxetex} + +% there are two kinds of "good" tex: Lua and Xe +\newif\ifgoodtex +\goodtexfalse +\ifluatex \goodtextrue \fi +\ifxetex \goodtextrue \fi + +% "good" tex uses polyglossia +\ifgoodtex + \usepackage{polyglossia} + \setmainlanguage{german} \else -\usepackage[ngerman]{babel} + \usepackage[ngerman]{babel} \fi % Man wähle eine Font aus: