Document 664

Message: Error while reading paragraph xxx

Version: 3.5x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

Problem

When you try to open a document, you receive the message:

Error while reading paragraph xxx. Document has been truncated.

Explanation

The message occurs when the program has tried to read a document and has encountered a LaTeX construction or expression that it doesn't understand. The program truncates the document at the indicated paragraph as it is being loaded into memory, but the file on your hard drive remains whole. The problem can occur particularly with documents obtained from outside sources.

Solution

  1. Close the document without saving it.

    If you save the file, the program saves the truncated version to your hard disk and you will be unable to recover the truncated information.

  2. Examine the file using an ASCII editor to see whether you can detect a problem at the indicated paragraph.

    Remember that paragraph numbers in the .tex file don't correspond exactly to the paragraphs in an SWP or SW document.

You may be able to open the file with the non-SWP/SW LaTeX filter.

If you can't resolve the problem, contact our Technical Support staff.

Last revised 06/15/05