* page-numbering in a toc
@ 2016-08-17 9:46 Sharon Kimble
2016-08-17 17:39 ` Sharon Kimble
0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2016-08-17 9:46 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 6762 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: page-numbering in a toc
2016-08-17 9:46 page-numbering in a toc Sharon Kimble
@ 2016-08-17 17:39 ` Sharon Kimble
0 siblings, 0 replies; 2+ messages in thread
From: Sharon Kimble @ 2016-08-17 17:39 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 7190 bytes --]
Sharon Kimble <boudiccas@skimble.plus.com> 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,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}
>
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-17 17:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-17 9:46 page-numbering in a toc Sharon Kimble
2016-08-17 17:39 ` Sharon Kimble
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.