1

this error happens when I compile with Miktex on a windows machine, but works fine and without error on Texlive:

! LaTeX Error: Unicode character ف (U+0641)not set up for use with LaTeX

here is my code:


\documentclass[a4paper,11pt]{article}
\usepackage{ulem}
\usepackage[margin=1cm,includehead,includefoot,marginparwidth=1.5cm,
headheight=25pt,headsep=5pt,bottom=45pt ,showframe,showcrop]{geometry} 

%_______________________________________________________________________________
\usepackage[utf8]{inputenc} 
\usepackage[LAE,LFE]{fontenc} 
\usepackage[arabic,french,english]{babel}
%_______________________________________________________________________________

%\usepackage{enumerate}
\usepackage{amsmath,mathtools,amssymb,amsthm,amsfonts,amsgen,amsxtra,xspace,mathrsfs}
 
\everymath{\displaystyle}
\usepackage{fmultico} \setlength{\columnseprule}{1pt}
\usepackage{shadow}
%_______________________________________________________________________________
\renewcommand{\labelenumi}{\arabic{enumi}.}
\renewcommand{\labelenumii}{\large\alph{enumii})}

%_______________________________________________________________________________
\newcounter{exercice}
\setcounter{exercice}{1}
\renewcommand{\theexercice}{\textbf{\LR{\arabic{exercice}}}}
\newcommand{\exo}{\vspace{5pt}\hrule\vspace{5pt}\noindent
\textbf{\uline{\large \RL{تمريـن}} } \theexercice \addtocounter{exercice}{1}: }
\newcommand{\exov}{\noindent\textbf{Exercice} \theexercice
\addtocounter{exercice}{1} : }

%_______________________________________________________________________________
\newcommand{\RL}{\textRL}
\newcommand{\LR}{\textLR}
%_______________________________________________________________________________
\DeclareMathOperator{\e}{e}
\newcommand{\R}{\mathds{R}}
%_______________________________________________________________________________

\begin{document}

\selectlanguage{arabic}

\begin{center}
\shabox{\textbf{\textsc{\Huge  فرض محروس رقم   \LR{1}}}  (الدورة \LR{2})}
\end{center} 
\vspace*{-.5cm}
\begin{center}
\textbf{\textsc{\large المدة:  ( \LR{2} س})}
\end{center}
\vspace*{-.45cm}

%____________________________Exercice 1 ______________________________________

\exo  \marginpar{\begin{center}
\textbf{\LR{11.5} نقط}
\end{center}}

 نعتبر الدالة $g$ المعرفة  كالتالي : 
$\,g(x)=\e^x-x-1$ . 
\begin{enumerate}[\LR{1})]
\item
 أحسب 
$g'(x)$
ثم ضع جدول تغيرات $g$ .
 \marginpar{\begin{center}
 \LR{1} ن
 \end{center}}
 \end{enumerate}

\end{document}

can anyone help me

6
  • 1
    are both installations up to date?
    – daleif
    Dec 15, 2021 at 11:41
  • 1
    laeenc.dfu is missing in miktex. Dec 15, 2021 at 11:55
  • @daleif yes both istallations are up to date
    – hachemy
    Dec 15, 2021 at 12:04
  • 1
    you could just copy it from texlive and place it with your document. You might find things easier to use luatex or xetex rather than pdftex for non latin scripts. Dec 15, 2021 at 14:44
  • 1
    a real fix would be to make a miktex bug report here github.com/MiKTeX/miktex-packaging which says that arabi is missing this file. Dec 15, 2021 at 20:26

0

You must log in to answer this question.

Browse other questions tagged .