Is there a way how I could make a section/chapter/any-heading which occurs on page x in my document to appear in the table of contents with the page x-1? (I am using scrbook)
I'd like this result not for the entire document but only for a part of it.
General Example:
- Heading 1 of page 3 is listed in the ToC as starting on page 3. (x)
- Heading 2 of page 11 is listed in the ToC as starting on page 11. (x)
- Heading 3 of page 23 is listed in the ToC as starting on page 22. (x-1)
- Heading 4 of page 47 is listed in the ToC as starting on page 46. (x-1)
- Heading 4 of page 69 is listed in the ToC as starting on page 69. (x)
It might sound strange but I have good reasons for doing this:
Particular Context:
In my particular case I think I'll use this in the appendix (A) of the backmatter
. The headings I am talking about there are sections:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
x x x
x \section*{فصل} x A.1 \section{Heading} x
x x x
x x x
x x x
x x x
x x x
x x x
x x x
x 22 x 23 x
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On page 22 I use \section*{Heading}
for creating a section heading that is not listed in the ToC. On page 23 I use \section{Heading}
to create a section heading that is listed in the ToC but which I would like to apeare there as starting on page 22.
The reason why I do this is that the text on page 22 is an Arabic text whose English translation is on page 23 but I want the english title in the ToC.
\chapter
, especially one that starts a new odd page, might be easier than for a\section
.