Inside my main.tex I inserted a function called \loadnote which refers to an external file notepie.tex in which are considered the footnotes (with reference to this discussion) .
\usepackage{catchfilebetweentags}
\newcommand{\loadnote}[1]{%
\ExecuteMetaData[notepie.tex]{notes#1}%
}
I have repeatedly the following error :
Latexmk: Summary of warnings from last run of (pdf)latex: Latex found
3 multiply defined reference(s)
and in the search discovered a convenient package \usepackage{showlabels} that allows viewing the position of footnotes and references to equations.
I would like to understand if it was possible to implement the changes regarding the footed notes written with the command \loadnote{}.
for example :
1.file notepie.tex:
\documentclass[8pt]{article}
\begin{document}
%<*notes004>
\footnote{La mia footnotes è questa.}
%</notes004>
\end{document}
2.in the main.tex file :
\documentclass{article}
\usepackage{catchfilebetweentags}
\newcommand{\loadnote}[1]{%
\ExecuteMetaData[notepie.tex]{notes#1}%
}
\begin{document}
Se ho necessità di riferirmi ad una nota\loadnote{004},mentre la mia
equazione : $\tau = \mu\,\dot{\theta}{t}$\label{eq080}
\end{document}
the \loadnote is not a \label, I would like to know if it is possible to implement something to make sure that the lateral reference to the note is highlighted
thanks very much :)



\SK@def \loadnotesomething.... A small test document showing \loadnote use would help answer the quesion – David Carlisle Nov 16 '18 at 09:43\SK@def, I have many errors and the file is not compiled – Antonio Nov 16 '18 at 10:16\SK@defto hook into existing commands but the details depend on the command. you need\SK@def\loadnote#1{.....}where a small test file would help test what the .... has to be. (I see you added one thanks, I'll look in a bit) – David Carlisle Nov 16 '18 at 10:26SK@def, in the command\newcommand{\loadnote}[1]{% \ExecuteMetaData[notepie.tex]{notes#1}% }, because if I insert, I get errors. – Antonio Nov 16 '18 at 11:54