Consider this code:
\documentclass[12pt]{article}
\usepackage{arabxetex}
\usepackage{newunicodechar}
\begin{document}
\begin{arab}
إِبرٰهۦمَِ
\end{arab}
\end{document}
Output:
The arabic string إِبرٰهۦمَِ contains so-called arabic small yeh
(U+06E6) or maybe arabic small high yeh
(U+06E7), I am not quite sure. Imagine I have a long string which contains many of these characters and I want to strip them down from the output, i.e. the small yeh
characters don't show up in the output document. I tried newunicodechar
package but couldn't get it done so far. Does anyone know how to do this properly?
In general: How to do "if encounter certain character show nothing?"