I would like to insert footnotes in a file external to the text which is:
main.tex
|_img
|____tex-file
| |______chapter1.tex
| |______%notes.tex
|
|................
I tried using this method
For instance\footnotemark I can use the same footnote more than
once\footnotemark[\value{footnote}].
\footnotetext{footnote with two references}
that I found interesting because it allows you to manage the notes at the bottom of the page. this is the most comfortable way because it leaves the reference text clean.
my intention to have more control is to move the notes to a new page and then to a new note.tex file.
this file must contain only the strings concerning the foonotes, but it must not be printed
it's possible? could you give me valid suggestions?
----------------------------UPDATE---------------------------------------------
I open a new file so-called notes.tex and with this method, is created a "database" that contains only the footnotes :
\documentclass[8pt]{article}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts} % Mathesymbole
\usepackage{amsthm}
\usepackage{mathtools}
\usepackage[skins,theorems]{tcolorbox}
\input{mydef}
\begin{document}
%<*notes001> %% TAG
\footnote{
Se \textbf{dS} copre tutta la superficie del volume $\Vm$, il corrispondente $\Delta{V}$ costruito sopra il dS, copre l'intero volume $\Delta{V}$ con segno giusto; Allora l'integrale in V può essere sostituito con l'integrale in S}.
%</notes001>
\end{document}
in the preamble I insert the command :
\usepackage{catchfilebetweentags}
\newcommand{\loadnote}[1]{%
\ExecuteMetaData[notepie.tex]{notes#1}%
}
in this way I can use the \loadnote
command in any other file recalling the footnote that interests me and in the right position.
for example : \loadnote{001}
the note is shown at the bottom of the page and with the correct numbering
\loadeq
command such as :\usepackage{catchfilebetweentags}
\newcommand{\loadeq}[1]{% \ExecuteMetaData[equations.tex]{eq#1}% }