I'm having great difficulties with my toc, every toc item, except for the chapter only allows me to get to the chapter toc entry. For instance the chapter toc entry might be on page 216, but a section heading entry on page 225 only allows you to get to page 216. I've tried various things but its still defaulting to it. How can I correct it please? Here is my preamble except for the title/author/date which don't seem relevant. I would provide a MWE but its too awkward due to the length of the document. --8<---------------cut here---------------start------------->8--- #+STARTUP: fnadjust #+LaTeX_class: my-report #+latex_header: \input{/home/boudiccas/research/aging/dementia/titlepage} #+LATEX_CLASS_OPTIONS: [a4paper,12pt,oneside,openany,british,svgnames,dvipsnames] # #+LATEX_HEADER_EXTRA: \usepackage{lmodern} # #+latex_header: \usepackage[mark]{gitinfo2} # #+LaTeX_HEADER: \usepackage{libertine} #+latex_header: \usepackage[backend=biber,style=authoryear,doi=true,hyperref=true,backref=true,backrefstyle=two,date=year,maxcitenames=3]{biblatex} #+LATEX_HEADER: \addbibresource{~/research/age-and-trans/dementia/dementia.bib} #+latex_header: \input{/home/boudiccas/research/codebase} #+latex_header: \makeindex[title=Index,options=-s ./index.ist,columnseprule,intoc] #+latex_header: \makeindex[name=symp,title=Index of Symptoms,options=-s ./index.ist,columnseprule,intoc] #+latex_header: \makeindex[name=se,title=Index of Side-effects,options=-s ./index.ist,columnseprule,intoc] #+latex_header: \makeindex[name=risk,title=Index of Risk Factors,options=-s ./index.ist,columnseprule,intoc] # #+latex_header: \makeindex[name=test,title=Index of Tests and Scans,options=-s ./index.ist,columnseprule,intoc] #+latex_header: \makeindex[name=drug,title=Index of Medicinal Drugs,options=-s ./index.ist,columnseprule,intoc] #+latex_header: \usepackage{hyperref} #+latex_header: \hypersetup{linktoc=all,colorlinks,linkcolor={red},citecolor={magenta},urlcolor={blue}} #+latex_header: \usepackage[acronym,toc,nopostdot,style=listgroup]{glossaries} #+latex_header: \input{dementia.glos} #+latex_header: \makeglossaries #+latex_header: \glsenablehyper #+latex_header: \usepackage{todo} #+latex_header: \usepackage{draftwatermark} #+latex_header: \usepackage{everypage} # #+LaTeX_header: \setcounter{secnumdepth}{7} #+LaTeX_header: \setcounter{secnumdepth}{0} #+latex_header: \setcounter{tocdepth}{1} #+latex_header: \footnotesep\baselineskip #+latex_header: \setlength{\parskip}{5pt} #+OPTIONS: H:6 toc:t \n:nil ::t |:t ^:t f:t tex:t # #+latex_header: \renewcommand{\thesection}{} # #+include: /home/boudiccas/research/header.org #+LATEX_HEADER: \usepackage{float,booktabs} # #+LATEX_HEADER: \usepackage{adjustbox} # #+LATEX_HEADER_EXTRA: \usepackage{rotfloat} #+latex_header: \usepackage[mark]{gitinfo2} # #+LaTeX_HEADER: \usepackage{mathpazo,upgreek,pifont,microtype} #+LaTeX_HEADER: \usepackage{libertine} # #+LaTeX_HEADER: \usepackage{lmodern} # #+LATEX_HEADER: \addbibresource{/home/boudiccas/research/aging/cancer/cancer.bib} # #+latex_header: \input{/home/boudiccas/research/codebase} #+latex_header: \usepackage{bookmark} # #+latex_header: \makeglossaries # #+latex_header: \glsenablehyper #+latex_header: \usepackage{color,soul,xcolor} # #+latex_header: \definecolor{lightblue}{rgb}{.90,.95,1} # #+latex_header: \sethlcolor{lightblue} #+latex_header: \newcommand\reduline{\bgroup\markoverwith{\textcolor{red}{\rule[-0.75ex]{2pt}{1.5pt}}}\ULon} #+latex_header: \usepackage{sectsty} # #+latex_header: \subsectionfont{\normalfont\itshape} # #+latex_header: \subsubsectionfont{\normalfont\bfseries\itshape\underline} #+latex_header: \subsubsectionfont{\normalfont\bfseries\itshape} # #+latex_header: \subsectionfont{\normalfont\bfseries\itshape} #+latex_header: \usepackage{caption} # #+latex_header: \setlength\parindent{0pt} % sets indent to zero # #+latex_header: \usepackage{hyperref} # #+latex_header: \hypersetup{linktoc=all,colorlinks,linkcolor={red},citecolor={magenta},urlcolor={blue}} #+latex_header: \setlength\parindent{0pt} % sets indent to zero #+latex_header: \usepackage{chngcntr} #+latex_header: \counterwithout{footnote}{chapter} #+latex_header: \usepackage[Lenny]{fncychap} #+latex_header: \usepackage[toc]{multitoc} # #+latex_header: \usepackage{minitoc} # #+latex_header: \usepackage[font=footnotesize]{idxlayout} # #+latex_header: \usepackage{idxlayout} #+latex_header: \usepackage{morewrites} #+latex_header: \usepackage{calc,tikz} #+latex_header: \definecolor{ocre}{HTML}{F16723} #+latex_header: \usepackage{imakeidx} # #+latex_header: \usepackage[makeindex]{splitidx} # #+latex_header: \makeindex[title=Index,options=-s ./index.ist,columnseprule,intoc] # #+latex_header: \makeindex[name=symp,title=Index of Symptoms,options=-s ./index.ist,columnseprule,intoc] # #+latex_header: \makeindex[name=se,title=Index of Side-effects,options=-s ./index.ist,columnseprule,intoc] # #+latex_header: \renewcommand{\listtablename}{Tables} # #+latex_header: \newenvironment{bluefont}{\fontfamily{libertine}\selectfont\textcolor{blue}}{\par} # #+latex_header: \usepackage[export]{adjustbox} # #+latex_header: \footmarkstyle{#1.\,} #+latex_header: \footnotesep\baselineskip #+latex_header: \setlength{\parskip}{5pt} # #+OPTIONS: H:7 toc:t \n:nil ::t |:t ^:t f:t tex:t #test # #+LaTeX_header: \setcounter{secnumdepth}{0} # #+OPTIONS: toc:1 # #+latex_header: \input{cancer.glos} #+latex_header: \renewcommand*\glspostdescription{\dotfill} #+latex_header: \usepackage{framed} # #+latex_header: \colorlet{shadecolor}{PaleTurquoise} %% use \begin{shaded} #+latex_header: \usepackage[defaultlines=2,all]{nowidow} #+latex_header: \sloppy #+latex_header: \flushbottom #+latex_header: \usepackage{url} #+latex_header: \urlstyle{same} #+latex_header: \usepackage[useregional,showdow]{datetime2} #+latex_header: \usepackage{enumitem} #+latex_header: \setlist{nolistsep} #+latex_header: \setlist[itemize]{noitemsep} #+latex_header: \setlist[enumerate]{noitemsep} #+latex_header: \renewcommand*\glspostdescription{\dotfill} #+latex_header: \usepackage{array} #+latex_header: \usepackage[framemethod=tikz]{mdframed} #+latex_header: \usetikzlibrary{shadows} #+latex_header: \definecolor{cccolor}{rgb}{.67,.7,.67} #+latex_header: \usepackage{tcolorbox} #+latex_header: \newcommand{\breakingspace}[1]{#1\hspace{0pt}} #+latex_header: \usepackage{morewrites} #+latex_header: \usepackage[compact]{titlesec} --8<---------------cut here---------------end--------------->8--- Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.1.1