Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 4003

A table of contents or TOC is a list of chapter names usually found at the start of a multi-page document.

2 votes
1 answer
1k views

How to refresh all TOCs via a script?

I would like a script to update all tables of content in my document. I tried var t = app.activeDocument.tocStyles; for (var i=0; i<t.length; i++) { app.activeDocument.createTOC(t[i],true); …
1 vote
1 answer
410 views

How to have a table of contents include an entry for itself?

Apparently, just setting the title format of the TOC to a format that is included in the TOC is not enough, so how can I have the TOC refer to itself?