Request new field: Table of Contents

TalkRecommend Site Improvements

Join LibraryThing to post.

Request new field: Table of Contents

1gilroy
Edited: Jun 14, 2021, 5:58 pm

I'm sure this has come up a few times before, but I don't remember why it hasn't been added.
Based on the conversation in this thread:
https://www.librarything.com/topic/332954

It is requested that we create a field specifically for the Table of Contents.
This would allow people to move it out of Comments, Book Description, Disambiguation Notice, or Reviews.

Plus it would add more details to nonfiction books where the subject headers of each chapter matter.

Other places it's been recommended
https://www.librarything.com/topic/74745
https://www.librarything.com/topic/108796
https://www.librarything.com/topic/273766
https://www.librarything.com/topic/240813
https://www.librarything.com/topic/32996
https://www.librarything.com/topic/51753
https://www.librarything.com/topic/24015

2SandraArdnas
Jun 14, 2021, 6:21 pm

Yes, please. I use it for compilations of essays, short story collections and such, so these are distinct pieces of writing, not just chapter titles. I currently put them in summary field and it works fine on a personal level, but it's actually very useful information for people who do not have the book yet and are checking out description, reviews and such, so making it a site-wide piece of data makes perfect sense.

3Crypto-Willobie
Jun 14, 2021, 6:22 pm

And as mentioned in the first thread gilroy mentions (https://www.librarything.com/topic/332954)
the new feature would need to include a way to identify potentially differing TOCs in different editions of the same title.

4Crypto-Willobie
Jun 14, 2021, 6:24 pm

>2 SandraArdnas:

Yes, what SandraArdnas said. Not so much chapter titles but more for titles of essays, and stories.

5amanda4242
Jun 14, 2021, 6:28 pm

I'd like a dedicated TOC section, but how would it work for contents not necessarily part of all editions, like forewords or afterwords? Maybe something like the other authors section, where we could mark things as belonging to only some editions?

6SandraArdnas
Jun 14, 2021, 7:17 pm

>5 amanda4242: I would prefer the TOC to contain only what's available in all editions. Different intros, afterwords and such are already indicated under 'other authors', so a note to that effect is enough until the unicorn in the form of editions layer arrives.

7Cynfelyn
Jun 15, 2021, 2:38 am

>3 Crypto-Willobie:, >5 amanda4242: "the new feature would need to include a way to identify potentially differing TOCs in different editions of the same title."

For it to work, I would envision using one field for the CK "Table of Contents" for each edition, using separate lines for separate chapters and a note of which edition this describes. Then "+Add item" for each new extra edition.

Much the same as "Dedication" or "First words" for Beowulf, my "go to" work record for best practice.

8andyl
Jun 15, 2021, 4:45 am

>6 SandraArdnas:
Except some intros have titles and are fairly length essays in themselves - which I can see people wanting to catalogue.

9SandraArdnas
Jun 15, 2021, 6:40 am

>8 andyl: It's not an issue of people wanting to catalogue it. The issue is that there is currently no way to make it edition specific, so to me a basic TOC is preferable to no TOC field or to a huge giant mess with dozens of editions just because I want the CK field to include the intro I have too

10aspirit
Jun 15, 2021, 8:40 am

I envision TOC could be entered like what we see in the "other authors" section, even if it had to be entered manually.

Foreword (some editions)
Introduction
Chapter One: If It Quacks Like A Duck....

11WikipediaLokalK
Jun 15, 2021, 11:24 am

I'd support this request. You might also consider something easier like in OpenLibrary, they have some simple markup in the field for TOCs that end up in a table, see e.g. https://openlibrary.org/works/OL17369940W/Jahrbuch_der_rheinischen_Denkmalpflege...

12humouress
Jun 16, 2021, 12:02 am

Yes please. I would love a Table of Contents field for non-fiction (eg cookery) books, especially.

And if there were some way to link short stories that appear in different anthologies to a series (rather than linking the whole anthology as we have to at present) that would be brilliant.

13amanda4242
Edited: Jun 16, 2021, 12:40 am

>12 humouress: And if there were some way to link short stories that appear in different anthologies to a series (rather than linking the whole anthology as we have to at present) that would be brilliant.

There is a way to do this: add the story to your library and then add it to the series. Adding anthologies full of unrelated stories really screws up related series and CK.

14humouress
Jun 16, 2021, 12:49 am

>13 amanda4242: Exactly. Currently you can't add stories from anthologies without messing up series.

15amanda4242
Jun 16, 2021, 12:51 am

>14 humouress: Yes, you can. You add the story by itself.

16humouress
Jun 16, 2021, 12:53 am

>15 amanda4242: Well, but that would mess up my library :0)

17amanda4242
Jun 16, 2021, 12:55 am

>16 humouress: Well, better than messing up series pages. :)

18humouress
Jun 16, 2021, 2:01 am

