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

How Do I Count Footnotes?

New Here ,
Aug 12, 2024 Aug 12, 2024

Copy link to clipboard

Copied

Hello,

I'm working on a book, and I need to find out how many footnotes I have. I hate to go through and count them all manually. Is there a place I can go to see how many footnotes the document has?

TOPICS
How to

Views

232

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

Community Expert , Aug 12, 2024 Aug 12, 2024

There isn't, but this one-liner tells you how many footnotes your document has:

 

alert ('Footnotes: ' + app.activeDocument.stories.everyItem().footnotes.length);

Votes

Translate

Translate
Community Expert ,
Aug 12, 2024 Aug 12, 2024

Copy link to clipboard

Copied

There isn't, but this one-liner tells you how many footnotes your document has:

 

alert ('Footnotes: ' + app.activeDocument.stories.everyItem().footnotes.length);

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 ,
Aug 12, 2024 Aug 12, 2024

Copy link to clipboard

Copied

A quick script is always a good solution, but one I've used on-the-fly (for a book in which I need to know how many short encyclopedia-like entries there are, for example) is to do a search and replace for the paragraph character on a key style. My example has one "date" paragraph in each entry, so if I F/R for the return using that style, it gives me an exact count.

 

If you've (properly) used a defined Footnote style, the same hacky-trick should give you an accurate count.

 

Or, you know, you could use a script, too. 🙂


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

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 ,
Aug 12, 2024 Aug 12, 2024

Copy link to clipboard

Copied

True, find/replace can often be used to count things. But single-paragraph footnotes don't have the paragraph character, so you'd have to go for another character. Which is pretty scary.

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 ,
Aug 12, 2024 Aug 12, 2024

Copy link to clipboard

Copied

LATEST

Okay, then. It works really well for most item counts. 😛


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

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