Strange TOC Behaviour
Posted: 2015-07-31 03:13:27
Hello,
Nisus is doing strange, unwanted things when it inserts a Table of Contents in a document I'm working on, and I just can't figure out what's going wrong.
Nisus does the following: for certain titles in the TOC it jumps to a new line before inserting the dots and the page number, so that the dots and the page number appear on the next line and not on the same line as the title, even when the title is very short. I've included an example below.
I have a document with 5 levels of titles, and Nisus does this for all the titles on levels 1-3. The level 4 & 5 titles in the TOC appear correctly, i.e., with everything on the same line.
The titles in the document have been customised. Here is a rough example of the title layout in the document:
Introduction [Level 1 / Based On No List Style. I.e., Lists - Styles - "Use None"]
Part I: Title of Part I [Level 2 / Based On No List Style]
Chapter I: Title of Chapter I [Level 3 / Based On the "Headings" List Style]
§1 Title of Section 1 [Level 4 / [Level 3 / Based On the "Headings" List Style & Customised]
§1.1 Title of Section 1.1 [Level 5 / [Level 3 / Based On the "Headings" List Style & Customised]
[And so on]
But when Nisus inserts the TOC, I get something like this (of course, the page numbers are flush with the right margin):
Introduction
…… 1
Part I: Title
…… 3
Chapter I: Title
…… 5
§1 Title …… 5
§1.1 Title …… 7
Surely I should get something like this instead:
Introduction …… 1
Part I: Title …… 3
Chapter I: Title …… 5
§1 Title …… 5
§1.1 Title …… 7
I've been fiddling endlessly with this and have just noticed the following: I'm using the Linux Libertine font in the document, but, when preparing a working example to upload to the forum, I changed the font to a more common one (Times) and, lo and behold, the problem goes away and the TOC compiles normally. Is this a bug to do with the font? I want to avoid Times at all costs, so why is Nisus making problems with the other font used? I had a hunch that the customisation of the Title styles might be at the root of the problem, but I was far form imaging that it would be the font. Surely this shouldn't be happening?
Any help anyone might be able to offer would be greatly appreciated.
Stef
Nisus is doing strange, unwanted things when it inserts a Table of Contents in a document I'm working on, and I just can't figure out what's going wrong.
Nisus does the following: for certain titles in the TOC it jumps to a new line before inserting the dots and the page number, so that the dots and the page number appear on the next line and not on the same line as the title, even when the title is very short. I've included an example below.
I have a document with 5 levels of titles, and Nisus does this for all the titles on levels 1-3. The level 4 & 5 titles in the TOC appear correctly, i.e., with everything on the same line.
The titles in the document have been customised. Here is a rough example of the title layout in the document:
Introduction [Level 1 / Based On No List Style. I.e., Lists - Styles - "Use None"]
Part I: Title of Part I [Level 2 / Based On No List Style]
Chapter I: Title of Chapter I [Level 3 / Based On the "Headings" List Style]
§1 Title of Section 1 [Level 4 / [Level 3 / Based On the "Headings" List Style & Customised]
§1.1 Title of Section 1.1 [Level 5 / [Level 3 / Based On the "Headings" List Style & Customised]
[And so on]
But when Nisus inserts the TOC, I get something like this (of course, the page numbers are flush with the right margin):
Introduction
…… 1
Part I: Title
…… 3
Chapter I: Title
…… 5
§1 Title …… 5
§1.1 Title …… 7
Surely I should get something like this instead:
Introduction …… 1
Part I: Title …… 3
Chapter I: Title …… 5
§1 Title …… 5
§1.1 Title …… 7
I've been fiddling endlessly with this and have just noticed the following: I'm using the Linux Libertine font in the document, but, when preparing a working example to upload to the forum, I changed the font to a more common one (Times) and, lo and behold, the problem goes away and the TOC compiles normally. Is this a bug to do with the font? I want to avoid Times at all costs, so why is Nisus making problems with the other font used? I had a hunch that the customisation of the Title styles might be at the root of the problem, but I was far form imaging that it would be the font. Surely this shouldn't be happening?
Any help anyone might be able to offer would be greatly appreciated.
Stef