Using the tocloft package, I defined a "List of Footnotes" which is displayed as a simple list, while I would like to display the chapters, too, in the following way:
List of Figures
(page)% not to be displayed
1 Chapter Title 1 % to be displayed like a chapter in the ToC of standard classes
1 Text of footnote 2
2 Chapter Title 3
1 Text of footnote 4
2 Text of footnote 5
Here is what I tried. (The strings of code I commented out and described as "1st try" and "2nd try" are what I tried, but they do not work.)
\documentclass[a4paper]{scrreprt}
\usepackage{letltxmacro}
\usepackage[titles]{tocloft}
\newcommand\footnotesname{List of Footnotes}
\newlistof[chapter]{FootnoteQuote}{loq}{\footnotesname}% FootnoteQuote is a new counter for the footnotes
\LetLtxMacro{\oldfootnote}{\footnote}
\renewcommand{\footnote}[1]{%
\oldfootnote{#1}%
\refstepcounter{FootnoteQuote}%
\addcontentsline{loq}{section}{\protect\numberline{\theFootnoteQuote}#1}% formatted as sections
}
\renewcommand\theFootnoteQuote{\arabic{FootnoteQuote}}
\renewcommand{\cftdot}{}% No dotted leader lines
\let\oldlistofFootnoteQuote\listofFootnoteQuote% To add an entry in the ToC
\renewcommand\listofFootnoteQuote{%
\oldlistofFootnoteQuote%
\addcontentsline{toc}{chapter}{\footnotesname}\par%
}
% \LetLtxMacro{\oldchapter}{\chapter}% 1st try
% \renewcommand{\chapter}[1]{%
% \oldchapter{#1}%
% \addcontentsline{loq}{chapter}{\protect\numberline{\thechapter}#1}% taken from report.cls
% }
%
% \usepackage{etoolbox}% 2nd try
% \preto\chapter{\addtocontents{loq}{\protect\numberline{\thechapter}#1}}
\begin{document}
% \addtocontents{toc}{~\hfill\textbf{Page}\par}
\tableofcontents
\chapter{One}
Some words Some words Some words Some words\footnote{A footnote.} Some words Some words
\chapter{Two}
Some words Some words Some words Some words\footnote{A footnote.} Some words Some words
Some words Some words Some words Some words\footnote{A footnote.} Some words Some words
Some words Some words Some words Some words\footnote{A footnote.} Some words Some words
\listofFootnoteQuote
\end{document}
Additional Info: I am working with the scrreprt class, but I would be very glad if it could work also with the standard LaTeX classes.

tocloftthen. – Sep 17 '14 at 16:02