Jump to content

Table of contents inserts text in document body


Recommended Posts

I'm new to APub but cannot get started properly because of the bugs.  I have a publication deadline and it looks as if I shall have to find another program.  I'm using Mac OS Ventura 13.5.1 with M1 chip and Affinity Publisher 2.2.0

This problem is that I cannot get it to create a table of contents.  I add 2 pages at the beginning of the document as per instructions, select insert TOC click on the new first page and it bizarrely inserts "Endnotes 25" in the middle of a word on p.1 of the text (see screen print).  This doesn't go away if I undo last action, nor if I close the file without saving changes.  I have to manually remove it.

Help please.

Screenshot 2023-10-05 at 10.05.24.png

Link to comment
Share on other sites

The only thing I can think of is that you haven't actually changed the active/current page, or haven't actually selected the Text Frame for editing.

First, make sure that the current page shows the one where you want the TOC to go. You can see that most easily at the bottom of the screen, on the left side of the Status Bar, where it will show a page navigation control.

Next, don't just click on the Text Frame. Double-click in it so you can see the test cursor in the frame.

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

I don't believe these issues are bugs but just part of the learning curve. "Endnotes 25" is presumably the entire table of contents. Publisher inserted it in the wrong place because that's where the text cursor was positioned before you chose insert.

I couldn't duplicate any issues with Undo - keep in mind that even selecting a frame is a separate undo level so you likely just didn't undo far enough. There are a lot more actions happening in Publisher than in Microsoft Word due to the use of frames so it's important to know what you're undo-ing. Keep the History panel open while you learn the program and you'll see an action named "Insert Table of Contents". As I said, I don't think you undid far enough.

The table of contents has just "Endnotes 25" presumably because the heading "Endnotes" is the only heading in the document in a text style that one of the styles included in the table of contents and it's on page 25.

I couldn't duplicate the issue with the inserted TOC not going away after I close the program without saving changes because Publisher doesn't offer an autosave feature. I tried turning on the "Reopen documents on startup" feature in Settings and I tried disabling the equivalent "Close windows when quitting an application" feature in macOS Settings - there's just no way to get Publisher to automatically save a modified document. People have been asking for that feature for years so I think you must have saved the document at some point.

Please refer to "Creating a table of contents" in the free PDF manual I've uploaded to the forum for detailed instructions on creating and formatting tables of contents. While writing it I inserted and updated tables of contents over a thousand times and AFAIK there is only one bug with the TOC feature and it's with regard to updating multiple TOCs which you're not doing.

Good luck.

Link to comment
Share on other sites

Mike, Walt, you'll be pleased to know I'm making it work, but there do seem to be limitations in APub.  It gives imported styles that are different names with a + - Heading 1+ etc.  However it will not allow such styles to be used for the TOC.

I'm still struggling a bit with formatting, and I haven't been able to make the page numbers in TOC to link to the pages, even with the help of the guide.  I'm probably missing something, but hopefully will work it out. It's not vital - I shall be removing chapter TOCs and putting a book TOC once I'm near publication.

Link to comment
Share on other sites

1 minute ago, Marathon1908 said:

Mike, Walt, you'll be pleased to know I'm making it work, but there do seem to be limitations in APub.  It gives imported styles that are different names with a + - Heading 1+ etc.  However it will not allow such styles to be used for the TOC.

The + sign indicates that the style is overridden.

If Heading 1 is Arial 24 Bold and you apply it to a paragraph but then select one word and make it Italic, the style will be shown as Heading 1 +.

If Heading 1 is added to a TOC as TOC 1: Heading 1, that Italic override will not be part of it because you didn't redefine the style.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.