Code: Select all
\documentclass{article}
\PassOptionsToPackage{no-math}{fontspec}
\usepackage[bidi=basic, layout=tabular]{babel}
\babelprovide[main, import, alph=letters, Alph=letters]{hebrew}
\babelprovide[import]{english}
\babelfont[hebrew]{rm}{Calibri}
\babelfont[hebrew]{sf}{Calibri}
\usepackage{amsmath}
\begin{document}
\begin{equation}\label{Pythagoras}
a^2 + b^2 = c^2 \tag{\textasteriskcentered}
\end{equation}
משפט פיתגורס \eqref{Pythagoras}.
\end{document}
\eqref
. When I compile the code, the equation shows up correctly with the (*) tag, but when I look at the reference to the equation, it still says (1) instead of using my custom tag. How can I fix it to use the custom tag for the equation and the reference?