Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I want to create a table of contents in a Google Docs document where the page numbers are automatically referenced.

Is it possible to put page numbers in a table of contents like this?

share|improve this question
1  
From my experience with Google, not saying this is good or bad, Google thinks in terms of a paperless world. In a paperless world you really do not need page numbers in a DOC, but in most business worlds you need to print your documents and having page numbers on the table of content is required. Google may want to look into this as an option. –  user59600 Feb 4 at 16:34
    
@Dan, I agree with you, but then why would you need pages at all? –  Schiavini Apr 24 at 20:22

2 Answers 2

I just found a possible work-around for the original question. It isn't elegant, but it may work.

In each of your section headings (ie, in the text, which are then used to generate the TOC automatically), add a tab and the page number. You have to type in the page number manually, and I'm pretty sure it doesn't pay to get too fancy with placement, adjusting tab stops, etc.

Now, if you refresh the TOC, you get the page number separated from the heading by a tab. (When I tried to adjust the tab stops in the TOC, I got various errors.)

If you don't want the page numbers to appear next to the headings in the body of the document, highlight them there and change the text color to the background color of the document (usually white). The numbers are still there, and will still show up in the TOC, but you can't see them elsewhere.

Unfortunately, the page numbers won't flow as you edit the document, so do this just before final publication.

Again, not elegant -- not in appearance or in process -- but if you must have physical page numbers in a printed document, it should do the trick.

share|improve this answer
1  
The OP asked for automatically referenced page numbers. –  Vidar S. Ramdal Nov 6 '12 at 13:19
3  
@Vidar, but Google Docs just flat out cannot do that currently, so I think tf2's workaround is better than nothing –  codeulike Nov 25 '12 at 22:32

Google Docs support says:

  1. Go to the Format menu and select Paragraph styles to add headings to sections of your document. There are six different heading sizes to choose from.
  2. Place your cursor where you'd like to insert the table of contents.
  3. Go to the Insert menu, and select Table of contents.
  4. If you need to move the table of contents, select it as you would select text and either move it with your cursor or cut it and paste it.
  5. You can continue to add headings to your document or change current headings. However, if you'd like a change to become part of the table of contents, you need to click first the table and then the Refresh button.

I think the way the table of contents "refreshes" as described in Step 5 is the automatic referencing you're referring to. Let us know if this does what you want.


I misunderstood the question before - we're talking about adding page numbers within the table of contents, not just having the table of contents auto-refresh. My bad. It looks like that particular feature is no longer supported in the new version of Google Docs, though there is a lot of support for the idea of bringing it back. As far as I can tell there's been no word from Google themselves on the subject.

share|improve this answer
2  
No. What you have explained is clear. This is not the question, the question is: How can I put the page number to each reference inside Table of contents automatically? –  Ek Kosmos Nov 14 '11 at 14:40
    
@EkKosmos Aha, I tested it and I see that the table of contents just includes links, not actually the page number. I understand your question now and will keep looking! –  abby hairboat Nov 14 '11 at 14:47
1  
It doesn't answer to the OP's question. –  Alex Nov 14 '11 at 14:51
    
@Alex, yeah, I misunderstood the question –  abby hairboat Nov 14 '11 at 14:52
    
What if (Most likely) you have to show a printout copy. Embedded links are of no use in that case. –  user18744 Apr 4 '12 at 12:40

protected by Community Feb 11 at 0:10

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.