I am using polyglossia to write a mixed language document. The main language is Arabic, although my files are named with english script. My latex document includes a picture:
\includegraphics[height=4.4in]{images/lectureoverview1.pdf}
Notice that the filename itself is not in Arabic script.
When I switch to draft mode using \documentclass[12pt,oneside,draft]{report}
polyglossia now issues an error because the file name itself images/lectureoverview1.pdf is not in Arabic script.
But
What's the best way round this, since I really need Draft mode?
MWE is as follows, with the key change in the first line, whether draft mode or not.
\documentclass[12pt,oneside,draft]{report}
\usepackage{polyglossia}
\setmainlanguage{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic, Scale=1.70]{Scheherazade}
\newfontfamily\englishfont[Script=Latin]{Linux Libertine O}
\begin{document}
\includegraphics[height=4.4in]{images/lectureoverview1.pdf}
\end{document}