![Cambiar saltos de símbolo de nota al pie \ref](https://rvso.com/image/370285/Cambiar%20saltos%20de%20s%C3%ADmbolo%20de%20nota%20al%20pie%20%5Cref.png)
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}
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}}