From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: page-numbering in a toc Date: Wed, 17 Aug 2016 18:39:49 +0100 Message-ID: <87oa4r47mi.fsf@skimble.plus.com> References: <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]:50720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba4on-0002Y5-DZ for emacs-orgmode@gnu.org; Wed, 17 Aug 2016 13:39:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba4oj-0003Jq-6i for emacs-orgmode@gnu.org; Wed, 17 Aug 2016 13:39:56 -0400 Received: from avasout04.plus.net ([212.159.14.19]:53689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba4oi-0003Jj-TE for emacs-orgmode@gnu.org; Wed, 17 Aug 2016 13:39:53 -0400 In-Reply-To: <87fuq3budc.fsf@skimble.plus.com> (Sharon Kimble's message of "Wed, 17 Aug 2016 10:46:39 +0100") 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 Sharon Kimble writes: > 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? I've solved this by removing the 'titlesec' and 'sectsty' packages, which are incompatible with each other anyway. But any instance of 'titlesec' provokes the problems that I've outlined, but on total removal of it then everything works perfectly. Sharon. > > 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. > > #+STARTUP: fnadjust > #+LaTeX_class: my-report > #+latex_header: \input{/home/boudiccas/research/aging/dementia/titlepage} > #+LATEX_CLASS_OPTIONS: [a4paper,12pt,oneside,openany,british,svgnames,dvi= psnames] > # #+LATEX_HEADER_EXTRA: \usepackage{lmodern} > # #+latex_header: \usepackage[mark]{gitinfo2} > # #+LaTeX_HEADER: \usepackage{libertine} > #+latex_header: \usepackage[backend=3Dbiber,style=3Dauthoryear,doi=3Dtrue= ,hyperref=3Dtrue,backref=3Dtrue,backrefstyle=3Dtwo,date=3Dyear,maxcitenames= =3D3]{biblatex} > #+LATEX_HEADER: \addbibresource{~/research/age-and-trans/dementia/dementi= a.bib} > #+latex_header: \input{/home/boudiccas/research/codebase} > #+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: \makeindex[name=3Drisk,title=3DIndex of Risk Factors,opti= ons=3D-s ./index.ist,columnseprule,intoc] > # #+latex_header: \makeindex[name=3Dtest,title=3DIndex of Tests and Scans= ,options=3D-s ./index.ist,columnseprule,intoc] > #+latex_header: \makeindex[name=3Ddrug,title=3DIndex of Medicinal Drugs,o= ptions=3D-s ./index.ist,columnseprule,intoc] > #+latex_header: \usepackage{hyperref} > #+latex_header: \hypersetup{linktoc=3Dall,colorlinks,linkcolor=3D{red},ci= tecolor=3D{magenta},urlcolor=3D{blue}} > #+latex_header: \usepackage[acronym,toc,nopostdot,style=3Dlistgroup]{glos= saries} > #+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/c= ancer.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\underli= ne} > #+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},= citecolor=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,colum= nseprule,intoc] > # #+latex_header: \makeindex[name=3Dsymp,title=3DIndex of Symptoms,option= s=3D-s ./index.ist,columnseprule,intoc] > # #+latex_header: \makeindex[name=3Dse,title=3DIndex of Side-effects,opti= ons=3D-s ./index.ist,columnseprule,intoc] > # #+latex_header: \renewcommand{\listtablename}{Tables} > # #+latex_header: \newenvironment{bluefont}{\fontfamily{libertine}\select= font\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{shad= ed} > #+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} > > 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 iQIcBAEBCgAGBQJXtKFlAAoJEDaBgBkK+INbNUcP/Anx9k5/oMq224orhbwZ6VWC sHVn8lunC2ITXmq+wbTzksZ75tF/hZy/MpNTtP+h/L/nOgBzXGTJdlxMv1GXDANO FJuc+m/HykBDK/WkRdIdipN/Oer4mNjNTi+SJYEBKu3Sf6ZB9megQ2zjTlPjMl7g +0uysq5RylzqbAXCsPAUGhNwQZu/lITCjg+BuNlZIl6viUSLRJCDSZmUjJEQyOHw 9ATwpfgoRP83prUpwqhCn/sszrJbHz4+TtEDnaEsgzxrbUOUgxEg730v8AaBmnm2 zm2kLuBylmhN5hzDDq9ZcGUe4Xek6xVD01+fvtl77Isiwl05QGHlgUriMG/6c1EU HN16MLKHK/TO4vMiqIrV9CFHhML89kPbKNShzi4cL+ICDvl/GGaRpqh6V1StHlYg SJv6wjBwXwTCcPB5AX57jWzNJ2Q96gKDsunmofO0icrhgUwGNSRtcFbxalm7LjOm 10HIlJeS4odjzL/y1iVcBqzy2imuU2/IfdG3xH9iZ6MzgCEtFwI/UR0OPzDz5wpw 0KytxnZVqduW+OCjg172joLOUaMVbUzi7PVW65SKSzTyRFpv5a12+frWpDFuBzuh zCHZx7utKGJ7Iw1zcTadt6MI0eWc/xBsgsWjyUlBzjJm4oKGFJNqGOKFGm1uZGcU ShQnGldxIxFz2LC2U1B1 =XZn6 -----END PGP SIGNATURE----- --=-=-=--