I was wondering if I'll have the option to add something like \listoffootnotes
in my document like I can use \listoffigures
or tables...
Anyone knows how?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI was wondering if I'll have the option to add something like \listoffootnotes
in my document like I can use \listoffigures
or tables...
Anyone knows how?
I wouldn't recommend a \listoffootnotes
command for this — instead, you should define a new command like \externallink{...}
which then populates a \listoflinks
command. Then write
\footnote{\externallink{{...}}
Or something along those lines. Anyway, to create new "List of..." lists, you can use the tocloft package. Here's an example:
\documentclass{article} \usepackage{tocloft,url} \newlistof{links}{lks}{List of Links} \newcommand\externallink[1]{% \refstepcounter{links}% \footnote{\url{#1}}% \addcontentsline{lks}{links}{% \protect\numberline{\thelinks}% \protect\url{#1}}% } \begin{document} \listoflinks \section{Start} Google\externallink{gmail.com} and Yahoo\externallink{mail.yahoo.com} and Microsoft\externallink{hotmail.com} all have webmail. \end{document}
mindcorrosive's answer is also very sensible.
From your clarification, this is how I would try to do it:
Use two separate bibliographies, with the help of the multibib
package and give each an appropriate name. Set the first one for the books and articles, and the second one for the URLs (that is, your footnotes). See this question on info how to cite URLs. You would have to add footnotes as \footnote{\cite{}}
.
I don't have enough time for testing this right now, but give this a try, and if it doesn't work, I'll try to edit this with an example later.