From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: page-numbering in a toc Date: Wed, 17 Aug 2016 10:46:39 +0100 Message-ID: <87fuq3budc.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZxR1-0007x0-1z for emacs-orgmode@gnu.org; Wed, 17 Aug 2016 05:46:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZxQx-0005Sy-B4 for emacs-orgmode@gnu.org; Wed, 17 Aug 2016 05:46:54 -0400 Received: from avasout04.plus.net ([212.159.14.19]:33613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZxQx-0005SH-14 for emacs-orgmode@gnu.org; Wed, 17 Aug 2016 05:46:51 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode-email --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. =2D-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,dvips= names] # #+LATEX_HEADER_EXTRA: \usepackage{lmodern} # #+latex_header: \usepackage[mark]{gitinfo2} # #+LaTeX_HEADER: \usepackage{libertine} #+latex_header: \usepackage[backend=3Dbiber,style=3Dauthoryear,doi=3Dtrue,h= yperref=3Dtrue,backref=3Dtrue,backrefstyle=3Dtwo,date=3Dyear,maxcitenames= =3D3]{biblatex} #+LATEX_HEADER: \addbibresource{~/research/age-and-trans/dementia/dementia.= bib} #+latex_header: \input{/home/boudiccas/research/codebase} #+latex_header: \makeindex[title=3DIndex,options=3D-s ./index.ist,columnsep= rule,intoc] #+latex_header: \makeindex[name=3Dsymp,title=3DIndex of Symptoms,options=3D= -s ./index.ist,columnseprule,intoc] #+latex_header: \makeindex[name=3Dse,title=3DIndex of Side-effects,options= =3D-s ./index.ist,columnseprule,intoc] #+latex_header: \makeindex[name=3Drisk,title=3DIndex of Risk Factors,option= s=3D-s ./index.ist,columnseprule,intoc] # #+latex_header: \makeindex[name=3Dtest,title=3DIndex of Tests and Scans,o= ptions=3D-s ./index.ist,columnseprule,intoc] #+latex_header: \makeindex[name=3Ddrug,title=3DIndex of Medicinal Drugs,opt= ions=3D-s ./index.ist,columnseprule,intoc] #+latex_header: \usepackage{hyperref} #+latex_header: \hypersetup{linktoc=3Dall,colorlinks,linkcolor=3D{red},cite= color=3D{magenta},urlcolor=3D{blue}} #+latex_header: \usepackage[acronym,toc,nopostdot,style=3Dlistgroup]{glossa= ries} #+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}=20 # #+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/can= cer.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=3Dall,colorlinks,linkcolor=3D{red},ci= tecolor=3D{magenta},urlcolor=3D{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=3Dfootnotesize]{idxlayout} # #+latex_header: \usepackage{idxlayout} #+latex_header: \usepackage{morewrites} #+latex_header: \usepackage{calc,tikz}=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 #+latex_header: \definecolor{ocre}{HTML}{F16723} #+latex_header: \usepackage{imakeidx} # #+latex_header: \usepackage[makeindex]{splitidx} # #+latex_header: \makeindex[title=3DIndex,options=3D-s ./index.ist,columns= eprule,intoc] # #+latex_header: \makeindex[name=3Dsymp,title=3DIndex of Symptoms,options= =3D-s ./index.ist,columnseprule,intoc] # #+latex_header: \makeindex[name=3Dse,title=3DIndex of Side-effects,option= s=3D-s ./index.ist,columnseprule,intoc] # #+latex_header: \renewcommand{\listtablename}{Tables} # #+latex_header: \newenvironment{bluefont}{\fontfamily{libertine}\selectfo= nt\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=3D2,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=3Dtikz]{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} =2D-8<---------------cut here---------------end--------------->8--- Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.1.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXtDJ/AAoJEDaBgBkK+INbVqUP/jNcOGJ1uSkp9dKUvePcS//0 /4+m4L6Sj7KNL1r24gxvMKqVZE29aaHfJVimzKaM7nyuyjvbBX3RgDTk+EHME7TB MLPb+5+8CyKZlM8kUgL4za/Gu9djCyX8HA5YdwUkLlsOviOSTtxHYVSbXUxhCCF3 YEmkSiQ/2+o6VC/s0Y0q0XCOvsCFat3MorOQGynxTpa9NJ+HjMS38EEu7MkRLJXO tvOPY2mlz41UEBiMy8+GN3OndcLvzY+Emr6LLzM9kXqgw1c7VbEzwHhXIxYx1dW6 iB5bXXN5NCCBib924STygV763MLHP/N7sWPLp+2mzKBb+m7GASc9vDA8LTpsE3B/ gJiQ6F8sD2Ah8JEkkibnN8Kz1ILt2+9I6KRmhJfsb3ChM59Sr8EXgiQD7+IH7vZz YTHtz+TUbetQOoc6NZxGFqWxkz0TSUPb3uQfqeQenzHs4A7EgcLqEIb+dbbVYkJU b7sZp8Dn4xPRsDjyJSBT5wqKxfUTOVH6TjUa0wNYibHPK99IxGxNOro0raMVXX5U aCU5ecmx+1a+J1tKlYYPNtkGeMLlfoEjcD615GYTEzJE1hr0w6p068UuNRsLdXT3 DEBYswnko+M6pRsWA0VWal2h1RjhjVIVQXUilIneKN2YBRcXIKCk4AW6qVcz04LX QvDyZ0U+1RU53aIxeRog =Jdyl -----END PGP SIGNATURE----- --=-=-=--