• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Generating page numbers for a TOC from a hidden page

Community Beginner ,
Jul 07, 2017 Jul 07, 2017

Copy link to clipboard

Copied

We're setting up a TOC based upon phrases from a document which are placed on a hidden page layer in CCID. However, we'd like to have those phrases paginated, correlating to the original page from which they are taken.

Haven't been able to find a way to do that with markers or any other tool. Perhaps this can't be done. But I can't imagine that what with the power and scope of ID.

A sample of the TOC text is below. What we'd like to have is the page number generated automatically from the body of the document. Anyone have any ideas?

There can be an inherent bias ................................... (and here we'd like the corresponding page number, i.e. 4)

Everything about Edain suggests .............................. (and thus and so, i.e. 12)

Any solutions greatly appreciated.

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Jul 10, 2017 Jul 10, 2017

why not just copy the first few words you need. make a style, paste it and apply a white text style to it so you don't see it. and link that to the TOC. I have done that for entire books.

save your self time and let styles do the work for you. If there are edits or pages move you will be updating that TOC non stop.

Votes

Translate

Translate
Community Expert ,
Jul 07, 2017 Jul 07, 2017

Copy link to clipboard

Copied

A table of contents generated and updated by InDesign can pull text off hidden layers, but it is based on Paragraph styles. You used the word "phrases"—are they whole or partial paragraphs? If they are hidden anyway, can't you make each phrase its own paragraph and assign a style?

InDesign CCss_014.png

FrameMaker can generate a list like this using custom markers, but InDesign does not have the equivalent feature.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 10, 2017 Jul 10, 2017

Copy link to clipboard

Copied

Thanks for that, Barb.

Unfortunately we cannot create a Paragraph Style for the phrases, because the phrases are only the first few words of the opening sentence of each chapter. Now, if a TOC could be generated from Character Styles, that would be great, because we could assign the Character style to the first few words of each sentence, and the TOC would be able to pick up the page numbers from that. But no.

So, it looks like we're going to have to manually input the page numbers, and check that before we run the final PDF for print. A pain, but thankfully there aren't a lot of chapters.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 10, 2017 Jul 10, 2017

Copy link to clipboard

Copied

Now, if a TOC could be generated from Character Styles, that would be great, because we could assign the Character style to the first few words of each sentence, and the TOC would be able to pick up the page numbers from that

You can put that in a feature request:

Wishform - Adobe InDesign

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jul 10, 2017 Jul 10, 2017

Copy link to clipboard

Copied

why not just copy the first few words you need. make a style, paste it and apply a white text style to it so you don't see it. and link that to the TOC. I have done that for entire books.

save your self time and let styles do the work for you. If there are edits or pages move you will be updating that TOC non stop.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 10, 2017 Jul 10, 2017

Copy link to clipboard

Copied

Thanks for the link, Barb. I've put in a request.

Jonathan, I'm afraid I'm being obtuse, because I don't understand how that style would work. What are you applying the white text style to? Because the way I'm reading your suggestion, it just isn't making any sense. I'm sorry. Could you elaborate a little more?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 10, 2017 Jul 10, 2017

Copy link to clipboard

Copied

Here's what Jonathan means:

Say you have a chapter title: "This is a Chapter None of Us Understands" and you want just "This is a Chapter" to appear in the TOC. Select and copy the phrase "This is a Chapter" then paste it (anywhere on the same page) and apply a paragraph style you made up just for this purpose. The style could render the text invisible by setting its Character Color to White or None. Then set up your TOC to hook that paragraph style and the page it's on.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 10, 2017 Jul 10, 2017

Copy link to clipboard

Copied

LATEST

Oh my. That's brilliant. Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines