Menu ▾ ▴

#13 [FEATURE] Add TOC and notes

open
nobody
enhancement (5)
2 days ago
2 days ago
Anonymous
No

Originally created by: frankreibold
Originally owned by: rmellis

I would like to insert a table of contents - based on headings - and footnotes and endnotes.

Discussion

  • Anonymous

    Anonymous - 2 days ago
     
  • Anonymous

    Anonymous - 2 days ago

    Originally posted by: rmellis

    Hi @frankreibold, thank you for suggesting this feature!

    We have just pushed v5.22.8 on https://openpublisher.app, which introduces a complete References Engine for heading-based Tables of Contents, anchored page Footnotes, and document-wide Endnotes.

    What's new in v5.22.8:

    • Table of Contents Builder (Insert -> References -> Table of Contents): Scans every page across your publication in visual reading order for headings (H1, H2, H3, plus optional auto-detection for bold or large title text) and generates or updates a formatted Table of Contents frame. You can customize the title, choose which heading levels to include, switch between Dots, Dashes, or None for the tab leaders, preview detected headings across all pages, and refresh page numbers anytime with a single click.

    • Anchored Page Footnotes (Insert -> References -> Insert Footnote): Places a superscript numerical reference marker ([1], [2], [3]...) right at your cursor inside any text box and automatically creates or updates an anchored Footnotes frame above the bottom margin of the current page complete with a separator line. Footnotes automatically renumber and stay in sync as notes are added, edited, or deleted.

    • Document-End Endnotes (Insert -> References -> Insert Endnote): Inserts superscript reference markers in your text and collects all endnote citations across the entire publication into a single unified Endnotes frame on the final page (supporting sequential Roman numerals [i], [ii], [iii]... or standard numbers).

    • Quick Heading Levels & Context Menu Controls: To make setting up headings fast, we added one-click H1 (24pt bold), H2 (18pt bold), H3 (14pt bold), and Body buttons alongside quick Footnote, Endnote, and TOC launchers inside the contextual Text Box Tools Ribbon tab (Headings & Notes group) as well as the text box right-click context menu.

    • Full Persistence & Built-in Help: All TOC boxes, footnote/endnote frames, and inline markers persist cleanly across Undo/Redo, page switches, and saved .opub files, and both new dialogs include a [?] button with a split-pane Help guide.

    How to test:
    Please visit https://openpublisher.app and do a quick hard refresh (Ctrl+F5 on Windows/Linux or Cmd+Shift+R on Mac) so your browser loads v5.22.8.

    Whenever you get a chance, please give the new Table of Contents, Footnotes, and Endnotes tools a try and let us know how they work for you! We will leave this issue open for the next 48 hours so you have time to test everything out. If everything looks good (or if we do not hear back within 48 hours), we will go ahead and close this issue as completed, though you are always welcome to leave a comment if you spot any edge cases!

    op-ReferencesEngineAndFoornoteAndEndnotes

     
  • Anonymous

    Anonymous - 2 days ago

    Originally posted by: rmellis

    Hi @frankreibold, quick heads-up before you test v5.22.8!

    Right after pushing the release, we caught a focus-stealing bug inside the Table of Contents Builder (TOC Title field) and the Insert Footnote / Endnote dialogs where clicking into the text input boxes immediately loses focus and blocks typing or selecting text with Ctrl+A.

    Please hold off on testing this update for just a bit while we track down what is stealing focus and push a hotfix. We are looking into it right now and will post another reply here as soon as the fix is live!

     
  • Anonymous

    Anonymous - 2 days ago

    Originally posted by: rmellis

    Hi @frankreibold, thanks for holding off while we sorted that out! We have just pushed v5.22.9 live on https://openpublisher.app, which resolves the modal input focus bug and adds several new styling and layout features to the Table of Contents, Footnotes, and Endnotes tools.

    What's new and fixed in v5.22.9:

    • Fixed Modal Typing & Text Selection: Clicking and typing inside the TOC Title and Note Text / Citation fields now works smoothly without losing focus, with full support for click-and-drag highlighting, Ctrl+A, Ctrl+C, and Ctrl+X across both Chrome/Edge and Firefox. We also disabled accidental outside-click dismissal on the dialog backdrop so misclicking outside the window will never discard what you are typing.

    • Divider Line & Box Outline Styling: Both the Table of Contents Builder and Insert Footnote or Endnote dialogs now include built-in customization for the Header / Separator Line and Box Outline. You can pick custom colors, switch between Solid, Dashed, Dotted, None (Borderless), or a non-printing Editor Guide, and adjust line thickness (1px to 4px). We also added Outline Style and Outline Width controls inside the CSS Color, Gradient & Theme Studio.

    • Color & Style Preservation on Update: Any custom background fills, text colors, borders, or divider colors you apply (either in the Reference dialogs or via Element Colors / CSS Color Studio) are now automatically locked in and preserved whenever you click Update TOC or resync your Footnotes and Endnotes.

    • Smart Non-Overlapping Placement: Inserting multiple reference frames (such as a TOC, Footnotes, and Endnotes on the same page) now automatically finds open space on the canvas and stacks bottom-margin frames cleanly without overlapping, while automatically clearing the default "Click to edit text" placeholder when dropping a reference marker into a new box.

    How to test:
    Please visit https://openpublisher.app and do a quick hard refresh (Ctrl+F5 on Windows/Linux or Cmd+Shift+R on Mac) so your browser loads v5.22.9.

    Everything is ready for you to test now! As usual, we will leave this issue open for the next 48 hours so you can try out the new Table of Contents, Footnotes, Endnotes, and styling options. If everything works the way you like (or if we do not hear back within 48 hours), we will go ahead and close this issue as completed, though please feel free to drop a comment if you have any feedback!

    op-DocumentReferenceAndOutlineStyling

     

Log in to post a comment.