I'm attempting to test out the use of Hebrew text using XeLaTeX in TeXstudio, with Guy Rutenberg's example code:
\documentclass{minimal}
\usepackage{polyglossia}
\setdefaultlanguage{hebrew}
\setotherlanguage{english}
\usepackage{fontspec}
\setmainfont{Frank Ruehl CLM}
\setmonofont{Miriam Mono CLM}
\setsansfont{Simple CLM}
% Use the following if you only want to change the font for Hebrew
%\newfontfamily\hebrewfont[Script=Hebrew]{David CLM}
%\newfontfamily\hebrewfonttt[Script=Hebrew]{Miriam Mono CLM}
%\newfontfamily\hebrewfontsf[Script=Hebrew]{Simple CLM}
\makeatletter
\makeatother
\usepackage{bidi}
\begin{document}
טקסט רגיל
\textbf{טקסט מודגש}
\textit{טקסט נטוי}
\textit{\textbf{טקסט מודגש ונטוי}}
בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ:
\begin{english}
In the beginning God created the heaven and the earth.
\end{english}
\sffamily
טקסט רגיל
\textbf{טקסט מודגש}
\textit{טקסט נטוי}
\textit{\textbf{טקסט מודגש ונטוי}}
בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ:
\begin{english}
In the beginning God created the heaven and the earth.
\end{english}
\ttfamily
טקסט רגיל
\textbf{טקסט מודגש}
\textit{טקסט נטוי}
\textit{\textbf{טקסט מודגש ונטוי}}
בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ:
\begin{english}
In the beginning God created the heaven and the earth.
\end{english}
\end{document}
However, when I compile, I'm prompted for a package installation:
And, when proceeding with this installation, I receive the following error during compilation:
! LaTeX Error: File `xetex.def' not found.Type X to quit or <RETURN> to proceed,or enter new name. (Default extension: def)Enter file name:! Emergency stop.<read > ...d{ver@\Gin@driver}{\input{\Gin@driver}}{}
I've synchronized the MiKTeX Package Manager in both admin and user modes, but this error still persists. Any ideas how to resolve the issue?
EDIT 1 (8/7/2016 10:24PM)
Here's a screencap of the xetex.def installation from MiKTeX Package Manager:


kpsewhich xetex.defgive? Don't use theminimalclass - it is not suitable, even for minimal examples, as it is not designed for this. You don't need to loadfontspecorbidiaspolyglossiawill do it. – cfr Aug 08 '16 at 01:46minimalclass tobookand commended out thefontspecandbidipackages, but I'm still getting the same prompt to install xetex.def, and then the same message showing the installation failure. – nxl4 Aug 08 '16 at 02:29kpsewhichfind it? And did you install for user also? Because when you compile, it can't be found. So something is screwy somewhere. – cfr Aug 08 '16 at 03:22kpsewhich xetex.defproduces the same prompt I screencapped above from when I try to compile. And, yes, I did install for all users. – nxl4 Aug 08 '16 at 08:58