Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Force a Line break in TOC

Return to Member Forum

  • Author
    Posts
    • #85423
      Manosh De
      Participant

      Hello everybody.
      I have a report structure where each chapter is preceeded by a number, eg:-
      1.(tab)Introduction.
      In my TOC i’d like to format it so that the 1. appears on line 1 and the chapter name on the second line followed by the page number. eg:-
      1.
      Introduction …. 3

      Headings 2, 3 would appear in their normal running format.
      Any ideas on how this may be done?
      Thanks!!
      Manosh

    • #85425
      Alan Gilbertson
      Participant

      What you’re asking is how to accomplish this automatically, and that’s not something that the TOC generator will do for you.

      You have two possible ways to go here. The first is to run a find/change on the TOC after it’s generated, replacing the Tab character with a Forced Line Break. The other is to create invisible (i.e., on a hidden or non-printing layer) copies of the chapter number and chapter title on the chapter opening pages, giving them their own styles which you then use in the TOC.

      • #85427
        Manosh De
        Participant

        Thanks for your reply Alan.
        This is a shame, i hope indesign fixes it soon!
        I will set out 2 headers then.

    • #85431
      Alan Gilbertson
      Participant

      Automation can only take you so far. I’m collaborating on a book design right now that won’t be amenable to an automated TOC, simply because there are too many nuances to make it worth the effort to automate. There’s not likely to be an automated substitution of characters in the TOC generator any time soon, but I agree there is definitely room for improvement in the current functionality.

      Look on the bright side. It wasn’t so long ago that all TOCs had to be built by hand. :)

    • #85557
      Betty Taylor
      Member

      In your case: what if you set the tab for the TOC outside the right side of the frame so it pushes the text after the tab to the next line?

      Sometimes I’ve had luck with setting a line of text as “No Break” so it gets too long to be on the first line of the TOC and so pushes itself to the second line. Totally dependent on the text though.

      Otherwise putting a duplicate on a hidden layer or (my preferred method so I can see it) off to the side of the page on the pasteboard with the text frame touching the page is a good workaround.

Viewing 3 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads