In the Hungarian language the definite article depends on the word that comes after the article (it can be either a
or az
). To account for this, the Hungarian - magyar - Babel (magyar.ldf) introduces the aref
(and some related commands) in lieu of the usual ref
. E.g. \aref{fig:1}. ábra
compiles to az 1. ábra
, but \aref{fig:2}. ábra
becomes a 2. ábra
. (See the LaTeX Companion as well.)
Is it possible to achieve this with bookdown
? Unfortunately - but unsurprisingly - no \@aref()
seems to exist there.