LibreOffice version 25.2.5.2
I’m looking for a way to create hidden text in my document that appears in the TOC. I use these as plot points. It doesn’t make any difference to me whether I use headings, index entries or bookmarks, however I need to have the plot point to be able to be hidden in the document. It must show up in the TOC, it must be hyperlinked in the TOC, finally, ideally, it needs to be assigned a style (indented and coloured) that can be reflected in the TOC (I use this for major plot points, sub plot points, important details of plot and so forth.)
I have been using Word to create my stories. In Word, I use the field {tc “Text Here” \l5 \n} where “Text Here” is what appears in the TOC, yet remains visible within my story until I hide fields. “l5” is the level of heading, in this example, 5, and “\n” starts a new line.
When the Word doc is opened in LibreOffice, these are converted to bookmarks with the following attributes that appear in the Navigator->Bookmarks menu, or more directly in the “Insert->Bookmark” menu.
-
The Name of the bookmark is “_toc#########”
-
The text associated with a hyperlink (and appears in the TOC) is the text from word, in this example “text here” (although after subsequent openings, this changed to the text of paragraph after the bookmark, yet the text from the bookmark remained, but I have no idea where it’s pulling it from.)
-
The bookmark is marked as “hidden.”
-
There are no conditions set.
This works great, however I’ve not found a way to “unhide” the bookmarks so I can format them to show in to TOC with a preferred format and level indent.
Also, when creating bookmarks in LibreOffice, there appears no way to “hide” the bookmark. I’ve seen OfficeLibre references to a context menu were you select the text then “hide” but this does not happen in my document (the doc is saved as an .odt file). The context menu does not show a “hide” option.
I’ve tried formatting headings with a style and the “hidden” attribute turned on, but then the heading doesn’t appear in the TOC.
I’ve ensured that “field shadings”, “field names” and hidden paragraphs is turned off (ie, not hidden). I’ve tried toggling the format marks on/off… no difference. I’ve tried converting the document to epub (both with OfficeLibre and Calibre), but it becomes corrupted.
I’m relatively certain that LibreOffice can do this and I hope someone can help me because I’d like to switch to LibreOffice. I’ve spent months (really, months) trying to figure this out. I’ve been using word processors since AES days (70s), but this truly has me puzzled.
Thanks for any help.
Sincerely,
Seaghan