Cambiar saltos de símbolo de nota al pie \ref

Cambiar saltos de símbolo de nota al pie \ref

Estoy usando XeLaTex y la clase Memoir. Redefiní los símbolos de las notas al pie de esta manera:

\renewcommand{\thefootnote}{{\ding{\numexpr171+\value{footnote}}}}

Sin embargo, esto rompe el número \ref cuando coloco una etiqueta en una nota al pie. Vea el MWE a continuación. Debería decir "Ver página 1 nota al pie 1" en lugar de "Ver página 1 nota al pie 2". También estoy usando el paquete y la opción perpage, pero el error ocurre con o sin él.

¿Cuál es la forma correcta de hacerlo? Se agradece cualquier ayuda.

\documentclass[11pt]{memoir}
\usepackage{pifont} %Need circled numbers for Chinese style footnote 
\usepackage{perpage} %Renumber footnote on each new page
\usepackage{layouts} %To check page layout

%%% Book Layout %%%
\setstocksize{5in}{4in}
\settrimmedsize{5in}{4in}{*}
\setlength{\trimtop}{0pt}
\setlength{\trimedge}{\stockwidth}
\addtolength{\trimedge}{-\paperwidth}
\settypeblocksize{3in}{3in}{*}
\setulmargins{1in}{*}{*}
\setlrmargins{0.5in}{*}{*}
\setmarginnotes{0pt}{0pt}{0pt}
\checkandfixthelayout

%%% Footnote rule %%%
\MakePerPage{footnote}
\renewcommand{\thefootnote}{{\ding{\numexpr171+\value{footnote}}}}

\begin{document}

This is the first line\footnote{This is the first footnote.\label{ftn:first}}.

This is the second line\footnote{See page \pageref{ftn:first} footnote \ref{ftn:first}.}.

\end{document} 

ingrese la descripción de la imagen aquí

Respuesta1

\makeatletter
\newcommand{\@fnding}[1]{\ding{\number\numexpr#1+171\relax}}
\newcommand{\fnding}[1]{\expandafter\@fnding\csname c@#1\endcsname}
\makeatother
\renewcommand{\thefootnote}{\fnding{footnote}}

información relacionada