[Solved-Partial workaround] Index format

Writing a book, Automating Document Production - Discuss your special needs here

[Solved-Partial workaround] Index format

Postby BRG1942 » Thu Jun 12, 2014 3:49 pm

I have one minor problem with the index format which I will live with if I have to, but would prefer to fix if it is possible. Between the index entry and the page numbers, I usually have a line of dots, but in the case where the list of pages is long, there may be only one dot, or none at all. Is there some way of setting a minimum length for this line of dots?
Last edited by Hagar Delest on Sun Apr 19, 2015 10:43 am, edited 1 time in total.
Reason: tagged solved
Running OpenOffice.org v. 3.4.1 under Windows 7 Home Premium
BRG1942
 
Posts: 21
Joined: Wed Jun 20, 2012 2:40 pm
Location: Wheaton, Maryland, United States of America

Re: Index format

Postby acknak » Thu Jun 12, 2014 5:37 pm

I think you're stuck with it.

Writer's index/ToC formatting depends on tab stop layout. Positioning of the tab and leading is all internal and (as far as I know) there are no settings to adjust it.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

[Solved: Partial workaround] Re: Index format

Postby CannedMan » Thu Apr 09, 2015 12:42 pm

I choose to post here, as it is somewhat relevant to my question, instead of making a new topic. I have a single problem with the layout of my index: Page numbers are tabbed, so when I have titles spanning more than the width of the table, the page number ends up on line two. Also, depending on where a title’s word is line-broken, it might spill into the ‘column’ for page numbers. How can this, if at all, be fixed? Is it e.g. possible to make an automated index in a table instead of in tabbed columns as I’ve done?
Screenshot provided for reference; please note the overflow in e.g. Ⅱ.1 and Ⅲ.2.1, and how the page number appears on the line below, both the places mentioned as well as e.g. Ⅱ.2 and Ⅲ.2.

Eksempelbilde – Cinaedus Index.png
Index with text overflow problems
Last edited by CannedMan on Mon Apr 13, 2015 4:14 pm, edited 1 time in total.
Apache OpenOffice 4.1.5 / LibreOffice 6.1.2.1 on Windows 10 (x64)
User avatar
CannedMan
 
Posts: 159
Joined: Wed Aug 04, 2010 12:06 am

Re: Index format

Postby keme » Thu Apr 09, 2015 7:24 pm

Workaround:
Edit the ToC field. For each ToC level, in the Entries tab you insert a few characters (in your case you need non-breaking space, see below) in the TOC structure between the Entry and the Tabulation (E marker and T marker, respectively). This works for index entries too.

Visible characters (dots, dashes, underscore) can be typed directly into the "structure" field in the dialog. For special characters like the non-breaking space, you need to type them into the document, then cut it and paste into the dialog.
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14
User avatar
keme
Volunteer
 
Posts: 3271
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Index format

Postby CannedMan » Mon Apr 13, 2015 1:27 pm

It works for the lines that are just too long to push the page number to the next line, but it does not solve the problem for lines that overflow into the page number column, and then to the next line. But thank you for the tip; it is nice to know.
Apache OpenOffice 4.1.5 / LibreOffice 6.1.2.1 on Windows 10 (x64)
User avatar
CannedMan
 
Posts: 159
Joined: Wed Aug 04, 2010 12:06 am

Re: Index format

Postby acknak » Mon Apr 13, 2015 3:28 pm

I think this is due to the index layout depending on tabs alone. There are problems like this that pure text and tabs cannot handle.

The only way to fully over come it may be to manually format entries to add some line breaks, or maybe even convert the text into a full table.

The big problem (beside the amount of manual fiddling) is that updating the index will remove all the manual changes. The workaround for that is to ignore the minor problems and leave the manual changes until the very, very end.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Index format

Postby CannedMan » Mon Apr 13, 2015 4:14 pm

Which is the solution I’ve had to choose when dealing with smaller papers. I’ll add [Solved: Partial workaround] at the top to my post, to close this one then, but a moderator will have to do it to the original post. Were it up to me, and I had the skills, the index should’ve been made as a table instead of tabulated text, though I suppose that is a suggestion worthy of a small version increase.
Apache OpenOffice 4.1.5 / LibreOffice 6.1.2.1 on Windows 10 (x64)
User avatar
CannedMan
 
Posts: 159
Joined: Wed Aug 04, 2010 12:06 am


Return to Advanced Uses

Who is online

Users browsing this forum: No registered users and 0 guests