16.12.2016 u 15:49, David Burleigh je napisao/la:
Is there any way to add a field to entries in a Table of Contents? For
each chapter in a master document, I want to include in the Table of
Contents, along with the title of that chapter, a unique identifier for
the sub-document that contains that chapter.

You can make new paragraph style and write some content with it at top or bottom of every sub-document. You can even make such paragraph invisible if you don't want it to show in sub-documents pages. When inserting table of contents, after Insert → Table of contents and Indexes → Table of content, Index, Bibliography -- check 'Additional styles' and choose style in which you used for unique identifier.

You also might want to play with Outlines and Numberings (Tools → Outline and numberings) so you can set Heading 1 style to be at level two in table of contents and unique identifier at level one (in table of contents' dialog box), if that's what you want.


Also, is it possible to have a Table of Contents sorted alphabetically,
rather than by consecutive page number? I know I can make an
alphabetical index, but I think it would be cumbersome to limit that
index only have the chapter titles as its entries.

I don't know other method but using indexes. What you can do is mark every chapter and sub-chapter (including unique identifier) as index entry so you can have it all but not quite structured as it would be in table of contents.

I can't do better, sorry

Kruno


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to