« Archos vs. nano | Main | Shipped from Hong Kong »

Monday August 24, 2009

Cell Library Manual

This entry is for something at work and is just so I can remember it later . . .

Using Microsoft Word 2007, modify the Heading 1 and Heading 2 styles by right-clicking the Style on the Home tab and choosing Modify. This brings up the Modify Style dialog box. At the lower left, hold down the Format button and choose Paragraph. In the Paragraph dialog box go to the Line and Page Breaks tab and check the box that says "Page break before". Do this for both Heading 1 and Heading 2. Heading 1 will be for each chapter and Heading 2 will be each cell.

Anything with Heading 2 will be followed by a picture of the cell and the description and instructions. But the Heading 1 page will blank except for the heading. Instead of having it blank, put a chapter contents table there. To do this you have to make one bookmark that encompasses all the cells in that chapter. So starting with the heading of the first cell, select everything until the end of the chapter, then go under the Insert tab and choose Bookmark. For Chapter 1, call the Bookmark "Section01". Now click the white space below Heading 1 at the beginning of the chapter and press CTRL+F9 to insert a field. You can't insert a Table of Contents from the menus because it only lets you have one of those, but you can do it with fields. When you do CTRL+F9 it will put you in a field with curly brackets {} around it. You want to type TOC \b "Section01" \h in between the brackets (\h is needed to make the page numbers hyperlinks when it is converted to a pdf). Then click somewhere else. Now right-click the field and select Update Field and it should give you a table of contents for everything you bookmarked.

I also wanted the manual to have the name of the chapter in the footer of each page. Each chapter starts with a different Heading 1, so click in the the footer and the Header & Footer Tools menu should show up. Hold down the Quick Parts button and choose Field. In the Field dialog box choose StyleRef in the "Field names" list. This brings up another list called "Style name". Choose Heading 1 from the style names. Now any time you use another instance of Heading 1 as the chapter name, it will show at the bottom of the page.


Post a comment