Document 66

List of Figures/List of Tables problem

Version: 2.5 - Scientific WorkPlace & Scientific Word

Q. When I make a List of Figures and List of Tables in an SW 2.5 document created with a Style Editor style, the page headers print but the pages have no content. I know the *.lot and *.lof files are being created. Is there anything I can do?

A. You've run into a known problem with the Style Editor, which we intend to fix. In the meantime, you can get the output you want if you modify the *.sty file for your document style:

  1. Using an ASCII editor, open the .sty file for the style you're using.

    The file is located in the sw25\tex\macros\styledit directory.

  2. Modify the entry for the List of Figures:

    1. Find the string that reads figure@toc.

    2. Move down several lines to the line that reads \MakeTOCEntry{false}.

    3. Change the entry to \MakeTOCEntry{true}.

  3. Modify the entry for the List of Tables:

    1. Find the string that reads table@toc.

    2. Move down several lines to the line that reads \MakeTOCEntry{false}.

    3. Change the entry to \MakeTOCEntry{true}.

  4. Save and close the file.

SW will create the List of Figures and List of Tables correctly.

Added 07/17/96

This document was created with Scientific WorkPlace.