Where is the error

\documentclass[a4paper, x11names]{article}
    %select languages & fonts ==================================

    \newfontfamily\arabicfontsf[Script=Arabic,Scale=1.5]{Amiri}% Aljazeera


    \begin{tcblisting}{colback=red!5!white,colframe=red!75!black,listing and text}
    This is a  example.

  • 1
    This is the error. The fontspec package requires either XeTeX or LuaTeX to function. You must change your typesetting engine to, e.g., "xelatex" or "lualatex" instead of plain "latex" or "pdflatex". :)
    – CroCo
    Dec 14, 2015 at 20:32
  • 1
  • 1
    As CroCo noted: The error seems to be the wrong engine and has nothing to do with tcolorbox
    – user31729
    Dec 14, 2015 at 20:37
  • 1
    Please modify the title to reflect the real issue to overcome wrong results in search engines.
    – CroCo
    Dec 14, 2015 at 21:00


Browse other questions tagged .