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:
Jeff Lance 2016-08-12 12:41:05 +02:00
parent d8c3c6a855
commit 20833b557e

View File

@ -17,13 +17,26 @@
%-- extensions %-- extensions
% programmation
\RequirePackage{xifthen}
\RequirePackage{ifmtarg}
\RequirePackage{ifpdf}
\RequirePackage{xstring}
\RequirePackage{multido}
\RequirePackage{xparse}
\RequirePackage{etoolbox}
\RequirePackage{ifluatex}
% langue % langue
% \RequirePackage[francais]{babel} % LuaLaTeX =>polyglossia \ifluatex
\RequirePackage{polyglossia} % LuaLaTeX \RequirePackage{polyglossia} % LuaLaTeX
\setdefaultlanguage{french} % LuaLaTeX \setdefaultlanguage{french} % LuaLaTeX
% \RequirePackage[utf8]{inputenc} % LuaLaTeX => fontspec
% \RequirePackage[T1]{fontenc} % LuaLaTeX => fontspec
\RequirePackage{fontspec} % LuaLaTeX \RequirePackage{fontspec} % LuaLaTeX
\else
\RequirePackage[francais]{babel} % LuaLaTeX =>polyglossia
\RequirePackage[utf8]{inputenc} % LuaLaTeX => fontspec
\RequirePackage[T1]{fontenc} % LuaLaTeX => fontspec
\fi
% polices % polices
\RequirePackage{libertine} \RequirePackage{libertine}
@ -32,6 +45,7 @@
\RequirePackage{eurosym} \RequirePackage{eurosym}
\RequirePackage{bbding} \RequirePackage{bbding}
% couleur, dessin
\RequirePackage{xcolor} \RequirePackage{xcolor}
\RequirePackage[framemethod=tikz]{mdframed} \RequirePackage[framemethod=tikz]{mdframed}
\RequirePackage{graphicx} \RequirePackage{graphicx}
@ -46,15 +60,6 @@
\RequirePackage{asymptote} \RequirePackage{asymptote}
\RequirePackage{mathrsfs} \RequirePackage{mathrsfs}
% programmation
\RequirePackage{xifthen}
\RequirePackage{ifmtarg}
\RequirePackage{ifpdf}
\RequirePackage{xstring}
\RequirePackage{multido}
\RequirePackage{xparse}
\RequirePackage{etoolbox}
% tableau % tableau
\RequirePackage{array} \RequirePackage{array}
\RequirePackage{tabularx} \RequirePackage{tabularx}