How can I add the chapter to the \listoffixmes (lox-list) from the {fixme}-Package? I found a lot of solutions for adding the chapter/section to the list of figures / tables / ... but non of them worked (for me) with KOMA-classes.
I think it is no big deal to rebuild a working solution to work with fixme.
Not working KOMA-Class 'Solutions':
This solution Todonotes: group list-of-todos by section breaks the \paragraph{}-Command and I get the Error: Latex Error: ./miniExample.tex:425 Missing number, treated as zero.
Part title in list of figures and tables? has two solutions, Solution 1 Works find but also adds Chapters even when there is no element of that list.
The second Solution by Gonzalo Medina doesn't work at all. But I think this is the right way I have to go ...
Not KOMA-Class 'Solutions':
Include chapters in List of Figures with titletoc? doesn't work with KOMA-classes (Latex Error: ./miniExample.tex:376 Missing \endcsname inserted.)
A Minimal Example:
\documentclass{scrreprt} \usepackage[draft]{fixme} \usepackage{etoolbox} % Code to add the chapter to the listoffixmes ... \begin{document} \listoffixmes \chapter{chapter} \section{section1} \fixme{test1} \subsubsection{subsubsection} \paragraph{paragraph} \section{section2} \chapter{chapter2} \section{section3} \fixme{test2} \end{document} 


scrhackat komascript.de