set test to compile with some packages when
luatex is the compiler and others when luatex is not the compiler
This commit is contained in:
parent
d8c3c6a855
commit
20833b557e
@ -17,13 +17,26 @@
|
||||
|
||||
|
||||
%-- extensions
|
||||
% programmation
|
||||
\RequirePackage{xifthen}
|
||||
\RequirePackage{ifmtarg}
|
||||
\RequirePackage{ifpdf}
|
||||
\RequirePackage{xstring}
|
||||
\RequirePackage{multido}
|
||||
\RequirePackage{xparse}
|
||||
\RequirePackage{etoolbox}
|
||||
\RequirePackage{ifluatex}
|
||||
|
||||
% langue
|
||||
% \RequirePackage[francais]{babel} % LuaLaTeX =>polyglossia
|
||||
\RequirePackage{polyglossia} % LuaLaTeX
|
||||
\setdefaultlanguage{french} % LuaLaTeX
|
||||
% \RequirePackage[utf8]{inputenc} % LuaLaTeX => fontspec
|
||||
% \RequirePackage[T1]{fontenc} % LuaLaTeX => fontspec
|
||||
\RequirePackage{fontspec} % LuaLaTeX
|
||||
\ifluatex
|
||||
\RequirePackage{polyglossia} % LuaLaTeX
|
||||
\setdefaultlanguage{french} % LuaLaTeX
|
||||
\RequirePackage{fontspec} % LuaLaTeX
|
||||
\else
|
||||
\RequirePackage[francais]{babel} % LuaLaTeX =>polyglossia
|
||||
\RequirePackage[utf8]{inputenc} % LuaLaTeX => fontspec
|
||||
\RequirePackage[T1]{fontenc} % LuaLaTeX => fontspec
|
||||
\fi
|
||||
|
||||
% polices
|
||||
\RequirePackage{libertine}
|
||||
@ -32,6 +45,7 @@
|
||||
\RequirePackage{eurosym}
|
||||
\RequirePackage{bbding}
|
||||
|
||||
% couleur, dessin
|
||||
\RequirePackage{xcolor}
|
||||
\RequirePackage[framemethod=tikz]{mdframed}
|
||||
\RequirePackage{graphicx}
|
||||
@ -46,15 +60,6 @@
|
||||
\RequirePackage{asymptote}
|
||||
\RequirePackage{mathrsfs}
|
||||
|
||||
% programmation
|
||||
\RequirePackage{xifthen}
|
||||
\RequirePackage{ifmtarg}
|
||||
\RequirePackage{ifpdf}
|
||||
\RequirePackage{xstring}
|
||||
\RequirePackage{multido}
|
||||
\RequirePackage{xparse}
|
||||
\RequirePackage{etoolbox}
|
||||
|
||||
% tableau
|
||||
\RequirePackage{array}
|
||||
\RequirePackage{tabularx}
|
||||
|
Loading…
Reference in New Issue
Block a user