An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to gostips@gmail.com .

August 10, 2008

Add a Table of Contents to Google Docs and More

Basic features like table of contents, footnotes or thesaurus are still missing from Google Docs. Some of the features are already implemented and they're ready to be added to the interface.

(Update: If you have Google Gears, temporarily disable it for Google Docs by removing docs.google.com from the list of allowed sites in Google Gears Settings.)

For example, to generate a table of contents from the headings of a document, just paste this code in the address bar:

javascript:mr("TocSettings");

You should see a dialog that lets you choose the numbering style.


There's also an option to insert a HTML snippet without editing the HTML code. The dialog can be invoked by pasting in the address bar:

javascript:dy();

A word processor is more useful if you can easily access a dictionary, an encyclopedia and other sources of information. Select some text from a document and paste the following lines to show information from:

Encyclopædia Britannica
javascript:MC=NC();GC("encyclopedia");

Merriam-Webster's Online Dictionary
javascript:MC=NC();GC("dictionary");

Merriam-Webster's Online Thesaurus
javascript:MC=NC();GC("thesaurus");


Hopefully, these features will soon be added in the interface.

This blog is not affiliated with Google.