I need to write a very large document, and I would like use etoc to create local tocs. (the minitoc is incompatible in my doc;)
how i can create a local list of table and figures?
why nameref gets wrong reference in this mwe?
when I use a unnumbered part (\part*{Appendix}) the command \localtableofcontents show a empty table and the previous table of contents list the appendix content, how can I correct it?
\documentclass[]{report}
\usepackage{lipsum}
\usepackage{etoc}
\usepackage{titlesec}
\usepackage{nameref}
\titleclass{\part}{top} % make part like a chapter
\titleformat{\part}
[display]
{\centering\normalfont\Huge\bfseries}
{\titlerule[2pt]\vspace{3pt}\titlerule[1pt]\vspace{3pt}\MakeUppercase{\partname} \thepart}
{0pt}
{\titlerule[1pt]\vspace{1pc}\huge\MakeUppercase}
%
\titlespacing*{\part}{0pt}{0pt}{20pt}
\begin{document}
\listoffigures\newpage
\listoftables\newpage
\tableofcontents\newpage
\etocmulticolstyle{\noindent\bfseries\footnotesize
\leaders\hrule height1pt\hfill
\MakeUppercase{Contents}}
\etocsettocdepth{1}
\part{FIRST PART}\label{part:one}
%how to make a localtableofcontents of figures and tables?
\localtableofcontents
\chapter{INTRODUCTION} \lipsum{1}
\chapter{METHODOLOGY} \lipsum{1}
\chapter{CONCLUSION} \lipsum{1}
\part{SECOND PART}
%how to make a localtableofcontents of figures and tables?
\localtableofcontents
\chapter{INTRODUCTION}
Like in \nameref{part:one}.% why nameref gets the wrong reference?
\lipsum{1}
\chapter{METHODOLOGY} \lipsum{1}
\chapter{CONCLUSION} \lipsum{1}
\appendix
\part{APPENDIX}
%how to make a localtableofcontents of appendix
\localtableofcontents
\chapter{document a}
\chapter{document B}
\end{document}
thank u : )
titletoc, which is a sibbling totitlesec? – cmhughes Mar 04 '14 at 03:52