And that is the point.

If we could have a Table of Contents field and link individual stories from anthologies into their series that would not then mess up series. But it would enable people who wanted to read those short stories which are listed in the series to know what anthologies to look in to find them.

19spiphany
Edited: Jun 16, 2021, 3:30 am

>18 humouress: A table of contents is just a text field -- it would not automatically create works for the individual items in the contents.

The only way to add short stories to series is if someone has added them as an individual work. For popular and frequently anthologized stories, this is often, though not always, the case.

Individual stories -- once entered -- can also be linked to anthologies using the work relationships feature. Again, many people do this, but mainly for fiction and not systematically enough across LT that the work relationships field can reliably serve as a table of contents. (Work relationships also cannot be structured or ordered within the individual relationships categories, which is another reason this function is unsatisfactory as a TOC.)

Edit: Ursula Le Guin's Hainish Cycle is a good example of how this works -- when people have done the work of adding and linking up stories and anthologies/collections. It would be nice if the process could be streamlined in some way and possibly integrated with a table of contents feature, but realistically I doubt there is a lot that can be done, given the fundamental way that LT is structured (around aggregated individual data representing items in people's libraries).

20andyl
Jun 16, 2021, 4:58 am

>19 spiphany:

Also there are limitations (I wouldn't call them bugs) that make relationships less than ideal.

For example look at Beyond The Heliopause a short story written by Keith Brooke and Eric Brown. Brooke is the primary author and Brown listed as a main author, all editions. In the touchstones here, and on the relationships page of Lightspeed Magazine, Issue 68 only Keith Brooke shows as the author. Maybe that ought to be raised as a separate RSI though.

21humouress
Jun 16, 2021, 8:02 am

>19 spiphany: So I'm looking at the Hainish Cycle and I can see a list of omnibus and a list of short stories (etc). If, say, I had the core books and I wanted to read the short stories, how would I know where to find them? I'm sorry but I don't see the links to the anthologies.

I fully admit I'm no techie, so I'm only assuming that if a new field is created (and it probably then wouldn't fall under 'Table of Contents') it could be set up to link individual works without dragging the whole anthology into a series, but they would be linked back to the anthology themselves. If you see what I mean.

22gilroy
Jun 16, 2021, 8:07 am

>21 humouress: You find them by clicking on the short story name and looking at the relationships linked to each story.

23lilithcat
Jun 16, 2021, 8:22 am

>13 amanda4242:

add the story to your library and then add it to the series.

Please don't do that, unless the story has been published alone.

As stated for work-to-work relationships: Connect only existing works; do not create works in order to connect to them. I see no reason for a different procedure for series.

24r.orrison
Jun 16, 2021, 8:38 am

>23 lilithcat:
Of course, it is perfectly acceptable to create short story works in order track what you have read, or want to read, and then to create the appropriate relationships for them.

Just don't create the works solely for the purpose of creating the relationship.

25humouress
Jun 16, 2021, 9:04 am

>22 gilroy: Ah; I see it now, thanks.

>Series and works relationships
>> Is contained in:

26lorax
Jun 16, 2021, 9:30 am

humoress (#16):

Now that accounts are free for any number of entries, you can always do what I did and create a separate account for your short stories.

We already *have* Work Relationships for exactly this sort of thing. It can tell you what short stories are in an anthology, and which anthologies a short story is in.

27Maddz
Jun 16, 2021, 12:27 pm

Trouble is, work-to-work relationships only work if the anthologised work exists in it's own right; which is not always the case. Some of Tanya Huff's anthologies are thematic - they are collections of short stories and are effectively self-contained chapters of that anthology.

In many cases, these have not been published elsewhere as far as I know - and unless they exist as a stand-alone work elsewhere or are contained within another anthology, they really ought not be created as a stand-alone work.

It's a difficult one; and not something that has an easy solution until we get a proper editions layer.

28amanda4242
Jun 16, 2021, 12:37 pm

>23 lilithcat: & >27 Maddz: There is absolutely no rule against adding a short story that has not been independently published. Heck, there is no rule saying a work even has to have been published at all for it to be catalogued and added to a series--see the last couple of books in A Song of Ice and Fire as an example. I add stories to my library because I want to know I own them; I then connect them to their anthologies with work-to-work relationships and add them to any relevant series.

29Crypto-Willobie
Jun 16, 2021, 3:24 pm

>23 lilithcat:
"As stated for work-to-work relationships: Connect only existing works; do not create works in order to connect to them. I see no reason for a different procedure for series."

All one really has to do is stand on one foot, touch your eye and say three times "The reason I am giving this story its own work page is for tracking my reading and NOT in order to connect to them". Then do what thou wilt.

How would anyone know the reason the story/work was created?

30amanda4242
Jun 16, 2021, 3:40 pm

>29 Crypto-Willobie: Exactly. It is an unenforceable prohibition, but I don't believe there are many people who would go to the trouble of adding a work to their library (usually manually in the case of short stories) just so they can create work-to-work relationships. I add stories because I want them listed in my library, and then I do all the other stuff that I would do when adding any other type of work: look for works to be combined, fill in CK, create work-to-work relationships, add to series, etc.

And to get back to the topic of the thread, I would love a dedicated TOC section. Whether it's a simple section like the description field or more complex, I think it would be beneficial.

31lorax
Jun 16, 2021, 5:24 pm

Maddz (#27):

A short story does not have to have been published independently to "exist in it's (sic) own right". I don't know why so many people have the idea that they do.

32jane.anderson
Aug 20, 2021, 3:19 pm

This user has been removed as spam.

33Crypto-Willobie
Aug 21, 2021, 4:22 pm

Bump, for dedicated TOC field.

34Sensei-CRS
May 19, 2022, 8:55 pm

Bump, for dedicated TOC field.

35librisissimo
Jan 13, 2023, 7:07 pm

Bump, for dedicated TOC field.

36LunaSlashSea
Dec 24, 2024, 6:27 pm

Bump, for dedicated TOC field.

37jasbro
Feb 1, 2025, 4:25 pm

Bump, for dedicated TOC field.

38GraceCollection
Edited: May 19, 2025, 10:00 pm

I'm in support of this. Personally, I wouldn't want it to be in the CK — I want to be able to search my library and get results from chapter titles, for one, but I also don't want there to be an edit war if one edition of a nonfiction book contains a bonus chapter or update or such that a previous edition does not.

In my ideal scenario, it would work a little bit like the MDS field does now, where the field can be individualised by the user, but one can also look at any book and see what people frequently put in that field, in case one is trying to research whether or not they are interesting in reading that book (or if they want to copy-paste the write-up someone else has already done). This is also helpful in anthologies, especially in trying to separate editions of 'Grimm Brother's Fairy Tales' and suchlike where there are many books with similar or identical names which may not have the same stories, or where one may contain a very few selected stories, vividly illustrated, whereas another contains nearly (or more than) a hundred stories, with minimal or no illustrations. For books like cookbooks, a TOC field that works this way allows one user to list only section headers, eg 'Italian dishes', 'French dishes', 'gluten-free', 'desserts', whereas another user can choose to list every recipe.

I do frequently see ToCs in library catalogues and such, so I don't imagine it would be a copyright issue, but I admit I am not an expert in copyright law.

According to LT staff, members are NOT meant to use the review field for ToCs, although there are users who do this anyway, precisely because it is searchable, personalised, and viewable to other users. I am not someone who does this, but I think adding this field would go a long way to stopping users from this undesired behaviour.

39jasbro
Jul 9, 2025, 12:12 pm

>37 jasbro: What I said ...

40jasbro
Nov 30, 2025, 2:14 pm

Bump

41humouress
Nov 30, 2025, 2:31 pm

What is currently the best practice until we get a Table of Contents field?

Say, for chapters in cook books or (gasp of horror) track listings in music CDs?

42bnielsen
Edited: Nov 30, 2025, 3:18 pm

>41 humouress: I put it in Review. (Since for anthologies I have to include a bit about which part of the anthology I'm reviewing anyway. And so it spread to most of my non-fiction too.)
But beware of a recent change in how LT treats spaces inside reviews: they now silently collapse multiple spaces into a single space, so don't count on doing any fancy formatting using spaces. (Ah, I found a workaround. A string of &nbsp; and spaces are also expanded and collapsed, but <em> </em> is not, so I'll just convert a string of spaces to a string of alternating spaces and italic spaces.)

43SandraArdnas
Nov 30, 2025, 2:52 pm

>41 humouress: I use comments field

44jasbro
Nov 30, 2025, 3:51 pm

>41 humouress: “Currently best practice” seems up to each of our best guesses. I was regularly putting ToC listings in Descriptions as I found them, at least until The Great Works Page Overhaul struck, at which point ALL the ToC data I had entered to date was (a) shunted to Member Descriptions on the work Community pages - how often do you look at that, anyway?, and (b) not turning up in any search I can construct. I’ve continued putting them there occasionally, still hoping that one day - someday - maybe - it will be more readily accessible, even searchable, maybe even identifiable enough to transfer to a dedicated ToC field. All of it was meant to assist with contents, cataloging, combining, and work relationships; now it appears none of it’s accessible except by dumb luck. Now, if I could just get that with rainbows & sprinkles, I’d be set …

45bnielsen
Nov 30, 2025, 3:57 pm

>44 jasbro: Ah, that's much worse than my woes with lost spaces and html entities! (BTW my workaround in >42 bnielsen: with italic spaces doesn't work as I intended, but at least they don't disappear.)

46humouress
Nov 30, 2025, 8:25 pm

47jasbro
Mar 23, 11:07 am

Bump